POM文件内容: |
<?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.5</version>
</parent>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jdk8</artifactId>
<name>Jackson-datatype-jdk8</name>
<version>2.5.2</version>
<packaging>bundle</packaging>
<description>Add-on module for Jackson (http://jackson.codehaus.org) to support
JDK 8 data types.
</description>
<scm>
<connection>scm:git:git@github.com:FasterXML/jackson-datatype-jdk8.git</connection>
<developerConnection>scm:git:git@github.com:FasterXML/jackson-datatype-jdk8.git</developerConnection>
<url>http://github.com/FasterXML/jackson-datatype-jdk8</url>
<tag>jackson-datatype-jdk8-2.5.2</tag>
</scm>
<properties>
<version.jackson>2.5.2</version.jackson>
<!-- explicitly target JDK 8 -->
<javac.src.version>1.8</javac.src.version>
<javac.target.version>1.8</javac.target.version>
<!-- Generate PackageVersion.java into this directory. -->
<packageVersion.dir>com/fasterxml/jackson/datatype/jdk8</packageVersion.dir>
<packageVersion.package>${project.groupId}.jdk8</packageVersion.package>
<!-- Configuration properties for the OSGi maven-bundle-plugin -->
<osgi.import>com.fasterxml.jackson.core
,com.fasterxml.jackson.core.util
,com.fasterxml.jackson.databind
,com.fasterxml.jackson.databind.deser
,com.fasterxml.jackson.databind.deser.std
,com.fasterxml.jackson.databind.jsonFormatVisitors
,com.fasterxml.jackson.databind.jsontype
,com.fasterxml.jackson.databind.module
,com.fasterxml.jackson.databind.ser
,com.fasterxml.jackson.databind.ser.std
,com.fasterxml.jackson.databind.type
</osgi.import>
<osgi.export>${project.groupId}.jdk8.*;version=${project.version}
</osgi.export>
</properties>
<dependencies>
<!-- Extends Jackson mapper -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${version.jackson}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${version.jackson}</version>
</dependency>
</dependencies>
<build>
<plugins>
<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>generate-sources</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
|