blob: 8fb06d852581c9190577c262fcda0c511bd1a7a5 [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>
4 <groupId>org.sonatype.oss</groupId>
5 <artifactId>oss-parent</artifactId>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -07006 <version>7</version>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -08007 </parent>
8 <groupId>com.fasterxml.jackson.core</groupId>
9 <artifactId>jackson-core</artifactId>
10 <name>Jackson-core</name>
Tatu Saloranta626c9ce2012-03-25 11:54:26 -070011 <version>2.0.1-SNAPSHOT</version>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080012 <packaging>bundle</packaging>
13 <description>Core Jackson abstractions, basic JSON streaming API implementation
14 </description>
15 <url>http://wiki.fasterxml.com/JacksonHome</url>
16 <scm>
17 <connection>scm:git:git@github.com:FasterXML/jackson-core.git</connection>
18 <developerConnection>scm:git:git@github.com:FasterXML/jackson-core.git</developerConnection>
19 <url>http://github.com/FasterXML/jackson-core</url>
20 </scm>
21 <developers>
22 <developer>
23 <id>tatu</id>
24 <name>Tatu Saloranta</name>
25 <email>tatu@fasterxml.com</email>
26 </developer>
27 </developers>
28
29 <prerequisites>
30 <maven>2.2.1</maven>
31 </prerequisites>
32 <properties>
33 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
simonetripodi35719a32012-03-27 17:55:13 +020034 <surefire.version>2.12</surefire.version>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080035 </properties>
36
37 <!-- Licensing -->
38 <licenses>
39 <license>
40 <name>The Apache Software License, Version 2.0</name>
41 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
42 <distribution>repo</distribution>
43 </license>
44 </licenses>
45 <organization>
46 <name>fasterxml.com</name>
47 <url>http://fasterxml.com</url>
48 </organization>
49
50 <dependencies>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080051 <!-- and for testing, JUnit is needed -->
52 <dependency>
53 <groupId>junit</groupId>
54 <artifactId>junit</artifactId>
55 <version>4.8.2</version>
Tatu Saloranta7e2b22a2011-12-22 21:51:29 -080056 <scope>test</scope>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080057 </dependency>
58 </dependencies>
59
60 <build>
Tatu Saloranta3c756182011-12-28 20:27:59 -080061 <!-- need to enable filtering to add version info -->
62 <resources>
63 <resource>
64 <directory>src/main/resources</directory>
65 <filtering>true</filtering>
66 </resource>
67 </resources>
68
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080069 <plugins>
70 <plugin>
71 <artifactId>maven-compiler-plugin</artifactId>
72 <version>2.3.2</version>
73 <configuration>
74 <source>1.6</source>
75 <target>1.6</target>
76 </configuration>
77 </plugin>
78 <plugin>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-release-plugin</artifactId>
81 <version>2.1</version>
82 <configuration>
83 <mavenExecutorId>forked-path</mavenExecutorId>
84 </configuration>
85 </plugin>
86 <plugin><!-- plug-in to attach source bundle in repo -->
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-source-plugin</artifactId>
89 <version>2.1.2</version>
90 <executions>
91 <execution>
92 <id>attach-sources</id>
93 <goals>
94 <goal>jar</goal>
95 </goals>
96 </execution>
97 </executions>
98 </plugin>
99 <plugin>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -0700100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-javadoc-plugin</artifactId>
Tatu Saloranta68a66c42012-03-25 12:09:31 -0700102 <version>2.8.1</version>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -0700103 <configuration>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800104 <source>1.5</source>
105 <target>1.5</target>
106 <encoding>UTF-8</encoding>
107 <maxmemory>512m</maxmemory>
108 <links>
Tatu Saloranta01ba0532012-03-09 18:21:05 -0800109 <link>http://docs.oracle.com/javase/6/docs/api/</link>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800110 </links>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -0700111 </configuration>
112 <executions>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800113 <execution>
114 <id>attach-javadocs</id>
115 <phase>verify</phase>
116 <goals>
117 <goal>jar</goal>
118 </goals>
119 </execution>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -0700120 </executions>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800121 </plugin>
simonetripodi35719a32012-03-27 17:55:13 +0200122 <plugin>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-site-plugin</artifactId>
125 <version>3.0</version>
126 </plugin>
127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-surefire-plugin</artifactId>
130 <version>${surefire.version}</version>
131 <configuration>
132 <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
133 </configuration>
134 </plugin>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800135
136 <!-- Plus, let's make jars OSGi bundles as well -->
137 <plugin>
138 <groupId>org.apache.felix</groupId>
139 <artifactId>maven-bundle-plugin</artifactId>
Tatu Saloranta7e2b22a2011-12-22 21:51:29 -0800140 <version>2.3.6</version>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800141 <extensions>true</extensions>
142 <configuration>
143 <instructions>
144 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
145 <Bundle-Vendor>fasterml.com</Bundle-Vendor>
146 <Import-Package>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800147</Import-Package>
148 <Private-Package>
149</Private-Package>
150 <Export-Package>
151com.fasterxml.jackson.core,
Tatu Salorantad77350e2011-12-22 23:13:13 -0800152com.fasterxml.jackson.core.base,
153com.fasterxml.jackson.core.format,
154com.fasterxml.jackson.core.io,
155com.fasterxml.jackson.core.json,
156com.fasterxml.jackson.core.sym,
157com.fasterxml.jackson.core.type,
158com.fasterxml.jackson.core.util
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800159</Export-Package>
160 </instructions>
161 </configuration>
162 </plugin>
163 </plugins>
simonetripodi35719a32012-03-27 17:55:13 +0200164 <extensions>
165 <!-- Enabling the use of SSH -->
166 <extension>
167 <groupId>org.apache.maven.wagon</groupId>
168 <artifactId>wagon-ssh-external</artifactId>
169 <version>1.0-beta-6</version>
170 </extension>
171 <extension>
172 <groupId>org.apache.maven.scm</groupId>
173 <artifactId>maven-scm-provider-gitexe</artifactId>
174 <version>1.6</version>
175 </extension>
176 <extension>
177 <groupId>org.apache.maven.scm</groupId>
178 <artifactId>maven-scm-manager-plexus</artifactId>
179 <version>1.6</version>
180 </extension>
181 <extension>
182 <groupId>org.kathrynhuxtable.maven.wagon</groupId>
183 <artifactId>wagon-gitsite</artifactId>
184 <version>0.3.1</version>
185 </extension>
186 </extensions>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800187 </build>
simonetripodi35719a32012-03-27 17:55:13 +0200188
189 <reporting>
190 <plugins>
191 <plugin>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-javadoc-plugin</artifactId>
194 <version>2.8.1</version>
195 <configuration>
196 <aggregate>true</aggregate>
197 <source>1.6</source>
198 <encoding>UTF-8</encoding>
199 <maxmemory>1g</maxmemory>
200 <links>
Tatu Salorantaa1870442012-03-27 21:03:04 -0700201 <!-- JDK, other Jackson pkgs -->
202 <link>http://docs.oracle.com/javase/6/docs/api/</link>
203 <link>http://fasterxml.github.com/jackson-core/javadoc/2.0.0/</link>
simonetripodi35719a32012-03-27 17:55:13 +0200204 </links>
205 <excludePackageNames>${javadoc.package.exclude}</excludePackageNames>
206 <bootclasspath>${sun.boot.class.path}</bootclasspath>
207 <doclet>com.google.doclava.Doclava</doclet>
208 <useStandardDocletOptions>false</useStandardDocletOptions>
209 <additionalJOption>-J-Xmx1024m</additionalJOption>
210 <docletArtifact>
211 <groupId>com.google.doclava</groupId>
212 <artifactId>doclava</artifactId>
213 <version>1.0.3</version>
214 </docletArtifact>
215 <additionalparam>
216 -hdf project.name "${project.name} ${project.version}"
217 -d ${project.reporting.outputDirectory}/apidocs
218 </additionalparam>
219 </configuration>
220 <reportSets>
221 <reportSet>
222 <id>default</id>
223 <reports>
224 <report>javadoc</report>
225 </reports>
226 </reportSet>
227 </reportSets>
228 </plugin>
229 <plugin>
230 <groupId>org.apache.maven.plugins</groupId>
231 <artifactId>maven-surefire-report-plugin</artifactId>
232 <version>${surefire.version}</version>
233 </plugin>
234 </plugins>
235 </reporting>
236
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800237 <profiles>
238 <profile>
239 <id>release-sign-artifacts</id>
240 <activation>
241 <property>
242 <name>performRelease</name>
243 <value>true</value>
244 </property>
245 </activation>
246 <build>
247 <plugins>
248 <plugin>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-gpg-plugin</artifactId>
251 <version>1.1</version>
252 <executions>
253 <execution>
254 <id>sign-artifacts</id>
255 <phase>verify</phase>
256 <goals>
257 <goal>sign</goal>
258 </goals>
259 </execution>
260 </executions>
261 </plugin>
262 </plugins>
263 </build>
264 </profile>
265 </profiles>
266 <!-- NOTE: repositories from parent POM -->
267
268</project>