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 | f9ea979 | 2017-09-09 17:27:52 -0700 | [diff] [blame] | 7 | <artifactId>jackson-base</artifactId> |
Tatu Saloranta | 429af04 | 2020-03-02 19:11:28 -0800 | [diff] [blame] | 8 | <version>2.10.3</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 | fa67a16 | 2020-03-02 19:14:56 -0800 | [diff] [blame^] | 13 | <version>2.10.3</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 | fa67a16 | 2020-03-02 19:14:56 -0800 | [diff] [blame^] | 24 | <tag>jackson-databind-2.10.3</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 | 8658f24 | 2018-06-14 10:04:39 -0700 | [diff] [blame] | 28 | <!-- With Jackson 2.10 baseline is 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> |
Tatu Saloranta | 3ebfcd1 | 2019-04-15 21:08:23 -0700 | [diff] [blame] | 39 | <!-- fix for databind#2299: using jackson-databind in an OSGi environment under Android --> |
| 40 | <osgi.import> |
Tatu Saloranta | 7da282d | 2019-04-15 21:05:00 -0700 | [diff] [blame] | 41 | org.w3c.dom.bootstrap;resolution:=optional, |
Tatu Saloranta | 3ebfcd1 | 2019-04-15 21:08:23 -0700 | [diff] [blame] | 42 | * |
Tatu Saloranta | 7da282d | 2019-04-15 21:05:00 -0700 | [diff] [blame] | 43 | </osgi.import> |
Ben Gertzfield | 5780f88 | 2013-01-03 17:04:21 -0800 | [diff] [blame] | 44 | |
Ben Gertzfield | 66a12b6 | 2013-01-04 12:01:07 -0800 | [diff] [blame] | 45 | <!-- Generate PackageVersion.java into this directory. --> |
Tatu Saloranta | f314ac7 | 2013-01-10 19:50:17 -0800 | [diff] [blame] | 46 | <packageVersion.dir>com/fasterxml/jackson/databind/cfg</packageVersion.dir> |
Ben Gertzfield | 66a12b6 | 2013-01-04 12:01:07 -0800 | [diff] [blame] | 47 | <packageVersion.package>com.fasterxml.jackson.databind.cfg</packageVersion.package> |
Tatu Saloranta | 3ac8ccc | 2017-09-07 10:08:39 -0700 | [diff] [blame] | 48 | |
Tatu Saloranta | 77bd2ef | 2019-02-08 19:25:12 -0800 | [diff] [blame] | 49 | <version.powermock>2.0.0</version.powermock> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 50 | </properties> |
| 51 | |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 52 | <dependencies> |
| 53 | <!-- Builds on core streaming API; also needs core annotations --> |
| 54 | <dependency> |
| 55 | <groupId>com.fasterxml.jackson.core</groupId> |
Tatu Saloranta | deaee9c | 2012-03-25 12:01:34 -0700 | [diff] [blame] | 56 | <artifactId>jackson-annotations</artifactId> |
Tatu Saloranta | cd6ebaf | 2017-03-06 20:10:33 -0800 | [diff] [blame] | 57 | <!-- 06-Mar-2017, tatu: Although bom provides for dependencies, some legacy |
| 58 | usage seems to benefit from actually specifying version here in case |
| 59 | it is dependent on transitively |
| 60 | --> |
| 61 | <version>${jackson.version.annotations}</version> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>com.fasterxml.jackson.core</groupId> |
Tatu Saloranta | deaee9c | 2012-03-25 12:01:34 -0700 | [diff] [blame] | 65 | <artifactId>jackson-core</artifactId> |
Tatu Saloranta | cd6ebaf | 2017-03-06 20:10:33 -0800 | [diff] [blame] | 66 | <version>${jackson.version.core}</version> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 67 | </dependency> |
Tatu Saloranta | 6e21fbf | 2011-12-24 10:08:25 -0800 | [diff] [blame] | 68 | |
Tatu Saloranta | 0946809 | 2014-02-28 20:37:39 -0800 | [diff] [blame] | 69 | <!-- and for testing we need a few libraries |
Tatu Saloranta | 6e21fbf | 2011-12-24 10:08:25 -0800 | [diff] [blame] | 70 | libs for which we use reflection for code, but direct dep for testing |
| 71 | --> |
Tatu Saloranta | 504464d | 2016-05-03 19:25:52 -0700 | [diff] [blame] | 72 | |
| 73 | <dependency> |
lufe66 | cfe88fe | 2015-06-30 15:35:30 +0200 | [diff] [blame] | 74 | <groupId>org.powermock</groupId> |
Tatu Saloranta | 77bd2ef | 2019-02-08 19:25:12 -0800 | [diff] [blame] | 75 | <artifactId>powermock-core</artifactId> |
| 76 | <version>${version.powermock}</version> |
lufe66 | cfe88fe | 2015-06-30 15:35:30 +0200 | [diff] [blame] | 77 | <scope>test</scope> |
Tatu Saloranta | 3c35f1c | 2015-11-28 12:18:48 -0800 | [diff] [blame] | 78 | </dependency> |
| 79 | <dependency> |
lufe66 | cfe88fe | 2015-06-30 15:35:30 +0200 | [diff] [blame] | 80 | <groupId>org.powermock</groupId> |
Tatu Saloranta | 77bd2ef | 2019-02-08 19:25:12 -0800 | [diff] [blame] | 81 | <artifactId>powermock-module-junit4</artifactId> |
| 82 | <version>${version.powermock}</version> |
| 83 | <scope>test</scope> |
| 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>org.powermock</groupId> |
| 87 | <artifactId>powermock-api-mockito2</artifactId> |
| 88 | <version>${version.powermock}</version> |
lufe66 | cfe88fe | 2015-06-30 15:35:30 +0200 | [diff] [blame] | 89 | <scope>test</scope> |
Tatu Saloranta | 3c35f1c | 2015-11-28 12:18:48 -0800 | [diff] [blame] | 90 | </dependency> |
Michael Spiegel | e7c5420 | 2014-11-26 20:40:21 -0500 | [diff] [blame] | 91 | <!-- For testing TestNoClassDefFoundDeserializer --> |
| 92 | <dependency> |
Michael Spiegel | 95f3fab | 2014-11-29 10:51:55 -0500 | [diff] [blame] | 93 | <groupId>javax.measure</groupId> |
| 94 | <artifactId>jsr-275</artifactId> |
Cowtowncoder | 37b4ad5 | 2015-10-02 17:09:37 -0700 | [diff] [blame] | 95 | <version>1.0.0</version> |
Michael Spiegel | e7c5420 | 2014-11-26 20:40:21 -0500 | [diff] [blame] | 96 | <scope>test</scope> |
| 97 | </dependency> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 98 | </dependencies> |
| 99 | |
Tatu Saloranta | dd97c73 | 2018-03-26 21:04:35 -0700 | [diff] [blame] | 100 | <!-- Alas, need to include snapshot reference since otherwise can not find |
| 101 | snapshot of parent... --> |
| 102 | <repositories> |
| 103 | <repository> |
| 104 | <id>sonatype-nexus-snapshots</id> |
| 105 | <name>Sonatype Nexus Snapshots</name> |
| 106 | <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 107 | <releases><enabled>false</enabled></releases> |
| 108 | <snapshots><enabled>true</enabled></snapshots> |
| 109 | </repository> |
| 110 | </repositories> |
| 111 | |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 112 | <build> |
Tatu Saloranta | 7eeabba | 2014-04-26 12:23:49 -0700 | [diff] [blame] | 113 | <plugins> |
Tatu Saloranta | b6e6e57 | 2019-08-24 16:23:24 -0700 | [diff] [blame] | 114 | |
| 115 | <plugin> |
| 116 | <groupId>org.jacoco</groupId> |
| 117 | <artifactId>jacoco-maven-plugin</artifactId> |
| 118 | <version>0.8.4</version> |
| 119 | <executions> |
| 120 | <execution> |
| 121 | <goals> |
| 122 | <goal>prepare-agent</goal> |
| 123 | </goals> |
| 124 | </execution> |
| 125 | <!-- attached to Maven test phase --> |
| 126 | <execution> |
| 127 | <id>report</id> |
| 128 | <phase>test</phase> |
| 129 | <goals> |
| 130 | <goal>report</goal> |
| 131 | </goals> |
| 132 | </execution> |
| 133 | </executions> |
| 134 | </plugin> |
| 135 | |
Tatu Saloranta | f9ea979 | 2017-09-09 17:27:52 -0700 | [diff] [blame] | 136 | <!-- Important: enable enforcer plug-in: --> |
| 137 | <plugin> |
| 138 | <artifactId>maven-enforcer-plugin</artifactId> |
| 139 | <executions> <!-- or? combine.children="merge"> --> |
| 140 | <execution> |
| 141 | <id>enforce-properties</id> |
| 142 | <phase>validate</phase> |
| 143 | <goals><goal>enforce</goal></goals> |
| 144 | </execution> |
| 145 | </executions> |
| 146 | </plugin> |
| 147 | |
Tatu Saloranta | 4294ffc | 2014-09-03 22:40:45 -0700 | [diff] [blame] | 148 | <plugin> |
Tatu Saloranta | d063daa | 2012-02-24 16:09:04 -0800 | [diff] [blame] | 149 | <groupId>org.apache.maven.plugins</groupId> |
Cowtowncoder | 044bb5a | 2014-10-03 10:50:17 -0700 | [diff] [blame] | 150 | <version>${version.plugin.surefire}</version> |
Tatu Saloranta | d063daa | 2012-02-24 16:09:04 -0800 | [diff] [blame] | 151 | <artifactId>maven-surefire-plugin</artifactId> |
Tatu Saloranta | d063daa | 2012-02-24 16:09:04 -0800 | [diff] [blame] | 152 | <configuration> |
Michael Spiegel | e7c5420 | 2014-11-26 20:40:21 -0500 | [diff] [blame] | 153 | <classpathDependencyExcludes> |
Michael Spiegel | 95f3fab | 2014-11-29 10:51:55 -0500 | [diff] [blame] | 154 | <exclude>javax.measure:jsr-275</exclude> |
Michael Spiegel | e7c5420 | 2014-11-26 20:40:21 -0500 | [diff] [blame] | 155 | </classpathDependencyExcludes> |
Tatu Saloranta | d063daa | 2012-02-24 16:09:04 -0800 | [diff] [blame] | 156 | <excludes> |
| 157 | <exclude>com/fasterxml/jackson/failing/*.java</exclude> |
| 158 | </excludes> |
Tatu Saloranta | 88e3f04 | 2019-11-26 13:22:58 -0800 | [diff] [blame] | 159 | <!-- 26-Nov-2019, tatu: moar parallelism! Per-class basis, safe, efficient enough |
| 160 | ... although not 100% sure this makes much difference TBH |
| 161 | --> |
| 162 | <threadCount>4</threadCount> |
| 163 | <parallel>classes</parallel> |
Tatu Saloranta | d063daa | 2012-02-24 16:09:04 -0800 | [diff] [blame] | 164 | </configuration> |
| 165 | </plugin> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 166 | |
Tatu Saloranta | f9ea979 | 2017-09-09 17:27:52 -0700 | [diff] [blame] | 167 | <!-- parent definitions should be ok, but need to add more links --> |
Tatu Saloranta | d063daa | 2012-02-24 16:09:04 -0800 | [diff] [blame] | 168 | <plugin> |
| 169 | <groupId>org.apache.maven.plugins</groupId> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 170 | <artifactId>maven-javadoc-plugin</artifactId> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 171 | <configuration> |
Tatu Saloranta | f9ea979 | 2017-09-09 17:27:52 -0700 | [diff] [blame] | 172 | <links combine.children="append"> |
Tatu Saloranta | 26ce3dc | 2019-03-08 21:25:43 -0800 | [diff] [blame] | 173 | <link>http://fasterxml.github.com/jackson-annotations/javadoc/2.10</link> |
| 174 | <link>http://fasterxml.github.com/jackson-core/javadoc/2.10</link> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 175 | </links> |
| 176 | </configuration> |
Tatu Saloranta | d063daa | 2012-02-24 16:09:04 -0800 | [diff] [blame] | 177 | </plugin> |
Tatu Saloranta | fe45e71 | 2013-12-13 20:09:00 -0800 | [diff] [blame] | 178 | |
Tatu Saloranta | f9ea979 | 2017-09-09 17:27:52 -0700 | [diff] [blame] | 179 | <!-- settings are fine, but needed to trigger execution! --> |
Tatu Saloranta | fe45e71 | 2013-12-13 20:09:00 -0800 | [diff] [blame] | 180 | <plugin> |
Ben Gertzfield | 5780f88 | 2013-01-03 17:04:21 -0800 | [diff] [blame] | 181 | <groupId>com.google.code.maven-replacer-plugin</groupId> |
Ben Gertzfield | 66a12b6 | 2013-01-04 12:01:07 -0800 | [diff] [blame] | 182 | <artifactId>replacer</artifactId> |
Ben Gertzfield | 5780f88 | 2013-01-03 17:04:21 -0800 | [diff] [blame] | 183 | </plugin> |
Tatu Saloranta | 975e360 | 2016-10-18 14:10:20 -0700 | [diff] [blame] | 184 | |
Tatu Saloranta | 26ce3dc | 2019-03-08 21:25:43 -0800 | [diff] [blame] | 185 | <!-- 04-Mar-2019, tatu: Add rudimentary JDK9+ module info. To build with JDK 8 |
| 186 | will have to use `moduleInfoFile` as anything else requires JDK 9+ |
| 187 | --> |
Tatu Saloranta | 975e360 | 2016-10-18 14:10:20 -0700 | [diff] [blame] | 188 | <plugin> |
Tatu Saloranta | 26ce3dc | 2019-03-08 21:25:43 -0800 | [diff] [blame] | 189 | <groupId>org.moditect</groupId> |
| 190 | <artifactId>moditect-maven-plugin</artifactId> |
Tatu Saloranta | 975e360 | 2016-10-18 14:10:20 -0700 | [diff] [blame] | 191 | </plugin> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 192 | </plugins> |
| 193 | </build> |
Tatu Saloranta | 65c8369 | 2011-12-24 18:15:07 -0800 | [diff] [blame] | 194 | |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 195 | <profiles> |
Tatu Saloranta | 9af5904 | 2012-02-19 00:03:55 -0800 | [diff] [blame] | 196 | <profile> |
| 197 | <id>release</id> |
| 198 | <properties> |
| 199 | <maven.test.skip>true</maven.test.skip> |
| 200 | <skipTests>true</skipTests> |
| 201 | </properties> |
simonetripodi | 451776a | 2012-08-24 14:21:58 +0200 | [diff] [blame] | 202 | </profile> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 203 | </profiles> |
Tatu Saloranta | 90c4352 | 2011-12-22 23:25:27 -0800 | [diff] [blame] | 204 | |
| 205 | </project> |