blob: 74c9fe0623484166c35f8719cddf98d540d384c5 [file] [log] [blame]
simonetripodi451776a2012-08-24 14:21:58 +02001<?xml version="1.0" encoding="UTF-8"?>
Tatu Saloranta90c43522011-12-22 23:25:27 -08002<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">
Ben Gertzfield66a12b62013-01-04 12:01:07 -08003 <modelVersion>4.0.0</modelVersion>
simonetripodi451776a2012-08-24 14:21:58 +02004
Tatu Saloranta90c43522011-12-22 23:25:27 -08005 <parent>
Tatu Saloranta09468092014-02-28 20:37:39 -08006 <groupId>com.fasterxml.jackson</groupId>
7 <artifactId>jackson-parent</artifactId>
Tatu Saloranta0d123892016-07-03 22:40:57 -07008 <version>2.8</version>
Tatu Saloranta90c43522011-12-22 23:25:27 -08009 </parent>
simonetripodi451776a2012-08-24 14:21:58 +020010
Tatu Saloranta90c43522011-12-22 23:25:27 -080011 <groupId>com.fasterxml.jackson.core</groupId>
12 <artifactId>jackson-databind</artifactId>
Tatu Saloranta7448df12020-02-09 15:39:25 -080013 <version>2.8.11.6-SNAPSHOT</version>
simonetripodi451776a2012-08-24 14:21:58 +020014 <name>jackson-databind</name>
Lukasz Dywicki9fb18f42013-09-03 19:27:55 +020015 <packaging>bundle</packaging>
simonetripodi451776a2012-08-24 14:21:58 +020016 <description>General data-binding functionality for Jackson: works on core streaming API</description>
Tatu Saloranta7cf95f12014-11-06 08:28:25 -080017 <url>http://github.com/FasterXML/jackson</url>
Cowtowncoder16aa3052015-10-07 11:14:52 -070018 <inceptionYear>2008</inceptionYear>
simonetripodi451776a2012-08-24 14:21:58 +020019
Tatu Saloranta90c43522011-12-22 23:25:27 -080020 <scm>
21 <connection>scm:git:git@github.com:FasterXML/jackson-databind.git</connection>
22 <developerConnection>scm:git:git@github.com:FasterXML/jackson-databind.git</developerConnection>
Ben Gertzfield66a12b62013-01-04 12:01:07 -080023 <url>http://github.com/FasterXML/jackson-databind</url>
Tatu Saloranta7448df12020-02-09 15:39:25 -080024 <tag>HEAD</tag>
Tatu Saloranta90c43522011-12-22 23:25:27 -080025 </scm>
Tatu Saloranta90c43522011-12-22 23:25:27 -080026
Tatu Saloranta90c43522011-12-22 23:25:27 -080027 <properties>
Tatu Saloranta857c5b22016-09-15 18:09:56 -070028 <!-- With Jackson 2.8 we will require JDK 7 (except for annotations/streaming),
Tatu Saloranta5fdb9322016-02-28 17:47:30 -080029 and new language features (diamond pattern) may be used.
Tatu Saloranta857c5b22016-09-15 18:09:56 -070030 Whether JDK dependencies are directly used is an open question as of Feb-2016
Cowtowncoder37b4ad52015-10-02 17:09:37 -070031 -->
Tatu Saloranta8f4b6232016-02-03 19:03:17 -080032 <javac.src.version>1.7</javac.src.version>
33 <javac.target.version>1.7</javac.target.version>
Cowtowncoder37b4ad52015-10-02 17:09:37 -070034
Cowtowncoder129180d2015-08-14 14:54:06 -070035 <!-- Can not use default, since group id != Java package name here -->
36 <osgi.export>com.fasterxml.jackson.databind.*;version=${project.version}</osgi.export>
37 <!-- but imports should work fine with defaults -->
Ben Gertzfield5780f882013-01-03 17:04:21 -080038
Ben Gertzfield66a12b62013-01-04 12:01:07 -080039 <!-- Generate PackageVersion.java into this directory. -->
Tatu Salorantaf314ac72013-01-10 19:50:17 -080040 <packageVersion.dir>com/fasterxml/jackson/databind/cfg</packageVersion.dir>
Ben Gertzfield66a12b62013-01-04 12:01:07 -080041 <packageVersion.package>com.fasterxml.jackson.databind.cfg</packageVersion.package>
Tatu Saloranta90c43522011-12-22 23:25:27 -080042 </properties>
43
Tatu Saloranta90c43522011-12-22 23:25:27 -080044 <dependencies>
45 <!-- Builds on core streaming API; also needs core annotations -->
46 <dependency>
47 <groupId>com.fasterxml.jackson.core</groupId>
Tatu Salorantadeaee9c2012-03-25 12:01:34 -070048 <artifactId>jackson-annotations</artifactId>
Tatu Saloranta90c43522011-12-22 23:25:27 -080049 </dependency>
50 <dependency>
51 <groupId>com.fasterxml.jackson.core</groupId>
Tatu Salorantadeaee9c2012-03-25 12:01:34 -070052 <artifactId>jackson-core</artifactId>
Tatu Saloranta46452bd2017-08-23 21:23:57 -070053 <version>2.8.10</version>
Tatu Saloranta90c43522011-12-22 23:25:27 -080054 </dependency>
Tatu Saloranta6e21fbf2011-12-24 10:08:25 -080055
Tatu Saloranta09468092014-02-28 20:37:39 -080056 <!-- and for testing we need a few libraries
Tatu Saloranta6e21fbf2011-12-24 10:08:25 -080057 libs for which we use reflection for code, but direct dep for testing
58 -->
Tatu Saloranta504464d2016-05-03 19:25:52 -070059
60 <dependency>
61 <groupId>junit</groupId>
62 <artifactId>junit</artifactId>
63 <scope>test</scope>
64 </dependency>
Tatu Saloranta3c35f1c2015-11-28 12:18:48 -080065 <dependency>
lufe66cfe88fe2015-06-30 15:35:30 +020066 <groupId>org.powermock</groupId>
67 <artifactId>powermock-module-junit4</artifactId>
Tatu Saloranta14b49cb2016-05-21 09:18:01 -070068 <version>1.6.5</version>
lufe66cfe88fe2015-06-30 15:35:30 +020069 <scope>test</scope>
Tatu Saloranta3c35f1c2015-11-28 12:18:48 -080070 </dependency>
71 <dependency>
lufe66cfe88fe2015-06-30 15:35:30 +020072 <groupId>org.powermock</groupId>
73 <artifactId>powermock-api-mockito</artifactId>
Tatu Saloranta14b49cb2016-05-21 09:18:01 -070074 <version>1.6.5</version>
lufe66cfe88fe2015-06-30 15:35:30 +020075 <scope>test</scope>
Tatu Saloranta3c35f1c2015-11-28 12:18:48 -080076 </dependency>
Michael Spiegele7c54202014-11-26 20:40:21 -050077 <!-- For testing TestNoClassDefFoundDeserializer -->
78 <dependency>
Michael Spiegel95f3fab2014-11-29 10:51:55 -050079 <groupId>javax.measure</groupId>
80 <artifactId>jsr-275</artifactId>
Cowtowncoder37b4ad52015-10-02 17:09:37 -070081 <version>1.0.0</version>
Michael Spiegele7c54202014-11-26 20:40:21 -050082 <scope>test</scope>
83 </dependency>
Benson Marguliesde160fd2016-05-19 11:21:49 -040084 <dependency>
85 <groupId>com.google.jimfs</groupId>
86 <artifactId>jimfs</artifactId>
87 <version>1.1</version>
88 <scope>test</scope>
89 </dependency>
Tatu Saloranta90c43522011-12-22 23:25:27 -080090 </dependencies>
91
92 <build>
Tatu Saloranta7eeabba2014-04-26 12:23:49 -070093 <plugins>
Tatu Saloranta4294ffc2014-09-03 22:40:45 -070094 <plugin>
Tatu Salorantad063daa2012-02-24 16:09:04 -080095 <groupId>org.apache.maven.plugins</groupId>
Cowtowncoder044bb5a2014-10-03 10:50:17 -070096 <version>${version.plugin.surefire}</version>
Tatu Salorantad063daa2012-02-24 16:09:04 -080097 <artifactId>maven-surefire-plugin</artifactId>
Tatu Salorantad063daa2012-02-24 16:09:04 -080098 <configuration>
Michael Spiegele7c54202014-11-26 20:40:21 -050099 <classpathDependencyExcludes>
Michael Spiegel95f3fab2014-11-29 10:51:55 -0500100 <exclude>javax.measure:jsr-275</exclude>
Michael Spiegele7c54202014-11-26 20:40:21 -0500101 </classpathDependencyExcludes>
Tatu Salorantad063daa2012-02-24 16:09:04 -0800102 <excludes>
103 <exclude>com/fasterxml/jackson/failing/*.java</exclude>
104 </excludes>
105 </configuration>
106 </plugin>
simonetripodi451776a2012-08-24 14:21:58 +0200107
Tatu Salorantad063daa2012-02-24 16:09:04 -0800108 <plugin>
109 <groupId>org.apache.maven.plugins</groupId>
simonetripodi451776a2012-08-24 14:21:58 +0200110 <artifactId>maven-javadoc-plugin</artifactId>
Tatu Saloranta4294ffc2014-09-03 22:40:45 -0700111 <version>${version.plugin.javadoc}</version>
simonetripodi451776a2012-08-24 14:21:58 +0200112 <configuration>
Tatu Saloranta861ee512015-06-24 20:28:04 -0700113<!-- Only works on Java 8:
Tatu Salorantac930a0c2015-06-24 20:17:51 -0700114 <additionalparam>-Xdoclint:none</additionalparam>
Tatu Saloranta861ee512015-06-24 20:28:04 -0700115-->
116<!-- so with Java 7, use this: -->
117 <failOnError>false</failOnError>
simonetripodi451776a2012-08-24 14:21:58 +0200118 <links>
Tatu Salorantac930a0c2015-06-24 20:17:51 -0700119 <link>http://docs.oracle.com/javase/7/docs/api/</link>
Tatu Salorantaaaee7bd2016-01-09 22:04:32 -0800120 <link>http://fasterxml.github.com/jackson-annotations/javadoc/2.7</link>
121 <link>http://fasterxml.github.com/jackson-core/javadoc/2.7</link>
simonetripodi451776a2012-08-24 14:21:58 +0200122 </links>
123 </configuration>
Tatu Salorantad063daa2012-02-24 16:09:04 -0800124 </plugin>
Tatu Salorantafe45e712013-12-13 20:09:00 -0800125
126 <!-- May want to configure debug info -->
127 <plugin>
Ben Gertzfield66a12b62013-01-04 12:01:07 -0800128 <!-- Inherited from oss-base. Generate PackageVersion.java.-->
Ben Gertzfield5780f882013-01-03 17:04:21 -0800129 <groupId>com.google.code.maven-replacer-plugin</groupId>
Ben Gertzfield66a12b62013-01-04 12:01:07 -0800130 <artifactId>replacer</artifactId>
Ben Gertzfield5780f882013-01-03 17:04:21 -0800131 <executions>
132 <execution>
Ben Gertzfield66a12b62013-01-04 12:01:07 -0800133 <id>process-packageVersion</id>
Ben Gertzfield5780f882013-01-03 17:04:21 -0800134 <phase>process-sources</phase>
Ben Gertzfield5780f882013-01-03 17:04:21 -0800135 </execution>
136 </executions>
Ben Gertzfield5780f882013-01-03 17:04:21 -0800137 </plugin>
Tatu Saloranta90c43522011-12-22 23:25:27 -0800138 </plugins>
139 </build>
Tatu Saloranta65c83692011-12-24 18:15:07 -0800140
Tatu Salorantac3b37042014-05-20 12:47:01 -0700141 <reporting>
142 <plugins>
143 <plugin>
144 <groupId>org.codehaus.mojo</groupId>
145 <artifactId>cobertura-maven-plugin</artifactId>
146 </plugin>
147 </plugins>
148 </reporting>
149
Tatu Saloranta90c43522011-12-22 23:25:27 -0800150 <profiles>
Tatu Saloranta9af59042012-02-19 00:03:55 -0800151 <profile>
152 <id>release</id>
153 <properties>
154 <maven.test.skip>true</maven.test.skip>
155 <skipTests>true</skipTests>
156 </properties>
simonetripodi451776a2012-08-24 14:21:58 +0200157 </profile>
Tatu Saloranta90c43522011-12-22 23:25:27 -0800158 </profiles>
Tatu Saloranta90c43522011-12-22 23:25:27 -0800159
160</project>