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> |
| 34 | </properties> |
| 35 | |
| 36 | <!-- Licensing --> |
| 37 | <licenses> |
| 38 | <license> |
| 39 | <name>The Apache Software License, Version 2.0</name> |
| 40 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 41 | <distribution>repo</distribution> |
| 42 | </license> |
| 43 | </licenses> |
| 44 | <organization> |
| 45 | <name>fasterxml.com</name> |
| 46 | <url>http://fasterxml.com</url> |
| 47 | </organization> |
| 48 | |
| 49 | <dependencies> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 50 | <!-- and for testing, JUnit is needed --> |
| 51 | <dependency> |
| 52 | <groupId>junit</groupId> |
| 53 | <artifactId>junit</artifactId> |
| 54 | <version>4.8.2</version> |
Tatu Saloranta | 7e2b22a | 2011-12-22 21:51:29 -0800 | [diff] [blame] | 55 | <scope>test</scope> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 56 | </dependency> |
| 57 | </dependencies> |
| 58 | |
| 59 | <build> |
Tatu Saloranta | 3c75618 | 2011-12-28 20:27:59 -0800 | [diff] [blame] | 60 | <!-- need to enable filtering to add version info --> |
| 61 | <resources> |
| 62 | <resource> |
| 63 | <directory>src/main/resources</directory> |
| 64 | <filtering>true</filtering> |
| 65 | </resource> |
| 66 | </resources> |
| 67 | |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 68 | <plugins> |
| 69 | <plugin> |
| 70 | <artifactId>maven-compiler-plugin</artifactId> |
| 71 | <version>2.3.2</version> |
| 72 | <configuration> |
| 73 | <source>1.6</source> |
| 74 | <target>1.6</target> |
| 75 | </configuration> |
| 76 | </plugin> |
| 77 | <plugin> |
| 78 | <groupId>org.apache.maven.plugins</groupId> |
| 79 | <artifactId>maven-release-plugin</artifactId> |
| 80 | <version>2.1</version> |
| 81 | <configuration> |
| 82 | <mavenExecutorId>forked-path</mavenExecutorId> |
| 83 | </configuration> |
| 84 | </plugin> |
| 85 | <plugin><!-- plug-in to attach source bundle in repo --> |
| 86 | <groupId>org.apache.maven.plugins</groupId> |
| 87 | <artifactId>maven-source-plugin</artifactId> |
| 88 | <version>2.1.2</version> |
| 89 | <executions> |
| 90 | <execution> |
| 91 | <id>attach-sources</id> |
| 92 | <goals> |
| 93 | <goal>jar</goal> |
| 94 | </goals> |
| 95 | </execution> |
| 96 | </executions> |
| 97 | </plugin> |
| 98 | <plugin> |
Tatu Saloranta | 5e69eec | 2012-03-25 11:52:34 -0700 | [diff] [blame] | 99 | <groupId>org.apache.maven.plugins</groupId> |
| 100 | <artifactId>maven-javadoc-plugin</artifactId> |
| 101 | <version>2.6.1</version> |
| 102 | <configuration> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 103 | <source>1.5</source> |
| 104 | <target>1.5</target> |
| 105 | <encoding>UTF-8</encoding> |
| 106 | <maxmemory>512m</maxmemory> |
| 107 | <links> |
Tatu Saloranta | 01ba053 | 2012-03-09 18:21:05 -0800 | [diff] [blame] | 108 | <link>http://docs.oracle.com/javase/6/docs/api/</link> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 109 | </links> |
Tatu Saloranta | 5e69eec | 2012-03-25 11:52:34 -0700 | [diff] [blame] | 110 | </configuration> |
| 111 | <executions> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 112 | <execution> |
| 113 | <id>attach-javadocs</id> |
| 114 | <phase>verify</phase> |
| 115 | <goals> |
| 116 | <goal>jar</goal> |
| 117 | </goals> |
| 118 | </execution> |
Tatu Saloranta | 5e69eec | 2012-03-25 11:52:34 -0700 | [diff] [blame] | 119 | </executions> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 120 | </plugin> |
| 121 | |
| 122 | <!-- Plus, let's make jars OSGi bundles as well --> |
| 123 | <plugin> |
| 124 | <groupId>org.apache.felix</groupId> |
| 125 | <artifactId>maven-bundle-plugin</artifactId> |
Tatu Saloranta | 7e2b22a | 2011-12-22 21:51:29 -0800 | [diff] [blame] | 126 | <version>2.3.6</version> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 127 | <extensions>true</extensions> |
| 128 | <configuration> |
| 129 | <instructions> |
| 130 | <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| 131 | <Bundle-Vendor>fasterml.com</Bundle-Vendor> |
| 132 | <Import-Package> |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 133 | </Import-Package> |
| 134 | <Private-Package> |
| 135 | </Private-Package> |
| 136 | <Export-Package> |
| 137 | com.fasterxml.jackson.core, |
Tatu Saloranta | d77350e | 2011-12-22 23:13:13 -0800 | [diff] [blame] | 138 | com.fasterxml.jackson.core.base, |
| 139 | com.fasterxml.jackson.core.format, |
| 140 | com.fasterxml.jackson.core.io, |
| 141 | com.fasterxml.jackson.core.json, |
| 142 | com.fasterxml.jackson.core.sym, |
| 143 | com.fasterxml.jackson.core.type, |
| 144 | com.fasterxml.jackson.core.util |
Tatu Saloranta | a57fbe1 | 2011-12-22 18:13:05 -0800 | [diff] [blame] | 145 | </Export-Package> |
| 146 | </instructions> |
| 147 | </configuration> |
| 148 | </plugin> |
| 149 | </plugins> |
| 150 | </build> |
| 151 | <profiles> |
| 152 | <profile> |
| 153 | <id>release-sign-artifacts</id> |
| 154 | <activation> |
| 155 | <property> |
| 156 | <name>performRelease</name> |
| 157 | <value>true</value> |
| 158 | </property> |
| 159 | </activation> |
| 160 | <build> |
| 161 | <plugins> |
| 162 | <plugin> |
| 163 | <groupId>org.apache.maven.plugins</groupId> |
| 164 | <artifactId>maven-gpg-plugin</artifactId> |
| 165 | <version>1.1</version> |
| 166 | <executions> |
| 167 | <execution> |
| 168 | <id>sign-artifacts</id> |
| 169 | <phase>verify</phase> |
| 170 | <goals> |
| 171 | <goal>sign</goal> |
| 172 | </goals> |
| 173 | </execution> |
| 174 | </executions> |
| 175 | </plugin> |
| 176 | </plugins> |
| 177 | </build> |
| 178 | </profile> |
| 179 | </profiles> |
| 180 | <!-- NOTE: repositories from parent POM --> |
| 181 | |
| 182 | </project> |