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