Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 1 | <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 Saloranta | 5e69eec | 2012-03-25 11:52:34 -0700 | [diff] [blame] | 6 | <version>7</version> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 7 | </parent> |
| 8 | <groupId>com.fasterxml.jackson.core</groupId> |
| 9 | <artifactId>jackson-core</artifactId> |
| 10 | <name>Jackson-core</name> |
Tatu Saloranta | 626c9ce | 2012-03-25 11:54:26 -0700 | [diff] [blame] | 11 | <version>2.0.1-SNAPSHOT</version> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 12 | <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> |
simonetripodi | 35719a3 | 2012-03-27 17:55:13 +0200 | [diff] [blame] | 34 | <surefire.version>2.12</surefire.version> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 35 | </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 Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 51 | <!-- and for testing, JUnit is needed --> |
| 52 | <dependency> |
| 53 | <groupId>junit</groupId> |
| 54 | <artifactId>junit</artifactId> |
| 55 | <version>4.8.2</version> |
Tatu Saloranta | 7e2b22a | 2011-12-22 21:51:29 -0800 | [diff] [blame] | 56 | <scope>test</scope> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 57 | </dependency> |
| 58 | </dependencies> |
| 59 | |
| 60 | <build> |
Tatu Saloranta | 3c75618 | 2011-12-28 20:27:59 -0800 | [diff] [blame] | 61 | <!-- 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 Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 69 | <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 Saloranta | 5e69eec | 2012-03-25 11:52:34 -0700 | [diff] [blame] | 100 | <groupId>org.apache.maven.plugins</groupId> |
| 101 | <artifactId>maven-javadoc-plugin</artifactId> |
Tatu Saloranta | 68a66c4 | 2012-03-25 12:09:31 -0700 | [diff] [blame] | 102 | <version>2.8.1</version> |
Tatu Saloranta | 5e69eec | 2012-03-25 11:52:34 -0700 | [diff] [blame] | 103 | <configuration> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 104 | <source>1.5</source> |
| 105 | <target>1.5</target> |
| 106 | <encoding>UTF-8</encoding> |
| 107 | <maxmemory>512m</maxmemory> |
| 108 | <links> |
Tatu Saloranta | 01ba053 | 2012-03-09 18:21:05 -0800 | [diff] [blame] | 109 | <link>http://docs.oracle.com/javase/6/docs/api/</link> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 110 | </links> |
Tatu Saloranta | 5e69eec | 2012-03-25 11:52:34 -0700 | [diff] [blame] | 111 | </configuration> |
| 112 | <executions> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 113 | <execution> |
| 114 | <id>attach-javadocs</id> |
| 115 | <phase>verify</phase> |
| 116 | <goals> |
| 117 | <goal>jar</goal> |
| 118 | </goals> |
| 119 | </execution> |
Tatu Saloranta | 5e69eec | 2012-03-25 11:52:34 -0700 | [diff] [blame] | 120 | </executions> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 121 | </plugin> |
simonetripodi | 35719a3 | 2012-03-27 17:55:13 +0200 | [diff] [blame] | 122 | <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 Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 135 | |
| 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 Saloranta | 7e2b22a | 2011-12-22 21:51:29 -0800 | [diff] [blame] | 140 | <version>2.3.6</version> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 141 | <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 Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 147 | </Import-Package> |
| 148 | <Private-Package> |
| 149 | </Private-Package> |
| 150 | <Export-Package> |
| 151 | com.fasterxml.jackson.core, |
Tatu Saloranta | d77350e | 2011-12-22 23:13:13 -0800 | [diff] [blame] | 152 | com.fasterxml.jackson.core.base, |
| 153 | com.fasterxml.jackson.core.format, |
| 154 | com.fasterxml.jackson.core.io, |
| 155 | com.fasterxml.jackson.core.json, |
| 156 | com.fasterxml.jackson.core.sym, |
| 157 | com.fasterxml.jackson.core.type, |
| 158 | com.fasterxml.jackson.core.util |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 159 | </Export-Package> |
| 160 | </instructions> |
| 161 | </configuration> |
| 162 | </plugin> |
| 163 | </plugins> |
simonetripodi | 35719a3 | 2012-03-27 17:55:13 +0200 | [diff] [blame] | 164 | <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 Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 187 | </build> |
simonetripodi | 35719a3 | 2012-03-27 17:55:13 +0200 | [diff] [blame] | 188 | |
| 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 Saloranta | a187044 | 2012-03-27 21:03:04 -0700 | [diff] [blame^] | 201 | <!-- 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> |
simonetripodi | 35719a3 | 2012-03-27 17:55:13 +0200 | [diff] [blame] | 204 | </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 Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 237 | <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> |