Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -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 | 209e078 | 2012-03-26 19:05:51 -0700 | [diff] [blame] | 6 | <version>7</version> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 7 | </parent> |
| 8 | <groupId>com.fasterxml.jackson.core</groupId> |
| 9 | <artifactId>jackson-databind</artifactId> |
| 10 | <name>jackson-databind</name> |
Tatu Saloranta | e55a935 | 2012-03-25 12:09:18 -0700 | [diff] [blame] | 11 | <version>2.0.1-SNAPSHOT</version> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 12 | <packaging>bundle</packaging> |
| 13 | <description>General data-binding functionality for Jackson: works on core streaming API |
| 14 | </description> |
| 15 | <url>http://wiki.fasterxml.com/JacksonHome</url> |
| 16 | <scm> |
| 17 | <connection>scm:git:git@github.com:FasterXML/jackson-databind.git</connection> |
| 18 | <developerConnection>scm:git:git@github.com:FasterXML/jackson-databind.git</developerConnection> |
| 19 | <url>http://github.com/FasterXML/jackson-databind</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> |
Tatu Saloranta | 6e21fbf | 2011-12-24 10:08:25 -0800 | [diff] [blame] | 43 | <license> |
| 44 | <name>Lesser Gnu Public License (LGPL), Version 2.1</name> |
| 45 | <url>http://www.gnu.org/licenses/lgpl-2.1.html</url> |
| 46 | <distribution>repo</distribution> |
| 47 | </license> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 48 | </licenses> |
| 49 | <organization> |
| 50 | <name>fasterxml.com</name> |
| 51 | <url>http://fasterxml.com</url> |
| 52 | </organization> |
| 53 | |
| 54 | <dependencies> |
| 55 | <!-- Builds on core streaming API; also needs core annotations --> |
| 56 | <dependency> |
| 57 | <groupId>com.fasterxml.jackson.core</groupId> |
Tatu Saloranta | deaee9c | 2012-03-25 12:01:34 -0700 | [diff] [blame] | 58 | <artifactId>jackson-annotations</artifactId> |
| 59 | <version>2.0.0</version> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 60 | </dependency> |
| 61 | <dependency> |
| 62 | <groupId>com.fasterxml.jackson.core</groupId> |
Tatu Saloranta | deaee9c | 2012-03-25 12:01:34 -0700 | [diff] [blame] | 63 | <artifactId>jackson-core</artifactId> |
| 64 | <version>2.0.0</version> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 65 | </dependency> |
Tatu Saloranta | 6e21fbf | 2011-12-24 10:08:25 -0800 | [diff] [blame] | 66 | |
Tatu Saloranta | 6e21fbf | 2011-12-24 10:08:25 -0800 | [diff] [blame] | 67 | <!-- and for testing, JUnit is needed, as well as quite a few |
| 68 | libs for which we use reflection for code, but direct dep for testing |
| 69 | --> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 70 | <dependency> |
| 71 | <groupId>junit</groupId> |
| 72 | <artifactId>junit</artifactId> |
| 73 | <version>4.8.2</version> |
| 74 | <scope>test</scope> |
| 75 | </dependency> |
Tatu Saloranta | 6e21fbf | 2011-12-24 10:08:25 -0800 | [diff] [blame] | 76 | <dependency> |
| 77 | <groupId>cglib</groupId> |
| 78 | <artifactId>cglib</artifactId> |
| 79 | <version>2.2.2</version> |
| 80 | <scope>test</scope> |
| 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>com.google.collections</groupId> |
| 84 | <artifactId>google-collections</artifactId> |
| 85 | <version>1.0</version> |
| 86 | <scope>test</scope> |
| 87 | </dependency> |
| 88 | <dependency> |
| 89 | <groupId>org.codehaus.groovy</groupId> |
| 90 | <artifactId>groovy</artifactId> |
| 91 | <version>1.7.9</version> |
| 92 | <scope>test</scope> |
| 93 | </dependency> |
Tatu Saloranta | 252af51 | 2011-12-24 10:25:45 -0800 | [diff] [blame] | 94 | <dependency> <!-- from core we just test for repackaged cglib, not hibernate proper --> |
Tatu Saloranta | 6e21fbf | 2011-12-24 10:08:25 -0800 | [diff] [blame] | 95 | <groupId>org.hibernate</groupId> |
Tatu Saloranta | 252af51 | 2011-12-24 10:25:45 -0800 | [diff] [blame] | 96 | <artifactId>hibernate-cglib-repack</artifactId> |
| 97 | <version>2.1_3</version> |
Tatu Saloranta | 6e21fbf | 2011-12-24 10:08:25 -0800 | [diff] [blame] | 98 | <scope>test</scope> |
| 99 | </dependency> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 100 | </dependencies> |
| 101 | |
| 102 | <build> |
Tatu Saloranta | 285de7a | 2011-12-28 20:38:35 -0800 | [diff] [blame] | 103 | <!-- need to enable filtering to add version info --> |
| 104 | <resources> |
| 105 | <resource> |
| 106 | <directory>src/main/resources</directory> |
| 107 | <filtering>true</filtering> |
| 108 | </resource> |
| 109 | </resources> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 110 | <plugins> |
| 111 | <plugin> |
| 112 | <artifactId>maven-compiler-plugin</artifactId> |
| 113 | <version>2.3.2</version> |
| 114 | <configuration> |
Tatu Saloranta | f1c79d4 | 2012-04-17 07:57:41 -0700 | [diff] [blame^] | 115 | <source>1.5</source> |
| 116 | <target>1.5</target> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 117 | </configuration> |
| 118 | </plugin> |
| 119 | <plugin> |
| 120 | <groupId>org.apache.maven.plugins</groupId> |
| 121 | <artifactId>maven-release-plugin</artifactId> |
| 122 | <version>2.1</version> |
| 123 | <configuration> |
| 124 | <mavenExecutorId>forked-path</mavenExecutorId> |
| 125 | </configuration> |
| 126 | </plugin> |
| 127 | <plugin><!-- plug-in to attach source bundle in repo --> |
| 128 | <groupId>org.apache.maven.plugins</groupId> |
| 129 | <artifactId>maven-source-plugin</artifactId> |
| 130 | <version>2.1.2</version> |
| 131 | <executions> |
| 132 | <execution> |
| 133 | <id>attach-sources</id> |
| 134 | <goals> |
| 135 | <goal>jar</goal> |
| 136 | </goals> |
| 137 | </execution> |
| 138 | </executions> |
| 139 | </plugin> |
Tatu Saloranta | d063daa | 2012-02-24 16:09:04 -0800 | [diff] [blame] | 140 | <plugin> |
| 141 | <groupId>org.apache.maven.plugins</groupId> |
| 142 | <artifactId>maven-surefire-plugin</artifactId> |
| 143 | <version>2.12</version> |
| 144 | <configuration> |
| 145 | <excludes> |
| 146 | <exclude>com/fasterxml/jackson/failing/*.java</exclude> |
| 147 | </excludes> |
| 148 | </configuration> |
| 149 | </plugin> |
| 150 | <plugin> |
| 151 | <groupId>org.apache.maven.plugins</groupId> |
| 152 | <artifactId>maven-surefire-report-plugin</artifactId> |
| 153 | <version>2.12</version> |
| 154 | <executions> |
| 155 | <execution> |
| 156 | <phase>test</phase> |
| 157 | <goals> |
| 158 | <goal>report-only</goal> |
| 159 | </goals> |
| 160 | </execution> |
| 161 | </executions> |
| 162 | </plugin> |
Tatu Saloranta | 65c8369 | 2011-12-24 18:15:07 -0800 | [diff] [blame] | 163 | |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 164 | <plugin> |
| 165 | <groupId>org.apache.maven.plugins</groupId> |
| 166 | <artifactId>maven-javadoc-plugin</artifactId> |
Tatu Saloranta | 261f214 | 2012-03-25 12:07:40 -0700 | [diff] [blame] | 167 | <version>2.8.1</version> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 168 | <configuration> |
| 169 | <source>1.5</source> |
| 170 | <target>1.5</target> |
| 171 | <encoding>UTF-8</encoding> |
| 172 | <maxmemory>512m</maxmemory> |
| 173 | <links> |
Tatu Saloranta | 1421af6 | 2012-03-09 21:46:44 -0800 | [diff] [blame] | 174 | <link>http://docs.oracle.com/javase/6/docs/api/</link> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 175 | </links> |
| 176 | </configuration> |
| 177 | <executions> |
| 178 | <execution> |
| 179 | <id>attach-javadocs</id> |
| 180 | <phase>verify</phase> |
| 181 | <goals> |
| 182 | <goal>jar</goal> |
| 183 | </goals> |
| 184 | </execution> |
| 185 | </executions> |
| 186 | </plugin> |
| 187 | |
| 188 | <!-- Plus, let's make jars OSGi bundles as well --> |
| 189 | <plugin> |
| 190 | <groupId>org.apache.felix</groupId> |
| 191 | <artifactId>maven-bundle-plugin</artifactId> |
| 192 | <version>2.3.6</version> |
| 193 | <extensions>true</extensions> |
| 194 | <configuration> |
| 195 | <instructions> |
| 196 | <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| 197 | <Bundle-Vendor>fasterml.com</Bundle-Vendor> |
| 198 | <Import-Package> |
Tatu Saloranta | 2f82344 | 2011-12-23 20:25:27 -0800 | [diff] [blame] | 199 | com.fasterxml.jackson.annotation, |
Tatu Saloranta | e4f23bb | 2011-12-23 00:31:35 -0800 | [diff] [blame] | 200 | com.fasterxml.jackson.core, |
Tatu Saloranta | 2f82344 | 2011-12-23 20:25:27 -0800 | [diff] [blame] | 201 | com.fasterxml.jackson.core.base, |
Tatu Saloranta | e4f23bb | 2011-12-23 00:31:35 -0800 | [diff] [blame] | 202 | com.fasterxml.jackson.core.format, |
Tatu Saloranta | 2f82344 | 2011-12-23 20:25:27 -0800 | [diff] [blame] | 203 | com.fasterxml.jackson.core.json, |
| 204 | com.fasterxml.jackson.core.io, |
| 205 | com.fasterxml.jackson.core.util, |
| 206 | com.fasterxml.jackson.core.type, |
| 207 | org.xml.sax,org.w3c.dom, org.w3c.dom.bootstrap, org.w3c.dom.ls, |
| 208 | javax.xml.datatype, javax.xml.namespace, javax.xml.parsers |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 209 | </Import-Package> |
| 210 | <Private-Package> |
| 211 | </Private-Package> |
| 212 | <Export-Package> |
Tatu Saloranta | 2f82344 | 2011-12-23 20:25:27 -0800 | [diff] [blame] | 213 | com.fasterxml.jackson.databind, |
| 214 | com.fasterxml.jackson.databind.annotation, |
Tatu | dfed924 | 2012-01-19 12:31:44 -0800 | [diff] [blame] | 215 | com.fasterxml.jackson.databind.cfg, |
Tatu Saloranta | 2f82344 | 2011-12-23 20:25:27 -0800 | [diff] [blame] | 216 | com.fasterxml.jackson.databind.deser, |
| 217 | com.fasterxml.jackson.databind.deser.impl, |
| 218 | com.fasterxml.jackson.databind.deser.std, |
| 219 | com.fasterxml.jackson.databind.exc, |
| 220 | com.fasterxml.jackson.databind.ext, |
| 221 | com.fasterxml.jackson.databind.introspect, |
| 222 | com.fasterxml.jackson.databind.jsonschema, |
| 223 | com.fasterxml.jackson.databind.jsontype, |
| 224 | com.fasterxml.jackson.databind.jsontype.impl, |
Tatu Saloranta | 512a05b | 2011-12-28 10:45:31 -0800 | [diff] [blame] | 225 | com.fasterxml.jackson.databind.module, |
Tatu Saloranta | 2f82344 | 2011-12-23 20:25:27 -0800 | [diff] [blame] | 226 | com.fasterxml.jackson.databind.node, |
| 227 | com.fasterxml.jackson.databind.ser, |
| 228 | com.fasterxml.jackson.databind.ser.impl, |
| 229 | com.fasterxml.jackson.databind.ser.std, |
| 230 | com.fasterxml.jackson.databind.type, |
| 231 | com.fasterxml.jackson.databind.util, |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 232 | </Export-Package> |
| 233 | </instructions> |
| 234 | </configuration> |
| 235 | </plugin> |
| 236 | </plugins> |
| 237 | </build> |
Tatu Saloranta | 65c8369 | 2011-12-24 18:15:07 -0800 | [diff] [blame] | 238 | |
| 239 | <reporting> |
| 240 | <plugins> |
| 241 | <plugin> |
| 242 | <groupId>org.apache.maven.plugins</groupId> |
| 243 | <artifactId>maven-surefire-report-plugin</artifactId> |
| 244 | <version>2.11</version> |
| 245 | </plugin> |
| 246 | </plugins> |
| 247 | </reporting> |
| 248 | |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 249 | <profiles> |
Tatu Saloranta | 9af5904 | 2012-02-19 00:03:55 -0800 | [diff] [blame] | 250 | <profile> |
| 251 | <id>release</id> |
| 252 | <properties> |
| 253 | <maven.test.skip>true</maven.test.skip> |
| 254 | <skipTests>true</skipTests> |
| 255 | </properties> |
| 256 | </profile> |
| 257 | |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 258 | <profile> |
| 259 | <id>release-sign-artifacts</id> |
| 260 | <activation> |
| 261 | <property> |
| 262 | <name>performRelease</name> |
| 263 | <value>true</value> |
| 264 | </property> |
| 265 | </activation> |
| 266 | <build> |
| 267 | <plugins> |
| 268 | <plugin> |
| 269 | <groupId>org.apache.maven.plugins</groupId> |
| 270 | <artifactId>maven-gpg-plugin</artifactId> |
| 271 | <version>1.1</version> |
| 272 | <executions> |
| 273 | <execution> |
| 274 | <id>sign-artifacts</id> |
| 275 | <phase>verify</phase> |
| 276 | <goals> |
| 277 | <goal>sign</goal> |
| 278 | </goals> |
| 279 | </execution> |
| 280 | </executions> |
| 281 | </plugin> |
| 282 | </plugins> |
| 283 | </build> |
| 284 | </profile> |
| 285 | </profiles> |
| 286 | <!-- NOTE: repositories from parent POM --> |
| 287 | |
| 288 | </project> |