blob: 53ca4bf76383e4e468b2f2299d6d432b37b2c208 [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">
2 <modelVersion>4.0.0</modelVersion>
3 <parent>
Tatu Saloranta1c66e502014-02-28 20:27:10 -08004 <groupId>com.fasterxml.jackson</groupId>
Tatu Saloranta4f0369b2014-02-28 19:54:20 -08005 <artifactId>jackson-parent</artifactId>
Tatu Saloranta597f4f62016-10-13 09:14:18 -07006 <version>2.9-rc1-SNAPSHOT</version>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -08007 </parent>
Tatu Salorantaec300272012-06-28 15:08:51 -07008
Tatu Salorantaa57fbe12011-12-22 18:13:05 -08009 <groupId>com.fasterxml.jackson.core</groupId>
10 <artifactId>jackson-core</artifactId>
11 <name>Jackson-core</name>
Tatu Saloranta5a015072016-09-16 20:53:57 -070012 <version>2.9.0-SNAPSHOT</version>
Lukasz Dywickia1881372013-09-03 19:19:39 +020013 <packaging>bundle</packaging>
Cowtowncoder75de2372015-10-07 11:13:26 -070014 <description>Core Jackson abstractions, basic JSON streaming API implementation</description>
15 <inceptionYear>2008</inceptionYear>
Tatu Salorantaec300272012-06-28 15:08:51 -070016
Tatu Salorantabff15ce2015-03-30 18:43:40 -070017 <url>https://github.com/FasterXML/jackson-core</url>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080018 <scm>
19 <connection>scm:git:git@github.com:FasterXML/jackson-core.git</connection>
20 <developerConnection>scm:git:git@github.com:FasterXML/jackson-core.git</developerConnection>
21 <url>http://github.com/FasterXML/jackson-core</url>
Tatu Saloranta3307bd22016-08-29 17:38:10 -070022 <tag>HEAD</tag>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080023 </scm>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080024
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080025 <properties>
Tatu Saloranta5a015072016-09-16 20:53:57 -070026 <!-- 16-Sep-2016, tatu: Retain Java6/JDK1.6 compatibility for streaming for Jackson 2.x -->
Cowtowncoder6cbca3d2015-10-02 13:50:32 -070027 <javac.src.version>1.6</javac.src.version>
28 <javac.target.version>1.6</javac.target.version>
29
Tatu Saloranta931e0e62016-05-04 08:56:03 -070030 <!-- 04-May-2016, tatu: Bundle-plugin 3.x seems to require Java 7, so to
31 build for Java 6 need to downgrade here to last working 2.x version
32 (2.5.4 had some issues wrt shading)
33 -->
34 <version.plugin.bundle>2.5.3</version.plugin.bundle>
35
Tatu Salorantaec300272012-06-28 15:08:51 -070036 <osgi.export>com.fasterxml.jackson.core;version=${project.version},
37com.fasterxml.jackson.core.*;version=${project.version}
38 </osgi.export>
Ben Gertzfielde84abf72013-01-04 11:55:51 -080039
40 <!-- Generate PackageVersion.java into this directory. -->
Tatu Salorantabb41bc02013-01-10 19:51:04 -080041 <packageVersion.dir>com/fasterxml/jackson/core/json</packageVersion.dir>
Tatu Saloranta1c66e502014-02-28 20:27:10 -080042 <packageVersion.package>${project.groupId}.json</packageVersion.package>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080043 </properties>
44
Tatu Salorantade8f7a02016-04-29 18:46:15 -070045 <dependencies>
46 <dependency>
47 <groupId>junit</groupId>
48 <artifactId>junit</artifactId>
49 <scope>test</scope>
50 </dependency>
51 </dependencies>
52
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080053 <build>
54 <plugins>
55 <plugin>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -070056 <groupId>org.apache.maven.plugins</groupId>
57 <artifactId>maven-javadoc-plugin</artifactId>
Tatu Saloranta68a66c42012-03-25 12:09:31 -070058 <version>2.8.1</version>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -070059 <configuration>
Tatu Saloranta06b2b862014-02-28 20:00:02 -080060 <source>${javac.src.version}</source>
61 <target>${javac.target.version}</target>
Tatu Salorantac3ef9f32013-02-04 20:35:22 -080062 <encoding>UTF-8</encoding>
63 <maxmemory>512m</maxmemory>
64 <links>
Tatu Saloranta4d97ba92016-01-09 21:51:10 -080065 <link>http://docs.oracle.com/javase/7/docs/api/</link>
Tatu Salorantac3ef9f32013-02-04 20:35:22 -080066 </links>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -070067 </configuration>
68 <executions>
Tatu Saloranta06b2b862014-02-28 20:00:02 -080069 <execution>
70 <id>attach-javadocs</id>
71 <phase>verify</phase>
72 <goals>
73 <goal>jar</goal>
74 </goals>
75 </execution>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -070076 </executions>
Tatu Saloranta6df367a2013-12-13 20:31:26 -080077 </plugin>
78 <plugin>
Tatu Salorantac587db72014-07-09 08:13:45 -070079 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-site-plugin</artifactId>
Tatu Saloranta6df367a2013-12-13 20:31:26 -080081 </plugin>
82 <plugin>
Tatu Salorantac587db72014-07-09 08:13:45 -070083 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-surefire-plugin</artifactId>
Cowtowncoderc2437302015-03-13 16:12:40 -070085 <version>${version.plugin.surefire}</version>
Tatu Salorantac587db72014-07-09 08:13:45 -070086 <configuration>
87 <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
88 <excludes>
Tatufdcb48c2014-08-13 12:33:15 -070089 <exclude>**/failing/*.java</exclude>
Tatu Salorantac587db72014-07-09 08:13:45 -070090 </excludes>
91 </configuration>
Tatu Saloranta8c9f67f2013-12-13 20:15:51 -080092 </plugin>
Ben Gertzfieldf440fa02013-01-03 16:38:28 -080093 <plugin>
Ben Gertzfielde84abf72013-01-04 11:55:51 -080094 <!-- Inherited from oss-base. Generate PackageVersion.java.-->
Ben Gertzfieldf440fa02013-01-03 16:38:28 -080095 <groupId>com.google.code.maven-replacer-plugin</groupId>
Ben Gertzfielde84abf72013-01-04 11:55:51 -080096 <artifactId>replacer</artifactId>
97 <executions>
98 <execution>
99 <id>process-packageVersion</id>
100 <phase>generate-sources</phase>
101 </execution>
102 </executions>
Ben Gertzfieldf440fa02013-01-03 16:38:28 -0800103 </plugin>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800104 </plugins>
105 </build>
simonetripodi35719a32012-03-27 17:55:13 +0200106
107 <reporting>
108 <plugins>
109 <plugin>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-javadoc-plugin</artifactId>
112 <version>2.8.1</version>
113 <configuration>
114 <aggregate>true</aggregate>
115 <source>1.6</source>
116 <encoding>UTF-8</encoding>
117 <maxmemory>1g</maxmemory>
118 <links>
Tatu Saloranta4bace842016-03-21 21:35:39 -0700119 <link>http://docs.oracle.com/javase/7/docs/api/</link>
simonetripodi35719a32012-03-27 17:55:13 +0200120 </links>
121 <excludePackageNames>${javadoc.package.exclude}</excludePackageNames>
122 <bootclasspath>${sun.boot.class.path}</bootclasspath>
123 <doclet>com.google.doclava.Doclava</doclet>
124 <useStandardDocletOptions>false</useStandardDocletOptions>
125 <additionalJOption>-J-Xmx1024m</additionalJOption>
126 <docletArtifact>
127 <groupId>com.google.doclava</groupId>
128 <artifactId>doclava</artifactId>
129 <version>1.0.3</version>
130 </docletArtifact>
131 <additionalparam>
132 -hdf project.name "${project.name} ${project.version}"
133 -d ${project.reporting.outputDirectory}/apidocs
134 </additionalparam>
135 </configuration>
136 <reportSets>
137 <reportSet>
138 <id>default</id>
139 <reports>
140 <report>javadoc</report>
141 </reports>
142 </reportSet>
143 </reportSets>
144 </plugin>
simonetripodi35719a32012-03-27 17:55:13 +0200145 </plugins>
146 </reporting>
147
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800148</project>