| <?xml version="1.0" encoding="UTF-8"?> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>com.fasterxml.jackson</groupId> |
| <artifactId>jackson-parent</artifactId> |
| <version>2.7</version> |
| </parent> |
| |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>2.7.9.4-SNAPSHOT</version> |
| <name>jackson-databind</name> |
| <packaging>bundle</packaging> |
| <description>General data-binding functionality for Jackson: works on core streaming API</description> |
| <url>http://github.com/FasterXML/jackson</url> |
| <inceptionYear>2008</inceptionYear> |
| |
| <scm> |
| <connection>scm:git:git@github.com:FasterXML/jackson-databind.git</connection> |
| <developerConnection>scm:git:git@github.com:FasterXML/jackson-databind.git</developerConnection> |
| <url>http://github.com/FasterXML/jackson-databind</url> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <properties> |
| <!-- Ok, so, Jackson 2.7 require JDK 1.7 (except for annotations/streaming). But |
| we do not have strict need for Java 7 bytecode. And, unfortunately, it looks |
| like we have some issues with Mockito tests if we try to go "full 1.7"... |
| So that is why... this: |
| --> |
| <javac.src.version>1.6</javac.src.version> |
| <javac.target.version>1.6</javac.target.version> |
| |
| <!-- Can not use default, since group id != Java package name here --> |
| <osgi.export>com.fasterxml.jackson.databind.*;version=${project.version}</osgi.export> |
| <!-- but imports should work fine with defaults --> |
| |
| <!-- Generate PackageVersion.java into this directory. --> |
| <packageVersion.dir>com/fasterxml/jackson/databind/cfg</packageVersion.dir> |
| <packageVersion.package>com.fasterxml.jackson.databind.cfg</packageVersion.package> |
| </properties> |
| |
| <dependencies> |
| <!-- Builds on core streaming API; also needs core annotations --> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-annotations</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| <version>2.7.9</version> |
| </dependency> |
| |
| <!-- and for testing we need a few libraries |
| libs for which we use reflection for code, but direct dep for testing |
| --> |
| <!-- Mock --> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4</artifactId> |
| <version>1.6.3</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-mockito</artifactId> |
| <version>1.6.3</version> |
| <scope>test</scope> |
| </dependency> |
| <!-- For testing TestNoClassDefFoundDeserializer --> |
| <dependency> |
| <groupId>javax.measure</groupId> |
| <artifactId>jsr-275</artifactId> |
| <version>1.0.0</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <version>${version.plugin.surefire}</version> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <classpathDependencyExcludes> |
| <exclude>javax.measure:jsr-275</exclude> |
| </classpathDependencyExcludes> |
| <excludes> |
| <exclude>com/fasterxml/jackson/failing/*.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${version.plugin.javadoc}</version> |
| <configuration> |
| <!-- Only works on Java 8: |
| <additionalparam>-Xdoclint:none</additionalparam> |
| --> |
| <!-- so with Java 7, use this: --> |
| <failOnError>false</failOnError> |
| <links> |
| <link>http://docs.oracle.com/javase/7/docs/api/</link> |
| <link>http://fasterxml.github.com/jackson-annotations/javadoc/2.7</link> |
| <link>http://fasterxml.github.com/jackson-core/javadoc/2.7</link> |
| </links> |
| </configuration> |
| </plugin> |
| |
| <!-- May want to configure debug info --> |
| <plugin> |
| <!-- Inherited from oss-base. Generate PackageVersion.java.--> |
| <groupId>com.google.code.maven-replacer-plugin</groupId> |
| <artifactId>replacer</artifactId> |
| <executions> |
| <execution> |
| <id>process-packageVersion</id> |
| <phase>process-sources</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <profiles> |
| <profile> |
| <id>release</id> |
| <properties> |
| <maven.test.skip>true</maven.test.skip> |
| <skipTests>true</skipTests> |
| </properties> |
| </profile> |
| </profiles> |
| |
| </project> |