1<?xml version="1.0" encoding="UTF-8"?> 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"> 3 <!-- 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 --> 8 <modelVersion>4.0.0</modelVersion> 9 <parent> 10 <groupId>com.fasterxml.jackson</groupId> 11 <!-- this is one of few Jackson modules that depends on parent and NOT jackson-bom --> 12 <artifactId>jackson-parent</artifactId> 13 <version>2.12-SNAPSHOT</version> 14 </parent> 15 16 <groupId>com.fasterxml.jackson.core</groupId> 17 <artifactId>jackson-annotations</artifactId> 18 <name>Jackson-annotations</name> 19 <version>2.12.0-SNAPSHOT</version> 20 <packaging>bundle</packaging> 21 <description>Core annotations used for value types, used by Jackson data binding package. 22 </description> 23 <inceptionYear>2008</inceptionYear> 24 <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> 31 32 <url>http://github.com/FasterXML/jackson</url> 33 <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> 36 <url>http://github.com/FasterXML/jackson-annotations</url> 37 <tag>HEAD</tag> 38 </scm> 39 40 <properties> 41 <!-- 04-Mar-2019, tatu: Retain Java6/JDK1.6 compatibility for annotations for Jackson 2.x, 42 but use Moditect to get JDK9+ module info support; need newer bundle plugin as well 43 --> 44 <javac.src.version>1.6</javac.src.version> 45 <javac.target.version>1.6</javac.target.version> 46 47 <maven.compiler.source>1.6</maven.compiler.source> 48 <maven.compiler.target>1.6</maven.compiler.target> 49 50 <osgi.export>com.fasterxml.jackson.annotation.*;version=${project.version}</osgi.export> 51 </properties> 52 53 <dependencies> 54 <dependency> 55 <groupId>junit</groupId> 56 <artifactId>junit</artifactId> 57 <scope>test</scope> 58 </dependency> 59 </dependencies> 60 61 <!-- 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 73 <build> 74 <plugins> 75 <!-- First: no replacer plugin (no Packaversion.java.in) for this package --> 76 77 <plugin> 78 <!-- 08-Mar-2019, tatu: Would get these settings from `jackson-bom` except we 79 do not extend it so... 80 --> 81 <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> 98 </plugin> 99 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> 106 <version>1.6.8</version> 107 <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> 114 115 <!-- 11-Jun-2020, tatu: As per [annotations#173], add gradle module metadata 116 --> 117 <plugin> 118 <groupId>de.jjohannes</groupId> 119 <artifactId>gradle-module-metadata-maven-plugin</artifactId> 120 <version>0.2.0</version> 121 <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 139 </plugins> 140 </build> 141 142</project> 143