1<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"> 2 <!-- This module was also published with a richer model, Gradle metadata, --> 3 <!-- which should be used instead. Do not delete the following line which --> 4 <!-- is to indicate to Gradle or any Gradle module metadata file consumer --> 5 <!-- that they should prefer consuming it instead. --> 6 <!-- do_not_remove: published-with-gradle-metadata --> 7 <modelVersion>4.0.0</modelVersion> 8 <parent> 9 <groupId>com.fasterxml.jackson</groupId> 10 <artifactId>jackson-base</artifactId> 11 <version>2.12.0-SNAPSHOT</version> 12 </parent> 13 14 <groupId>com.fasterxml.jackson.core</groupId> 15 <artifactId>jackson-core</artifactId> 16 <name>Jackson-core</name> 17 <version>2.12.0-SNAPSHOT</version> 18 <packaging>bundle</packaging> 19 <description>Core Jackson processing abstractions (aka Streaming API), implementation for JSON</description> 20 <licenses> 21 <license> 22 <name>The Apache Software License, Version 2.0</name> 23 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> 24 <distribution>repo</distribution> 25 </license> 26 </licenses> 27 <inceptionYear>2008</inceptionYear> 28 29 <url>https://github.com/FasterXML/jackson-core</url> 30 <scm> 31 <connection>scm:git:git@github.com:FasterXML/jackson-core.git</connection> 32 <developerConnection>scm:git:git@github.com:FasterXML/jackson-core.git</developerConnection> 33 <url>http://github.com/FasterXML/jackson-core</url> 34 <tag>HEAD</tag> 35 </scm> 36 37 <properties> 38 <!-- 04-Mar-2019, tatu: Retain Java6/JDK1.6 compatibility for annotations for Jackson 2.x, 39 but use Moditect to get JDK9+ module info support; need newer bundle plugin as well 40 --> 41 <javac.src.version>1.6</javac.src.version> 42 <javac.target.version>1.6</javac.target.version> 43 44 <maven.compiler.source>1.6</maven.compiler.source> 45 <maven.compiler.target>1.6</maven.compiler.target> 46 47 <osgi.export>com.fasterxml.jackson.core;version=${project.version}, 48com.fasterxml.jackson.core.*;version=${project.version} 49 </osgi.export> 50 51 <!-- Generate PackageVersion.java into this directory. --> 52 <packageVersion.dir>com/fasterxml/jackson/core/json</packageVersion.dir> 53 <packageVersion.package>${project.groupId}.json</packageVersion.package> 54 </properties> 55 56 <!-- Alas, need to include snapshot reference since otherwise can not find 57 snapshot of parent... --> 58 <repositories> 59 <repository> 60 <id>sonatype-nexus-snapshots</id> 61 <name>Sonatype Nexus Snapshots</name> 62 <url>https://oss.sonatype.org/content/repositories/snapshots</url> 63 <releases><enabled>false</enabled></releases> 64 <snapshots><enabled>true</enabled></snapshots> 65 </repository> 66 </repositories> 67 68 <build> 69 <plugins> 70 71 <!-- 26-Aug-2019, tatu: JaCoCo for code coverage --> 72 <plugin> 73 <groupId>org.jacoco</groupId> 74 <artifactId>jacoco-maven-plugin</artifactId> 75 <executions> 76 <execution> 77 <goals> 78 <goal>prepare-agent</goal> 79 </goals> 80 </execution> 81 <execution> 82 <id>report</id> 83 <phase>test</phase> 84 <goals> 85 <goal>report</goal> 86 </goals> 87 </execution> 88 </executions> 89 </plugin> 90 91 <!-- Important: enable enforcer plug-in: --> 92 <plugin> 93 <artifactId>maven-enforcer-plugin</artifactId> 94 <executions> <!-- or? combine.children="merge"> --> 95 <execution> 96 <id>enforce-properties</id> 97 <phase>validate</phase> 98 <goals><goal>enforce</goal></goals> 99 </execution> 100 </executions> 101 </plugin> 102 103 <plugin> 104 <groupId>org.apache.maven.plugins</groupId> 105 <artifactId>maven-site-plugin</artifactId> 106 </plugin> 107 <plugin> 108 <groupId>org.apache.maven.plugins</groupId> 109 <artifactId>maven-surefire-plugin</artifactId> 110 <version>${version.plugin.surefire}</version> 111 <configuration> 112 <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile> 113 <excludes> 114 <exclude>**/failing/**/*.java</exclude> 115 </excludes> 116<!-- 13-Apr-2018, tatu: for debugging [core#400] 117 <systemPropertyVariables> 118<com.fasterxml.jackson.core.util.BufferRecyclers.trackReusableBuffers>true</com.fasterxml.jackson.core.util.BufferRecyclers.trackReusableBuffers> 119 </systemPropertyVariables> 120--> 121 </configuration> 122 </plugin> 123 <!-- settings are fine, but needed to trigger execution! --> 124 <plugin> 125 <groupId>com.google.code.maven-replacer-plugin</groupId> 126 <artifactId>replacer</artifactId> 127 </plugin> 128 129 <!-- 04-Mar-2019, tatu: Add rudimentary JDK9+ module info. To build with JDK 8 130 will have to use `moduleInfoFile` as anything else requires JDK 9+ 131 --> 132 <plugin> 133 <groupId>org.moditect</groupId> 134 <artifactId>moditect-maven-plugin</artifactId> 135 </plugin> 136 137 <plugin> 138 <groupId>de.jjohannes</groupId> 139 <artifactId>gradle-module-metadata-maven-plugin</artifactId> 140 </plugin> 141 </plugins> 142 </build> 143 144</project> 145