| POM文件内容: |
<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.0-rc1</version>
</parent>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-kotlin</artifactId>
<name>jackson-module-kotlin</name>
<version>2.7.0-rc1</version>
<packaging>bundle</packaging>
<description>Add-on module for Jackson (http://jackson.codehaus.org) to support
Kotlin language, specifically introspection of method/constructor parameter names,
without having to add explicit property name annotation.
</description>
<developers>
<developer>
<id>jaysonminard</id>
<name>Jayson Minard</name>
<email>jayson.minard@gmail.com</email>
</developer>
</developers>
<url>https://github.com/FasterXML/jackson-module-kotlin</url>
<scm>
<connection>scm:git:git@github.com:FasterXML/jackson-module-kotlin.git</connection>
<developerConnection>scm:git:git@github.com:FasterXML/jackson-module-kotlin.git</developerConnection>
<url>https://github.com/FasterXML/jackson-module-kotlin</url>
<tag>jackson-module-kotlin-2.7.0-rc1</tag>
</scm>
<properties>
<version.jackson.annotations>2.7.0-rc1</version.jackson.annotations>
<version.jackson.core>2.7.0-rc1</version.jackson.core>
<!-- Joda only for testing -->
<version.jackson.joda>2.7.0-rc1</version.jackson.joda>
<version.junit>4.11</version.junit>
<version.kotlin>1.0.0-beta-3595</version.kotlin>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Generate PackageVersion.java into this directory. -->
<packageVersion.dir>com/fasterxml/jackson/module/kotlin</packageVersion.dir>
<packageVersion.package>${project.groupId}.kotlin</packageVersion.package>
<!-- Configuration properties for the OSGi maven-bundle-plugin -->
<osgi.includeResource>src/main/resources/, META-INF=target/classes/META-INF</osgi.includeResource>
<osgi.import>
com.fasterxml.jackson.core
,com.fasterxml.jackson.core.util
,com.fasterxml.jackson.databind
,com.fasterxml.jackson.databind.introspect
,com.fasterxml.jackson.databind.module
,com.fasterxml.jackson.annotation
,jet.runtime.typeinfo
,kotlin
,kotlin.jvm.internal
,kotlin.reflect.jvm.internal
</osgi.import>
<osgi.export>${project.groupId}.kotlin.*;version=${project.version}
</osgi.export>
</properties>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${version.jackson.core}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${version.jackson.annotations}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${version.kotlin}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
<version>${version.kotlin}</version>
<scope>compile</scope>
</dependency>
<!-- only for testing... -->
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-joda</artifactId>
<version>${version.jackson.joda}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${version.junit}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
<plugins>
<plugin>
<artifactId>kotlin-maven-plugin</artifactId>
<groupId>org.jetbrains.kotlin</groupId>
<version>${version.kotlin}</version>
<executions>
<execution>
<id>compile</id>
<phase>process-sources</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>test-compile</id>
<phase>process-test-sources</phase>
<goals>
<goal>test-compile</goal>
</goals>
</execution>
</executions>
</plugin>
<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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<optimize>true</optimize>
</configuration>
</plugin>
</plugins>
</build>
</project>
|