blob: c9d10ee3d6e7ddfa1e5595b639e538c9e4fb77f2 [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 Saloranta27037232017-03-01 17:23:55 -08005 <!-- One of few Jackson modules that depend on parent and not jackson-bom -->
Tatu Saloranta4f0369b2014-02-28 19:54:20 -08006 <artifactId>jackson-parent</artifactId>
Tatu Saloranta70c58f02017-07-24 20:52:57 -07007 <version>2.9.0</version>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -08008 </parent>
Tatu Salorantaec300272012-06-28 15:08:51 -07009
Tatu Saloranta04e12592017-01-13 14:03:36 -080010 <groupId>com.fasterxml.jackson.core</groupId>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080011 <artifactId>jackson-core</artifactId>
12 <name>Jackson-core</name>
Tatu Saloranta836024f2017-06-16 18:15:52 -070013 <version>2.9.0-SNAPSHOT</version>
Lukasz Dywickia1881372013-09-03 19:19:39 +020014 <packaging>bundle</packaging>
Tatu Saloranta19deb6d2017-04-21 12:01:15 -070015 <description>Core Jackson processing abstractions (aka Streaming API), implementation for JSON</description>
Cowtowncoder75de2372015-10-07 11:13:26 -070016 <inceptionYear>2008</inceptionYear>
Tatu Salorantaec300272012-06-28 15:08:51 -070017
Tatu Salorantabff15ce2015-03-30 18:43:40 -070018 <url>https://github.com/FasterXML/jackson-core</url>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080019 <scm>
20 <connection>scm:git:git@github.com:FasterXML/jackson-core.git</connection>
21 <developerConnection>scm:git:git@github.com:FasterXML/jackson-core.git</developerConnection>
22 <url>http://github.com/FasterXML/jackson-core</url>
Tatu Saloranta836024f2017-06-16 18:15:52 -070023 <tag>HEAD</tag>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080024 </scm>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080025
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080026 <properties>
Tatu Saloranta5a015072016-09-16 20:53:57 -070027 <!-- 16-Sep-2016, tatu: Retain Java6/JDK1.6 compatibility for streaming for Jackson 2.x -->
Cowtowncoder6cbca3d2015-10-02 13:50:32 -070028 <javac.src.version>1.6</javac.src.version>
29 <javac.target.version>1.6</javac.target.version>
30
Tatu Saloranta931e0e62016-05-04 08:56:03 -070031 <!-- 04-May-2016, tatu: Bundle-plugin 3.x seems to require Java 7, so to
32 build for Java 6 need to downgrade here to last working 2.x version
33 (2.5.4 had some issues wrt shading)
34 -->
35 <version.plugin.bundle>2.5.3</version.plugin.bundle>
36
Tatu Salorantaec300272012-06-28 15:08:51 -070037 <osgi.export>com.fasterxml.jackson.core;version=${project.version},
38com.fasterxml.jackson.core.*;version=${project.version}
39 </osgi.export>
Ben Gertzfielde84abf72013-01-04 11:55:51 -080040
41 <!-- Generate PackageVersion.java into this directory. -->
Tatu Salorantabb41bc02013-01-10 19:51:04 -080042 <packageVersion.dir>com/fasterxml/jackson/core/json</packageVersion.dir>
Tatu Saloranta1c66e502014-02-28 20:27:10 -080043 <packageVersion.package>${project.groupId}.json</packageVersion.package>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080044 </properties>
45
Tatu Salorantade8f7a02016-04-29 18:46:15 -070046 <dependencies>
47 <dependency>
48 <groupId>junit</groupId>
49 <artifactId>junit</artifactId>
50 <scope>test</scope>
51 </dependency>
52 </dependencies>
53
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080054 <build>
55 <plugins>
56 <plugin>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -070057 <groupId>org.apache.maven.plugins</groupId>
58 <artifactId>maven-javadoc-plugin</artifactId>
Tatu Saloranta68a66c42012-03-25 12:09:31 -070059 <version>2.8.1</version>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -070060 <configuration>
Tatu Saloranta06b2b862014-02-28 20:00:02 -080061 <source>${javac.src.version}</source>
62 <target>${javac.target.version}</target>
Tatu Salorantac3ef9f32013-02-04 20:35:22 -080063 <encoding>UTF-8</encoding>
64 <maxmemory>512m</maxmemory>
65 <links>
Tatu Saloranta4d97ba92016-01-09 21:51:10 -080066 <link>http://docs.oracle.com/javase/7/docs/api/</link>
Tatu Salorantac3ef9f32013-02-04 20:35:22 -080067 </links>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -070068 </configuration>
69 <executions>
Tatu Saloranta06b2b862014-02-28 20:00:02 -080070 <execution>
71 <id>attach-javadocs</id>
72 <phase>verify</phase>
73 <goals>
74 <goal>jar</goal>
75 </goals>
76 </execution>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -070077 </executions>
Tatu Saloranta6df367a2013-12-13 20:31:26 -080078 </plugin>
79 <plugin>
Tatu Salorantac587db72014-07-09 08:13:45 -070080 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-site-plugin</artifactId>
Tatu Saloranta6df367a2013-12-13 20:31:26 -080082 </plugin>
83 <plugin>
Tatu Salorantac587db72014-07-09 08:13:45 -070084 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-surefire-plugin</artifactId>
Cowtowncoderc2437302015-03-13 16:12:40 -070086 <version>${version.plugin.surefire}</version>
Tatu Salorantac587db72014-07-09 08:13:45 -070087 <configuration>
88 <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
89 <excludes>
Tatu Saloranta6f2d1ff2017-05-31 17:25:24 -070090 <exclude>**/failing/**/*.java</exclude>
Tatu Salorantac587db72014-07-09 08:13:45 -070091 </excludes>
92 </configuration>
Tatu Saloranta8c9f67f2013-12-13 20:15:51 -080093 </plugin>
Ben Gertzfieldf440fa02013-01-03 16:38:28 -080094 <plugin>
Ben Gertzfielde84abf72013-01-04 11:55:51 -080095 <!-- Inherited from oss-base. Generate PackageVersion.java.-->
Ben Gertzfieldf440fa02013-01-03 16:38:28 -080096 <groupId>com.google.code.maven-replacer-plugin</groupId>
Ben Gertzfielde84abf72013-01-04 11:55:51 -080097 <artifactId>replacer</artifactId>
98 <executions>
99 <execution>
100 <id>process-packageVersion</id>
101 <phase>generate-sources</phase>
102 </execution>
103 </executions>
Ben Gertzfieldf440fa02013-01-03 16:38:28 -0800104 </plugin>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800105 </plugins>
106 </build>
simonetripodi35719a32012-03-27 17:55:13 +0200107
108 <reporting>
109 <plugins>
110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-javadoc-plugin</artifactId>
113 <version>2.8.1</version>
114 <configuration>
115 <aggregate>true</aggregate>
116 <source>1.6</source>
117 <encoding>UTF-8</encoding>
118 <maxmemory>1g</maxmemory>
119 <links>
Tatu Saloranta4bace842016-03-21 21:35:39 -0700120 <link>http://docs.oracle.com/javase/7/docs/api/</link>
simonetripodi35719a32012-03-27 17:55:13 +0200121 </links>
122 <excludePackageNames>${javadoc.package.exclude}</excludePackageNames>
123 <bootclasspath>${sun.boot.class.path}</bootclasspath>
124 <doclet>com.google.doclava.Doclava</doclet>
125 <useStandardDocletOptions>false</useStandardDocletOptions>
126 <additionalJOption>-J-Xmx1024m</additionalJOption>
127 <docletArtifact>
128 <groupId>com.google.doclava</groupId>
129 <artifactId>doclava</artifactId>
130 <version>1.0.3</version>
131 </docletArtifact>
132 <additionalparam>
133 -hdf project.name "${project.name} ${project.version}"
134 -d ${project.reporting.outputDirectory}/apidocs
135 </additionalparam>
136 </configuration>
137 <reportSets>
138 <reportSet>
139 <id>default</id>
140 <reports>
141 <report>javadoc</report>
142 </reports>
143 </reportSet>
144 </reportSets>
145 </plugin>
simonetripodi35719a32012-03-27 17:55:13 +0200146 </plugins>
147 </reporting>
148
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800149</project>