simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 2 | <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 Gertzfield | 66a12b6 | 2013-01-04 12:01:07 -0800 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 4 | |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 5 | <parent> |
Tatu Saloranta | 0946809 | 2014-02-28 20:37:39 -0800 | [diff] [blame] | 6 | <groupId>com.fasterxml.jackson</groupId> |
Tatu Saloranta | cde4792 | 2017-03-01 17:30:11 -0800 | [diff] [blame] | 7 | <artifactId>jackson-bom</artifactId> |
Tatu Saloranta | 45d4408 | 2017-09-07 17:48:17 -0700 | [diff] [blame] | 8 | <version>2.9.1</version> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 9 | </parent> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 10 | |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 11 | <groupId>com.fasterxml.jackson.core</groupId> |
| 12 | <artifactId>jackson-databind</artifactId> |
Tatu Saloranta | 5254c37 | 2017-09-07 18:09:09 -0700 | [diff] [blame^] | 13 | <version>2.9.2-SNAPSHOT</version> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 14 | <name>jackson-databind</name> |
Lukasz Dywicki | 9fb18f4 | 2013-09-03 19:27:55 +0200 | [diff] [blame] | 15 | <packaging>bundle</packaging> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 16 | <description>General data-binding functionality for Jackson: works on core streaming API</description> |
Tatu Saloranta | 7cf95f1 | 2014-11-06 08:28:25 -0800 | [diff] [blame] | 17 | <url>http://github.com/FasterXML/jackson</url> |
Cowtowncoder | 16aa305 | 2015-10-07 11:14:52 -0700 | [diff] [blame] | 18 | <inceptionYear>2008</inceptionYear> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 19 | |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 20 | <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 Gertzfield | 66a12b6 | 2013-01-04 12:01:07 -0800 | [diff] [blame] | 23 | <url>http://github.com/FasterXML/jackson-databind</url> |
Tatu Saloranta | 5254c37 | 2017-09-07 18:09:09 -0700 | [diff] [blame^] | 24 | <tag>HEAD</tag> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 25 | </scm> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 26 | |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 27 | <properties> |
Tatu Saloranta | 6580734 | 2016-09-15 18:15:09 -0700 | [diff] [blame] | 28 | <!-- With Jackson 2.9 we will require JDK 7 (except for annotations/streaming), |
Tatu Saloranta | 5fdb932 | 2016-02-28 17:47:30 -0800 | [diff] [blame] | 29 | and new language features (diamond pattern) may be used. |
Tatu Saloranta | 6580734 | 2016-09-15 18:15:09 -0700 | [diff] [blame] | 30 | JDK classes are still loaded dynamically since there isn't much downside |
| 31 | (small number of types); this allows use on JDK 6 platforms still (including |
| 32 | Android) |
Cowtowncoder | 37b4ad5 | 2015-10-02 17:09:37 -0700 | [diff] [blame] | 33 | --> |
Tatu Saloranta | 8f4b623 | 2016-02-03 19:03:17 -0800 | [diff] [blame] | 34 | <javac.src.version>1.7</javac.src.version> |
| 35 | <javac.target.version>1.7</javac.target.version> |
Cowtowncoder | 37b4ad5 | 2015-10-02 17:09:37 -0700 | [diff] [blame] | 36 | |
Cowtowncoder | 129180d | 2015-08-14 14:54:06 -0700 | [diff] [blame] | 37 | <!-- Can not use default, since group id != Java package name here --> |
| 38 | <osgi.export>com.fasterxml.jackson.databind.*;version=${project.version}</osgi.export> |
| 39 | <!-- but imports should work fine with defaults --> |
Ben Gertzfield | 5780f88 | 2013-01-03 17:04:21 -0800 | [diff] [blame] | 40 | |
Ben Gertzfield | 66a12b6 | 2013-01-04 12:01:07 -0800 | [diff] [blame] | 41 | <!-- Generate PackageVersion.java into this directory. --> |
Tatu Saloranta | f314ac7 | 2013-01-10 19:50:17 -0800 | [diff] [blame] | 42 | <packageVersion.dir>com/fasterxml/jackson/databind/cfg</packageVersion.dir> |
Ben Gertzfield | 66a12b6 | 2013-01-04 12:01:07 -0800 | [diff] [blame] | 43 | <packageVersion.package>com.fasterxml.jackson.databind.cfg</packageVersion.package> |
Tatu Saloranta | 3ac8ccc | 2017-09-07 10:08:39 -0700 | [diff] [blame] | 44 | |
| 45 | <!-- since 2.9.1: NOTE! can not use packageVersion.package as is --> |
| 46 | <jdk.module.name>com.fasterxml.jackson.databind</jdk.module.name> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 47 | </properties> |
| 48 | |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 49 | <dependencies> |
| 50 | <!-- Builds on core streaming API; also needs core annotations --> |
| 51 | <dependency> |
| 52 | <groupId>com.fasterxml.jackson.core</groupId> |
Tatu Saloranta | deaee9c | 2012-03-25 12:01:34 -0700 | [diff] [blame] | 53 | <artifactId>jackson-annotations</artifactId> |
Tatu Saloranta | cd6ebaf | 2017-03-06 20:10:33 -0800 | [diff] [blame] | 54 | <!-- 06-Mar-2017, tatu: Although bom provides for dependencies, some legacy |
| 55 | usage seems to benefit from actually specifying version here in case |
| 56 | it is dependent on transitively |
| 57 | --> |
| 58 | <version>${jackson.version.annotations}</version> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>com.fasterxml.jackson.core</groupId> |
Tatu Saloranta | deaee9c | 2012-03-25 12:01:34 -0700 | [diff] [blame] | 62 | <artifactId>jackson-core</artifactId> |
Tatu Saloranta | cd6ebaf | 2017-03-06 20:10:33 -0800 | [diff] [blame] | 63 | <version>${jackson.version.core}</version> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 64 | </dependency> |
Tatu Saloranta | 6e21fbf | 2011-12-24 10:08:25 -0800 | [diff] [blame] | 65 | |
Tatu Saloranta | 0946809 | 2014-02-28 20:37:39 -0800 | [diff] [blame] | 66 | <!-- and for testing we need a few libraries |
Tatu Saloranta | 6e21fbf | 2011-12-24 10:08:25 -0800 | [diff] [blame] | 67 | libs for which we use reflection for code, but direct dep for testing |
| 68 | --> |
Tatu Saloranta | 504464d | 2016-05-03 19:25:52 -0700 | [diff] [blame] | 69 | |
| 70 | <dependency> |
| 71 | <groupId>junit</groupId> |
| 72 | <artifactId>junit</artifactId> |
| 73 | <scope>test</scope> |
| 74 | </dependency> |
Tatu Saloranta | 3c35f1c | 2015-11-28 12:18:48 -0800 | [diff] [blame] | 75 | <dependency> |
lufe66 | cfe88fe | 2015-06-30 15:35:30 +0200 | [diff] [blame] | 76 | <groupId>org.powermock</groupId> |
| 77 | <artifactId>powermock-module-junit4</artifactId> |
Tatu Saloranta | 14b49cb | 2016-05-21 09:18:01 -0700 | [diff] [blame] | 78 | <version>1.6.5</version> |
lufe66 | cfe88fe | 2015-06-30 15:35:30 +0200 | [diff] [blame] | 79 | <scope>test</scope> |
Tatu Saloranta | 3c35f1c | 2015-11-28 12:18:48 -0800 | [diff] [blame] | 80 | </dependency> |
| 81 | <dependency> |
lufe66 | cfe88fe | 2015-06-30 15:35:30 +0200 | [diff] [blame] | 82 | <groupId>org.powermock</groupId> |
| 83 | <artifactId>powermock-api-mockito</artifactId> |
Tatu Saloranta | 14b49cb | 2016-05-21 09:18:01 -0700 | [diff] [blame] | 84 | <version>1.6.5</version> |
lufe66 | cfe88fe | 2015-06-30 15:35:30 +0200 | [diff] [blame] | 85 | <scope>test</scope> |
Tatu Saloranta | 3c35f1c | 2015-11-28 12:18:48 -0800 | [diff] [blame] | 86 | </dependency> |
Michael Spiegel | e7c5420 | 2014-11-26 20:40:21 -0500 | [diff] [blame] | 87 | <!-- For testing TestNoClassDefFoundDeserializer --> |
| 88 | <dependency> |
Michael Spiegel | 95f3fab | 2014-11-29 10:51:55 -0500 | [diff] [blame] | 89 | <groupId>javax.measure</groupId> |
| 90 | <artifactId>jsr-275</artifactId> |
Cowtowncoder | 37b4ad5 | 2015-10-02 17:09:37 -0700 | [diff] [blame] | 91 | <version>1.0.0</version> |
Michael Spiegel | e7c5420 | 2014-11-26 20:40:21 -0500 | [diff] [blame] | 92 | <scope>test</scope> |
| 93 | </dependency> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 94 | </dependencies> |
| 95 | |
| 96 | <build> |
Tatu Saloranta | 7eeabba | 2014-04-26 12:23:49 -0700 | [diff] [blame] | 97 | <plugins> |
Tatu Saloranta | 4294ffc | 2014-09-03 22:40:45 -0700 | [diff] [blame] | 98 | <plugin> |
Tatu Saloranta | d063daa | 2012-02-24 16:09:04 -0800 | [diff] [blame] | 99 | <groupId>org.apache.maven.plugins</groupId> |
Cowtowncoder | 044bb5a | 2014-10-03 10:50:17 -0700 | [diff] [blame] | 100 | <version>${version.plugin.surefire}</version> |
Tatu Saloranta | d063daa | 2012-02-24 16:09:04 -0800 | [diff] [blame] | 101 | <artifactId>maven-surefire-plugin</artifactId> |
Tatu Saloranta | d063daa | 2012-02-24 16:09:04 -0800 | [diff] [blame] | 102 | <configuration> |
Michael Spiegel | e7c5420 | 2014-11-26 20:40:21 -0500 | [diff] [blame] | 103 | <classpathDependencyExcludes> |
Michael Spiegel | 95f3fab | 2014-11-29 10:51:55 -0500 | [diff] [blame] | 104 | <exclude>javax.measure:jsr-275</exclude> |
Michael Spiegel | e7c5420 | 2014-11-26 20:40:21 -0500 | [diff] [blame] | 105 | </classpathDependencyExcludes> |
Tatu Saloranta | d063daa | 2012-02-24 16:09:04 -0800 | [diff] [blame] | 106 | <excludes> |
| 107 | <exclude>com/fasterxml/jackson/failing/*.java</exclude> |
| 108 | </excludes> |
| 109 | </configuration> |
| 110 | </plugin> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 111 | |
Tatu Saloranta | d063daa | 2012-02-24 16:09:04 -0800 | [diff] [blame] | 112 | <plugin> |
| 113 | <groupId>org.apache.maven.plugins</groupId> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 114 | <artifactId>maven-javadoc-plugin</artifactId> |
Tatu Saloranta | 4294ffc | 2014-09-03 22:40:45 -0700 | [diff] [blame] | 115 | <version>${version.plugin.javadoc}</version> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 116 | <configuration> |
Tatu Saloranta | 861ee51 | 2015-06-24 20:28:04 -0700 | [diff] [blame] | 117 | <!-- Only works on Java 8: |
Tatu Saloranta | c930a0c | 2015-06-24 20:17:51 -0700 | [diff] [blame] | 118 | <additionalparam>-Xdoclint:none</additionalparam> |
Tatu Saloranta | 861ee51 | 2015-06-24 20:28:04 -0700 | [diff] [blame] | 119 | --> |
| 120 | <!-- so with Java 7, use this: --> |
| 121 | <failOnError>false</failOnError> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 122 | <links> |
Tatu Saloranta | c930a0c | 2015-06-24 20:17:51 -0700 | [diff] [blame] | 123 | <link>http://docs.oracle.com/javase/7/docs/api/</link> |
Tatu Saloranta | 3ac8ccc | 2017-09-07 10:08:39 -0700 | [diff] [blame] | 124 | <link>http://fasterxml.github.com/jackson-annotations/javadoc/2.9</link> |
| 125 | <link>http://fasterxml.github.com/jackson-core/javadoc/2.9</link> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 126 | </links> |
| 127 | </configuration> |
Tatu Saloranta | d063daa | 2012-02-24 16:09:04 -0800 | [diff] [blame] | 128 | </plugin> |
Tatu Saloranta | fe45e71 | 2013-12-13 20:09:00 -0800 | [diff] [blame] | 129 | |
| 130 | <!-- May want to configure debug info --> |
| 131 | <plugin> |
Ben Gertzfield | 66a12b6 | 2013-01-04 12:01:07 -0800 | [diff] [blame] | 132 | <!-- Inherited from oss-base. Generate PackageVersion.java.--> |
Ben Gertzfield | 5780f88 | 2013-01-03 17:04:21 -0800 | [diff] [blame] | 133 | <groupId>com.google.code.maven-replacer-plugin</groupId> |
Ben Gertzfield | 66a12b6 | 2013-01-04 12:01:07 -0800 | [diff] [blame] | 134 | <artifactId>replacer</artifactId> |
Ben Gertzfield | 5780f88 | 2013-01-03 17:04:21 -0800 | [diff] [blame] | 135 | <executions> |
| 136 | <execution> |
Ben Gertzfield | 66a12b6 | 2013-01-04 12:01:07 -0800 | [diff] [blame] | 137 | <id>process-packageVersion</id> |
Ben Gertzfield | 5780f88 | 2013-01-03 17:04:21 -0800 | [diff] [blame] | 138 | <phase>process-sources</phase> |
Ben Gertzfield | 5780f88 | 2013-01-03 17:04:21 -0800 | [diff] [blame] | 139 | </execution> |
| 140 | </executions> |
Ben Gertzfield | 5780f88 | 2013-01-03 17:04:21 -0800 | [diff] [blame] | 141 | </plugin> |
Tatu Saloranta | 975e360 | 2016-10-18 14:10:20 -0700 | [diff] [blame] | 142 | |
| 143 | <!-- 18-Oct-2016, tatu: Try to make coveralls work --> |
| 144 | <plugin> |
| 145 | <groupId>org.eluder.coveralls</groupId> |
| 146 | <artifactId>coveralls-maven-plugin</artifactId> |
| 147 | <version>4.3.0</version> |
| 148 | </plugin> |
| 149 | |
Tatu Saloranta | 4a98917 | 2017-08-23 21:12:25 -0700 | [diff] [blame] | 150 | <!-- 08-Aug-2017, tatu: Need newer version of cobertura... --> |
| 151 | <plugin> |
| 152 | <groupId>org.codehaus.mojo</groupId> |
| 153 | <artifactId>cobertura-maven-plugin</artifactId> |
| 154 | <version>2.7</version> |
| 155 | </plugin> |
Tatu Saloranta | 3ac8ccc | 2017-09-07 10:08:39 -0700 | [diff] [blame] | 156 | |
| 157 | <!-- 06-Sep-2017, tatu: Try to generate "automatic module name" --> |
| 158 | <plugin> |
| 159 | <groupId>org.apache.felix</groupId> |
| 160 | <artifactId>maven-bundle-plugin</artifactId> |
| 161 | <configuration> |
| 162 | <!-- note: usually would use `packageVersion.package`, but need slight variation here --> |
| 163 | <instructions combine.children="merge"> |
| 164 | <Automatic-Module-Name>${jdk.module.name}</Automatic-Module-Name> |
| 165 | </instructions> |
| 166 | </configuration> |
| 167 | </plugin> |
| 168 | |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 169 | </plugins> |
| 170 | </build> |
Tatu Saloranta | 65c8369 | 2011-12-24 18:15:07 -0800 | [diff] [blame] | 171 | |
Tatu Saloranta | c3b3704 | 2014-05-20 12:47:01 -0700 | [diff] [blame] | 172 | <reporting> |
| 173 | <plugins> |
| 174 | <plugin> |
| 175 | <groupId>org.codehaus.mojo</groupId> |
| 176 | <artifactId>cobertura-maven-plugin</artifactId> |
| 177 | </plugin> |
| 178 | </plugins> |
| 179 | </reporting> |
| 180 | |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 181 | <profiles> |
Tatu Saloranta | 9af5904 | 2012-02-19 00:03:55 -0800 | [diff] [blame] | 182 | <profile> |
| 183 | <id>release</id> |
| 184 | <properties> |
| 185 | <maven.test.skip>true</maven.test.skip> |
| 186 | <skipTests>true</skipTests> |
| 187 | </properties> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 188 | </profile> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 189 | </profiles> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 190 | |
| 191 | </project> |