blob: 09808962909ef3d1c5d8d31c84a883837989cb34 [file] [log] [blame]
Tatu Salorantaa57fbe12011-12-22 18:13:05 -08001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Jendrik Johannes77bd0882020-05-23 02:18:37 +02002 <!-- This module was also published with a richer model, Gradle metadata, -->
3 <!-- which should be used instead. Do not delete the following line which -->
4 <!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
5 <!-- that they should prefer consuming it instead. -->
6 <!-- do_not_remove: published-with-gradle-metadata -->
Tatu Salorantaa57fbe12011-12-22 18:13:05 -08007 <modelVersion>4.0.0</modelVersion>
8 <parent>
Tatu Saloranta1c66e502014-02-28 20:27:10 -08009 <groupId>com.fasterxml.jackson</groupId>
Tatu Saloranta37564482017-09-09 15:27:33 -070010 <artifactId>jackson-base</artifactId>
Tatu Saloranta5150bf12020-04-28 16:33:59 -070011 <version>2.12.0-SNAPSHOT</version>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080012 </parent>
Tatu Salorantaec300272012-06-28 15:08:51 -070013
Tatu Saloranta666faa82017-08-09 19:52:41 -070014 <groupId>com.fasterxml.jackson.core</groupId>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080015 <artifactId>jackson-core</artifactId>
16 <name>Jackson-core</name>
Tatu Saloranta5150bf12020-04-28 16:33:59 -070017 <version>2.12.0-SNAPSHOT</version>
Lukasz Dywickia1881372013-09-03 19:19:39 +020018 <packaging>bundle</packaging>
Tatu Saloranta19deb6d2017-04-21 12:01:15 -070019 <description>Core Jackson processing abstractions (aka Streaming API), implementation for JSON</description>
Tatu Saloranta4db81032020-01-28 19:42:17 -080020 <licenses>
21 <license>
22 <name>The Apache Software License, Version 2.0</name>
23 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
24 <distribution>repo</distribution>
25 </license>
26 </licenses>
Cowtowncoder75de2372015-10-07 11:13:26 -070027 <inceptionYear>2008</inceptionYear>
Tatu Salorantaec300272012-06-28 15:08:51 -070028
Tatu Salorantabff15ce2015-03-30 18:43:40 -070029 <url>https://github.com/FasterXML/jackson-core</url>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080030 <scm>
31 <connection>scm:git:git@github.com:FasterXML/jackson-core.git</connection>
32 <developerConnection>scm:git:git@github.com:FasterXML/jackson-core.git</developerConnection>
33 <url>http://github.com/FasterXML/jackson-core</url>
Tatu Saloranta3d0150b2020-04-25 16:57:12 -070034 <tag>HEAD</tag>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080035 </scm>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080036
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080037 <properties>
Tatu Saloranta48d51532019-03-04 22:29:40 -080038 <!-- 04-Mar-2019, tatu: Retain Java6/JDK1.6 compatibility for annotations for Jackson 2.x,
39 but use Moditect to get JDK9+ module info support; need newer bundle plugin as well
40 -->
Cowtowncoder6cbca3d2015-10-02 13:50:32 -070041 <javac.src.version>1.6</javac.src.version>
42 <javac.target.version>1.6</javac.target.version>
43
Tatu Saloranta48d51532019-03-04 22:29:40 -080044 <maven.compiler.source>1.6</maven.compiler.source>
45 <maven.compiler.target>1.6</maven.compiler.target>
46
Tatu Salorantaec300272012-06-28 15:08:51 -070047 <osgi.export>com.fasterxml.jackson.core;version=${project.version},
48com.fasterxml.jackson.core.*;version=${project.version}
49 </osgi.export>
Ben Gertzfielde84abf72013-01-04 11:55:51 -080050
51 <!-- Generate PackageVersion.java into this directory. -->
Tatu Salorantabb41bc02013-01-10 19:51:04 -080052 <packageVersion.dir>com/fasterxml/jackson/core/json</packageVersion.dir>
Tatu Saloranta1c66e502014-02-28 20:27:10 -080053 <packageVersion.package>${project.groupId}.json</packageVersion.package>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080054 </properties>
55
Tatu Saloranta80b7c192018-03-26 20:57:59 -070056 <!-- Alas, need to include snapshot reference since otherwise can not find
57 snapshot of parent... -->
58 <repositories>
59 <repository>
60 <id>sonatype-nexus-snapshots</id>
61 <name>Sonatype Nexus Snapshots</name>
62 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
63 <releases><enabled>false</enabled></releases>
64 <snapshots><enabled>true</enabled></snapshots>
65 </repository>
66 </repositories>
Tatu Salorantade8f7a02016-04-29 18:46:15 -070067
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080068 <build>
69 <plugins>
Tatu Saloranta36c408b2019-08-26 22:47:37 -070070
71 <!-- 26-Aug-2019, tatu: JaCoCo for code coverage -->
72 <plugin>
73 <groupId>org.jacoco</groupId>
74 <artifactId>jacoco-maven-plugin</artifactId>
Tatu Saloranta36c408b2019-08-26 22:47:37 -070075 <executions>
76 <execution>
77 <goals>
78 <goal>prepare-agent</goal>
79 </goals>
80 </execution>
81 <execution>
82 <id>report</id>
83 <phase>test</phase>
84 <goals>
85 <goal>report</goal>
86 </goals>
87 </execution>
88 </executions>
89 </plugin>
90
Tatu Saloranta37564482017-09-09 15:27:33 -070091 <!-- Important: enable enforcer plug-in: -->
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080092 <plugin>
Tatu Saloranta37564482017-09-09 15:27:33 -070093 <artifactId>maven-enforcer-plugin</artifactId>
94 <executions> <!-- or? combine.children="merge"> -->
95 <execution>
96 <id>enforce-properties</id>
97 <phase>validate</phase>
98 <goals><goal>enforce</goal></goals>
99 </execution>
100 </executions>
Tatu Saloranta6df367a2013-12-13 20:31:26 -0800101 </plugin>
Tatu Saloranta37564482017-09-09 15:27:33 -0700102
Tatu Saloranta6df367a2013-12-13 20:31:26 -0800103 <plugin>
Tatu Salorantac587db72014-07-09 08:13:45 -0700104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-site-plugin</artifactId>
Tatu Saloranta6df367a2013-12-13 20:31:26 -0800106 </plugin>
107 <plugin>
Tatu Salorantac587db72014-07-09 08:13:45 -0700108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-surefire-plugin</artifactId>
Cowtowncoderc2437302015-03-13 16:12:40 -0700110 <version>${version.plugin.surefire}</version>
Tatu Salorantac587db72014-07-09 08:13:45 -0700111 <configuration>
112 <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
113 <excludes>
Tatu Saloranta6f2d1ff2017-05-31 17:25:24 -0700114 <exclude>**/failing/**/*.java</exclude>
Tatu Salorantac587db72014-07-09 08:13:45 -0700115 </excludes>
Tatu Saloranta6a0031b2018-04-13 10:26:55 -0700116<!-- 13-Apr-2018, tatu: for debugging [core#400]
117 <systemPropertyVariables>
118<com.fasterxml.jackson.core.util.BufferRecyclers.trackReusableBuffers>true</com.fasterxml.jackson.core.util.BufferRecyclers.trackReusableBuffers>
119 </systemPropertyVariables>
120-->
Tatu Salorantac587db72014-07-09 08:13:45 -0700121 </configuration>
Tatu Saloranta8c9f67f2013-12-13 20:15:51 -0800122 </plugin>
Tatu Saloranta37564482017-09-09 15:27:33 -0700123 <!-- settings are fine, but needed to trigger execution! -->
Ben Gertzfieldf440fa02013-01-03 16:38:28 -0800124 <plugin>
125 <groupId>com.google.code.maven-replacer-plugin</groupId>
Ben Gertzfielde84abf72013-01-04 11:55:51 -0800126 <artifactId>replacer</artifactId>
Tatu Saloranta90b3d7e2017-09-07 09:59:11 -0700127 </plugin>
Tatu Saloranta48d51532019-03-04 22:29:40 -0800128
129 <!-- 04-Mar-2019, tatu: Add rudimentary JDK9+ module info. To build with JDK 8
Tatu Salorantaeb477b82019-03-08 21:07:10 -0800130 will have to use `moduleInfoFile` as anything else requires JDK 9+
Tatu Saloranta48d51532019-03-04 22:29:40 -0800131 -->
132 <plugin>
133 <groupId>org.moditect</groupId>
134 <artifactId>moditect-maven-plugin</artifactId>
Tatu Saloranta48d51532019-03-04 22:29:40 -0800135 </plugin>
Jendrik Johannes77bd0882020-05-23 02:18:37 +0200136
137 <plugin>
138 <groupId>de.jjohannes</groupId>
139 <artifactId>gradle-module-metadata-maven-plugin</artifactId>
140 </plugin>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800141 </plugins>
142 </build>
simonetripodi35719a32012-03-27 17:55:13 +0200143
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800144</project>