blob: e9a1b189e7f41f5dc91634008cbd08089a70e378 [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 Salorantaec300272012-06-28 15:08:51 -07004 <groupId>com.fasterxml</groupId>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -08005 <artifactId>oss-parent</artifactId>
Tatu Salorantab758af92012-10-08 19:37:29 -07006 <version>4</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 Saloranta306524f2012-11-12 14:33:10 -080012 <version>2.2.0-SNAPSHOT</version>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080013 <description>Core Jackson abstractions, basic JSON streaming API implementation
14 </description>
Tatu Salorantaec300272012-06-28 15:08:51 -070015
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080016 <url>http://wiki.fasterxml.com/JacksonHome</url>
17 <scm>
18 <connection>scm:git:git@github.com:FasterXML/jackson-core.git</connection>
19 <developerConnection>scm:git:git@github.com:FasterXML/jackson-core.git</developerConnection>
20 <url>http://github.com/FasterXML/jackson-core</url>
Tatu Salorantae8658e72012-11-11 15:44:17 -080021 <tag>HEAD</tag>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080022 </scm>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080023
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080024 <properties>
Tatu Salorantaec300272012-06-28 15:08:51 -070025 <!--
26 | Configuration properties for the OSGi maven-bundle-plugin
27 -->
28 <osgi.export>com.fasterxml.jackson.core;version=${project.version},
29com.fasterxml.jackson.core.*;version=${project.version}
30 </osgi.export>
Ben Gertzfieldf440fa02013-01-03 16:38:28 -080031 <version.template.dir>src/main/java/com/fasterxml/jackson/core/json</version.template.dir>
32 <version.template.file>${version.template.dir}/PackageVersion.java.in</version.template.file>
33 <version.file>${version.template.dir}/PackageVersion.java</version.file>
34 <version.package>${project.groupId}.json</version.package>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080035 </properties>
36
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080037 <dependencies>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080038 <dependency>
39 <groupId>junit</groupId>
40 <artifactId>junit</artifactId>
41 <version>4.8.2</version>
Tatu Saloranta7e2b22a2011-12-22 21:51:29 -080042 <scope>test</scope>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080043 </dependency>
44 </dependencies>
45
46 <build>
Tatu Saloranta3c756182011-12-28 20:27:59 -080047 <!-- need to enable filtering to add version info -->
48 <resources>
49 <resource>
Tatu Saloranta78fa4532012-08-22 21:31:43 -070050 <directory>${basedir}/src/main/resources</directory>
Tatu Saloranta3c756182011-12-28 20:27:59 -080051 <filtering>true</filtering>
52 </resource>
53 </resources>
Tatu Salorantaec300272012-06-28 15:08:51 -070054
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080055 <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 Salorantaa57fbe12011-12-22 18:13:05 -080061 <source>1.5</source>
62 <target>1.5</target>
63 <encoding>UTF-8</encoding>
64 <maxmemory>512m</maxmemory>
65 <links>
Tatu Saloranta01ba0532012-03-09 18:21:05 -080066 <link>http://docs.oracle.com/javase/6/docs/api/</link>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -080067 </links>
Tatu Saloranta5e69eec2012-03-25 11:52:34 -070068 </configuration>
69 <executions>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -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 Salorantaa57fbe12011-12-22 18:13:05 -080078 </plugin>
simonetripodi35719a32012-03-27 17:55:13 +020079 <plugin>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-site-plugin</artifactId>
Tatu Salorantae59e6cc2012-11-08 14:38:56 -080082 <version>3.1</version>
simonetripodi35719a32012-03-27 17:55:13 +020083 </plugin>
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-surefire-plugin</artifactId>
87 <version>${surefire.version}</version>
88 <configuration>
89 <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
90 </configuration>
91 </plugin>
Ben Gertzfieldf440fa02013-01-03 16:38:28 -080092 <plugin>
93 <groupId>com.google.code.maven-replacer-plugin</groupId>
94 <artifactId>maven-replacer-plugin</artifactId>
95 <version>1.4.0</version>
96 <executions>
97 <execution>
98 <phase>process-sources</phase>
99 <goals>
100 <goal>replace</goal>
101 </goals>
102 </execution>
103 </executions>
104 <configuration>
105 <file>${version.template.file}</file>
106 <outputFile>${version.file}</outputFile>
107 <replacements>
108 <replacement>
109 <token>@package@</token>
110 <value>${version.package}</value>
111 </replacement>
112 <replacement>
113 <token>@projectversion@</token>
114 <value>${project.version}</value>
115 </replacement>
116 <replacement>
117 <token>@projectgroupid@</token>
118 <value>${project.groupId}</value>
119 </replacement>
120 <replacement>
121 <token>@projectartifactid@</token>
122 <value>${project.artifactId}</value>
123 </replacement>
124 </replacements>
125 </configuration>
126 </plugin>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800127 </plugins>
simonetripodi35719a32012-03-27 17:55:13 +0200128 <extensions>
129 <!-- Enabling the use of SSH -->
130 <extension>
131 <groupId>org.apache.maven.wagon</groupId>
132 <artifactId>wagon-ssh-external</artifactId>
133 <version>1.0-beta-6</version>
134 </extension>
135 <extension>
136 <groupId>org.apache.maven.scm</groupId>
137 <artifactId>maven-scm-provider-gitexe</artifactId>
138 <version>1.6</version>
139 </extension>
140 <extension>
141 <groupId>org.apache.maven.scm</groupId>
142 <artifactId>maven-scm-manager-plexus</artifactId>
143 <version>1.6</version>
144 </extension>
145 <extension>
146 <groupId>org.kathrynhuxtable.maven.wagon</groupId>
147 <artifactId>wagon-gitsite</artifactId>
148 <version>0.3.1</version>
149 </extension>
150 </extensions>
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800151 </build>
simonetripodi35719a32012-03-27 17:55:13 +0200152
153 <reporting>
154 <plugins>
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-javadoc-plugin</artifactId>
158 <version>2.8.1</version>
159 <configuration>
160 <aggregate>true</aggregate>
161 <source>1.6</source>
162 <encoding>UTF-8</encoding>
163 <maxmemory>1g</maxmemory>
164 <links>
Tatu Salorantaa1870442012-03-27 21:03:04 -0700165 <!-- JDK, other Jackson pkgs -->
166 <link>http://docs.oracle.com/javase/6/docs/api/</link>
167 <link>http://fasterxml.github.com/jackson-core/javadoc/2.0.0/</link>
simonetripodi35719a32012-03-27 17:55:13 +0200168 </links>
169 <excludePackageNames>${javadoc.package.exclude}</excludePackageNames>
170 <bootclasspath>${sun.boot.class.path}</bootclasspath>
171 <doclet>com.google.doclava.Doclava</doclet>
172 <useStandardDocletOptions>false</useStandardDocletOptions>
173 <additionalJOption>-J-Xmx1024m</additionalJOption>
174 <docletArtifact>
175 <groupId>com.google.doclava</groupId>
176 <artifactId>doclava</artifactId>
177 <version>1.0.3</version>
178 </docletArtifact>
179 <additionalparam>
180 -hdf project.name "${project.name} ${project.version}"
181 -d ${project.reporting.outputDirectory}/apidocs
182 </additionalparam>
183 </configuration>
184 <reportSets>
185 <reportSet>
186 <id>default</id>
187 <reports>
188 <report>javadoc</report>
189 </reports>
190 </reportSet>
191 </reportSets>
192 </plugin>
simonetripodi35719a32012-03-27 17:55:13 +0200193 </plugins>
194 </reporting>
195
Tatu Salorantaa57fbe12011-12-22 18:13:05 -0800196</project>