blob: b926cc988d4b9ca28cbd7e9d73de21517c2c159f [file] [log] [blame]
simonetripodif4a25cf2012-04-17 22:43:31 +02001<?xml version="1.0" encoding="UTF-8"?>
Tatu Saloranta31266582011-12-22 21:20:15 -08002<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">
Tatu Saloranta5f6beb32020-06-11 20:19:19 -07003 <!-- This module was also published with a richer model, Gradle metadata, -->
4 <!-- which should be used instead. Do not delete the following line which -->
5 <!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
6 <!-- that they should prefer consuming it instead. -->
7 <!-- do_not_remove: published-with-gradle-metadata -->
Tatu Saloranta31266582011-12-22 21:20:15 -08008 <modelVersion>4.0.0</modelVersion>
9 <parent>
Tatu Saloranta94025be2014-02-28 20:37:08 -080010 <groupId>com.fasterxml.jackson</groupId>
Tatu Salorantadc4e8872017-03-01 17:21:50 -080011 <!-- this is one of few Jackson modules that depends on parent and NOT jackson-bom -->
Tatu Saloranta27ce16a2014-02-28 19:55:25 -080012 <artifactId>jackson-parent</artifactId>
Tatu Saloranta2701a5b2020-04-26 22:58:02 -070013 <version>2.12-SNAPSHOT</version>
Tatu Saloranta31266582011-12-22 21:20:15 -080014 </parent>
simonetripodif4a25cf2012-04-17 22:43:31 +020015
Tatu Saloranta31266582011-12-22 21:20:15 -080016 <groupId>com.fasterxml.jackson.core</groupId>
17 <artifactId>jackson-annotations</artifactId>
simonetripodif4a25cf2012-04-17 22:43:31 +020018 <name>Jackson-annotations</name>
Tatu Saloranta2701a5b2020-04-26 22:58:02 -070019 <version>2.12.0-SNAPSHOT</version>
Lukasz Dywicki0c7de502013-09-03 19:24:43 +020020 <packaging>bundle</packaging>
Tatu Salorantabb817062012-06-28 22:20:29 -070021 <description>Core annotations used for value types, used by Jackson data binding package.
Tatu Saloranta31266582011-12-22 21:20:15 -080022 </description>
Cowtowncoderc26b8272015-10-07 11:13:59 -070023 <inceptionYear>2008</inceptionYear>
Tatu Salorantaf3b870b2020-01-28 19:41:04 -080024 <licenses>
25 <license>
26 <name>The Apache Software License, Version 2.0</name>
27 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
28 <distribution>repo</distribution>
29 </license>
30 </licenses>
Tatu Salorantabb817062012-06-28 22:20:29 -070031
Tatu Salorantaa1f21192014-11-06 08:22:34 -080032 <url>http://github.com/FasterXML/jackson</url>
Tatu Saloranta31266582011-12-22 21:20:15 -080033 <scm>
34 <connection>scm:git:git@github.com:FasterXML/jackson-annotations.git</connection>
35 <developerConnection>scm:git:git@github.com:FasterXML/jackson-annotations.git</developerConnection>
simonetripodif4a25cf2012-04-17 22:43:31 +020036 <url>http://github.com/FasterXML/jackson-annotations</url>
Tatu Salorantab474fd72020-04-25 16:37:40 -070037 <tag>HEAD</tag>
Tatu Saloranta31266582011-12-22 21:20:15 -080038 </scm>
Tatu Saloranta31266582011-12-22 21:20:15 -080039
Tatu Saloranta31266582011-12-22 21:20:15 -080040 <properties>
Tatu Saloranta37ccacf2019-03-04 20:02:28 -080041 <!-- 04-Mar-2019, tatu: Retain Java6/JDK1.6 compatibility for annotations for Jackson 2.x,
Tatu Salorantafbe32632019-03-04 20:07:31 -080042 but use Moditect to get JDK9+ module info support; need newer bundle plugin as well
Tatu Saloranta37ccacf2019-03-04 20:02:28 -080043 -->
Cowtowncoder40f25252015-10-02 13:46:48 -070044 <javac.src.version>1.6</javac.src.version>
45 <javac.target.version>1.6</javac.target.version>
Tatu Saloranta37ccacf2019-03-04 20:02:28 -080046
47 <maven.compiler.source>1.6</maven.compiler.source>
48 <maven.compiler.target>1.6</maven.compiler.target>
49
simonetripodif4a25cf2012-04-17 22:43:31 +020050 <osgi.export>com.fasterxml.jackson.annotation.*;version=${project.version}</osgi.export>
Tatu Saloranta31266582011-12-22 21:20:15 -080051 </properties>
Tatu Saloranta15251162016-06-02 20:26:32 -070052
53 <dependencies>
54 <dependency>
55 <groupId>junit</groupId>
56 <artifactId>junit</artifactId>
57 <scope>test</scope>
58 </dependency>
59 </dependencies>
60
Tatu Saloranta2701a5b2020-04-26 22:58:02 -070061 <!-- Alas, need to include snapshot reference since otherwise can not find
62 snapshot of parent... -->
63 <repositories>
64 <repository>
65 <id>sonatype-nexus-snapshots</id>
66 <name>Sonatype Nexus Snapshots</name>
67 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
68 <releases><enabled>false</enabled></releases>
69 <snapshots><enabled>true</enabled></snapshots>
70 </repository>
71 </repositories>
72
Tatu Saloranta78cb12a2017-09-06 23:05:05 -070073 <build>
74 <plugins>
Tatu Saloranta2406d942020-08-01 12:22:28 -070075 <!-- First: no replacer plugin (no Packaversion.java.in) for this package -->
76
Tatu Saloranta37ccacf2019-03-04 20:02:28 -080077 <plugin>
Tatu Salorantaba7899e2019-03-08 21:18:33 -080078 <!-- 08-Mar-2019, tatu: Would get these settings from `jackson-bom` except we
79 do not extend it so...
80 -->
Tatu Saloranta37ccacf2019-03-04 20:02:28 -080081 <groupId>org.moditect</groupId>
82 <artifactId>moditect-maven-plugin</artifactId>
83 <executions>
84 <execution>
85 <id>add-module-infos</id>
86 <phase>package</phase>
87 <goals>
88 <goal>add-module-info</goal>
89 </goals>
90 <configuration>
91 <overwriteExistingFiles>true</overwriteExistingFiles>
92 <module>
93 <moduleInfoFile>src/moditect/module-info.java</moduleInfoFile>
94 </module>
95 </configuration>
96 </execution>
97 </executions>
Tatu Saloranta78cb12a2017-09-06 23:05:05 -070098 </plugin>
Tatu Saloranta655b8202019-11-08 17:42:55 -080099
100 <!-- 08-Nov-2019, tatu: Copied from
101 https://github.com/stephenc/git-timestamp-maven-plugin/blob/master/pom.xml#L327-L337
102 -->
103 <plugin>
104 <groupId>org.sonatype.plugins</groupId>
105 <artifactId>nexus-staging-maven-plugin</artifactId>
Tatu Saloranta2406d942020-08-01 12:22:28 -0700106 <version>1.6.8</version>
Tatu Saloranta655b8202019-11-08 17:42:55 -0800107 <extensions>true</extensions>
108 <configuration>
109 <serverId>sonatype-nexus-staging</serverId>
110 <nexusUrl>https://oss.sonatype.org/</nexusUrl>
111 <stagingProfileId>b34f19b9cc6224</stagingProfileId>
112 </configuration>
113 </plugin>
Tatu Saloranta5f6beb32020-06-11 20:19:19 -0700114
Tatu Salorantaf13fb7d2020-06-11 20:30:50 -0700115 <!-- 11-Jun-2020, tatu: As per [annotations#173], add gradle module metadata
Tatu Saloranta5f6beb32020-06-11 20:19:19 -0700116 -->
117 <plugin>
118 <groupId>de.jjohannes</groupId>
119 <artifactId>gradle-module-metadata-maven-plugin</artifactId>
Tatu Salorantaf13fb7d2020-06-11 20:30:50 -0700120 <version>0.2.0</version>
Tatu Saloranta5f6beb32020-06-11 20:19:19 -0700121 <executions>
122 <execution>
123 <goals>
124 <goal>gmm</goal>
125 </goals>
126 </execution>
127 </executions>
128 <configuration>
129 <platformDependencies>
130 <dependency>
131 <groupId>com.fasterxml.jackson</groupId>
132 <artifactId>jackson-bom</artifactId>
133 <version>${project.version}</version>
134 </dependency>
135 </platformDependencies>
136 </configuration>
137 </plugin>
138
Tatu Saloranta78cb12a2017-09-06 23:05:05 -0700139 </plugins>
140 </build>
141
Tatu Saloranta31266582011-12-22 21:20:15 -0800142</project>