최초 세팅
This commit is contained in:
@@ -0,0 +1,173 @@
|
||||
<?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">
|
||||
<!-- This module was also published with a richer model, Gradle metadata, -->
|
||||
<!-- which should be used instead. Do not delete the following line which -->
|
||||
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
|
||||
<!-- that they should prefer consuming it instead. -->
|
||||
<!-- do_not_remove: published-with-gradle-metadata -->
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<!-- this is one of few Jackson modules that depends on parent and NOT jackson-bom -->
|
||||
<artifactId>jackson-parent</artifactId>
|
||||
<version>2.14</version>
|
||||
</parent>
|
||||
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
<name>Jackson-annotations</name>
|
||||
<version>2.14.2</version>
|
||||
<packaging>bundle</packaging>
|
||||
<description>Core annotations used for value types, used by Jackson data binding package.
|
||||
</description>
|
||||
<inceptionYear>2008</inceptionYear>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The Apache Software License, Version 2.0</name>
|
||||
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<url>https://github.com/FasterXML/jackson</url>
|
||||
<scm>
|
||||
<connection>scm:git:git@github.com:FasterXML/jackson-annotations.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:FasterXML/jackson-annotations.git</developerConnection>
|
||||
<url>https://github.com/FasterXML/jackson-annotations</url>
|
||||
<tag>jackson-annotations-2.14.2</tag>
|
||||
</scm>
|
||||
|
||||
<properties>
|
||||
<!-- 04-Mar-2019, tatu: Retain Java6/JDK1.6 compatibility for annotations for Jackson 2.x,
|
||||
but use Moditect to get JDK9+ module info support; need newer bundle plugin as well
|
||||
-->
|
||||
<javac.src.version>1.6</javac.src.version>
|
||||
<javac.target.version>1.6</javac.target.version>
|
||||
|
||||
<maven.compiler.source>1.6</maven.compiler.source>
|
||||
<maven.compiler.target>1.6</maven.compiler.target>
|
||||
|
||||
<osgi.export>com.fasterxml.jackson.annotation.*;version=${project.version}</osgi.export>
|
||||
|
||||
<!-- for Reproducible Builds -->
|
||||
<project.build.outputTimestamp>2023-01-28T23:50:53Z</project.build.outputTimestamp>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>${version.junit}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<!-- Alas, need to include snapshot reference since otherwise can not find
|
||||
snapshot of parent... -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>sonatype-nexus-snapshots</id>
|
||||
<name>Sonatype Nexus Snapshots</name>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- First: no replacer plugin (no Packaversion.java.in) for this package -->
|
||||
|
||||
<plugin>
|
||||
<!-- 08-Mar-2019, tatu: Would get these settings from `jackson-bom` except we
|
||||
do not extend it so...
|
||||
-->
|
||||
<groupId>org.moditect</groupId>
|
||||
<artifactId>moditect-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-module-infos</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>add-module-info</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<overwriteExistingFiles>true</overwriteExistingFiles>
|
||||
<module>
|
||||
<moduleInfoFile>src/moditect/module-info.java</moduleInfoFile>
|
||||
</module>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- 08-Nov-2019, tatu: Copied from
|
||||
https://github.com/stephenc/git-timestamp-maven-plugin/blob/master/pom.xml#L327-L337
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.sonatype.plugins</groupId>
|
||||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||||
<version>1.6.8</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<serverId>sonatype-nexus-staging</serverId>
|
||||
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
||||
<stagingProfileId>b34f19b9cc6224</stagingProfileId>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- 11-Jun-2020, tatu: [annotations#173] add gradle module metadata
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>de.jjohannes</groupId>
|
||||
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
|
||||
<version>0.2.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>gmm</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<platformDependencies>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<artifactId>jackson-bom</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</platformDependencies>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- 20-Oct-2020, tatu: [annotations#178] copy full LICENSE from main dir
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-resource</id>
|
||||
<phase>generate-resources</phase>
|
||||
<goals>
|
||||
<goal>add-resource</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${project.basedir}</directory>
|
||||
<targetPath>META-INF</targetPath>
|
||||
<includes>
|
||||
<include>LICENSE</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"formatVersion": "1.1",
|
||||
"component": {
|
||||
"group": "com.fasterxml.jackson.core",
|
||||
"module": "jackson-annotations",
|
||||
"version": "2.14.2",
|
||||
"attributes": {
|
||||
"org.gradle.status": "release"
|
||||
}
|
||||
},
|
||||
"createdBy": {
|
||||
"maven": {
|
||||
"version": "3.8.6"
|
||||
}
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "apiElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-api"
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
"group": "com.fasterxml.jackson",
|
||||
"module": "jackson-bom",
|
||||
"version": {
|
||||
"requires": "2.14.2"
|
||||
},
|
||||
"attributes": {
|
||||
"org.gradle.category": "platform"
|
||||
},
|
||||
"endorseStrictVersions": true
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"name": "jackson-annotations-2.14.2.jar",
|
||||
"url": "jackson-annotations-2.14.2.jar",
|
||||
"size": 76636,
|
||||
"sha512": "a978384791bdc074df8039ffc95bb93f0f60d14d476861ee2a0ce208b33a991c486a07345cb80559252c3ff1dea14d3efb818c19bdc18435946dc8754d8e6ee3",
|
||||
"sha256": "2c6869d505cf60dc066734b7d50339f975bd3adc635e26a78abb71acb4473c0d",
|
||||
"sha1": "a7aae9525864930723e3453ab799521fdfd9d873",
|
||||
"md5": "10d19982a8890f6eb37557af2f58e272"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "runtimeElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-runtime"
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
"group": "com.fasterxml.jackson",
|
||||
"module": "jackson-bom",
|
||||
"version": {
|
||||
"requires": "2.14.2"
|
||||
},
|
||||
"attributes": {
|
||||
"org.gradle.category": "platform"
|
||||
},
|
||||
"endorseStrictVersions": true
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"name": "jackson-annotations-2.14.2.jar",
|
||||
"url": "jackson-annotations-2.14.2.jar",
|
||||
"size": 76636,
|
||||
"sha512": "a978384791bdc074df8039ffc95bb93f0f60d14d476861ee2a0ce208b33a991c486a07345cb80559252c3ff1dea14d3efb818c19bdc18435946dc8754d8e6ee3",
|
||||
"sha256": "2c6869d505cf60dc066734b7d50339f975bd3adc635e26a78abb71acb4473c0d",
|
||||
"sha1": "a7aae9525864930723e3453ab799521fdfd9d873",
|
||||
"md5": "10d19982a8890f6eb37557af2f58e272"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"formatVersion": "1.1",
|
||||
"component": {
|
||||
"group": "com.fasterxml.jackson.core",
|
||||
"module": "jackson-annotations",
|
||||
"version": "2.15.3",
|
||||
"attributes": {
|
||||
"org.gradle.status": "release"
|
||||
}
|
||||
},
|
||||
"createdBy": {
|
||||
"maven": {
|
||||
"version": "3.8.5"
|
||||
}
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "apiElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-api"
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
"group": "com.fasterxml.jackson",
|
||||
"module": "jackson-bom",
|
||||
"version": {
|
||||
"requires": "2.15.3"
|
||||
},
|
||||
"attributes": {
|
||||
"org.gradle.category": "platform"
|
||||
},
|
||||
"endorseStrictVersions": true
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"name": "jackson-annotations-2.15.3.jar",
|
||||
"url": "jackson-annotations-2.15.3.jar",
|
||||
"size": 75565,
|
||||
"sha512": "c496afd736fa8acbf8126887e2ff375f162212f451326451fbb4b9194231d814e25bccacbaead9db98beec454f6b8d9ed706c5c88e2145bf7e1a37e13fd81af0",
|
||||
"sha256": "aae865c3d88256d61b11523cb1e88bd48d5b9ad5855fa1fc859504fd2204708a",
|
||||
"sha1": "79baf4e605eb3bbb60b1c475d44a7aecceea1d60",
|
||||
"md5": "f478f693731e4a2f0f0d3c7bba119b32"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "runtimeElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-runtime"
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
"group": "com.fasterxml.jackson",
|
||||
"module": "jackson-bom",
|
||||
"version": {
|
||||
"requires": "2.15.3"
|
||||
},
|
||||
"attributes": {
|
||||
"org.gradle.category": "platform"
|
||||
},
|
||||
"endorseStrictVersions": true
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"name": "jackson-annotations-2.15.3.jar",
|
||||
"url": "jackson-annotations-2.15.3.jar",
|
||||
"size": 75565,
|
||||
"sha512": "c496afd736fa8acbf8126887e2ff375f162212f451326451fbb4b9194231d814e25bccacbaead9db98beec454f6b8d9ed706c5c88e2145bf7e1a37e13fd81af0",
|
||||
"sha256": "aae865c3d88256d61b11523cb1e88bd48d5b9ad5855fa1fc859504fd2204708a",
|
||||
"sha1": "79baf4e605eb3bbb60b1c475d44a7aecceea1d60",
|
||||
"md5": "f478f693731e4a2f0f0d3c7bba119b32"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,198 @@
|
||||
<?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">
|
||||
<!-- This module was also published with a richer model, Gradle metadata, -->
|
||||
<!-- which should be used instead. Do not delete the following line which -->
|
||||
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
|
||||
<!-- that they should prefer consuming it instead. -->
|
||||
<!-- do_not_remove: published-with-gradle-metadata -->
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<!-- this is one of few Jackson modules that depends on parent and NOT jackson-bom -->
|
||||
<artifactId>jackson-parent</artifactId>
|
||||
<version>2.15</version>
|
||||
</parent>
|
||||
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
<name>Jackson-annotations</name>
|
||||
<version>2.15.3</version>
|
||||
<packaging>jar</packaging>
|
||||
<description>Core annotations used for value types, used by Jackson data binding package.
|
||||
</description>
|
||||
<inceptionYear>2008</inceptionYear>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The Apache Software License, Version 2.0</name>
|
||||
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<url>https://github.com/FasterXML/jackson</url>
|
||||
<scm>
|
||||
<connection>scm:git:git@github.com:FasterXML/jackson-annotations.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:FasterXML/jackson-annotations.git</developerConnection>
|
||||
<url>https://github.com/FasterXML/jackson-annotations</url>
|
||||
<tag>jackson-annotations-2.15.3</tag>
|
||||
</scm>
|
||||
|
||||
<properties>
|
||||
<!-- 04-Mar-2019, tatu: Retain Java6/JDK1.6 compatibility for annotations for Jackson 2.x,
|
||||
but use Moditect to get JDK9+ module info support; need newer bundle plugin as well
|
||||
-->
|
||||
<javac.src.version>1.6</javac.src.version>
|
||||
<javac.target.version>1.6</javac.target.version>
|
||||
|
||||
<maven.compiler.source>1.6</maven.compiler.source>
|
||||
<maven.compiler.target>1.6</maven.compiler.target>
|
||||
|
||||
<osgi.export>com.fasterxml.jackson.annotation.*;version=${project.version}</osgi.export>
|
||||
|
||||
<!-- for Reproducible Builds -->
|
||||
<project.build.outputTimestamp>2023-10-12T22:34:03Z</project.build.outputTimestamp>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>${version.junit}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<!-- Alas, need to include snapshot reference since otherwise can not find
|
||||
snapshot of parent... -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>sonatype-nexus-snapshots</id>
|
||||
<name>Sonatype Nexus Snapshots</name>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- First: no replacer plugin (no Packaversion.java.in) for this package -->
|
||||
|
||||
<plugin>
|
||||
<!-- 08-Mar-2019, tatu: Would get these settings from `jackson-bom` except we
|
||||
do not extend it so...
|
||||
-->
|
||||
<groupId>org.moditect</groupId>
|
||||
<artifactId>moditect-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-module-infos</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>add-module-info</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<overwriteExistingFiles>true</overwriteExistingFiles>
|
||||
<module>
|
||||
<moduleInfoFile>src/moditect/module-info.java</moduleInfoFile>
|
||||
</module>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- 08-Nov-2019, tatu: Copied from
|
||||
https://github.com/stephenc/git-timestamp-maven-plugin/blob/master/pom.xml#L327-L337
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.sonatype.plugins</groupId>
|
||||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||||
<version>1.6.8</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<serverId>sonatype-nexus-staging</serverId>
|
||||
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
||||
<stagingProfileId>b34f19b9cc6224</stagingProfileId>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- 11-Jun-2020, tatu: [annotations#173] add gradle module metadata
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>de.jjohannes</groupId>
|
||||
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
|
||||
<version>0.4.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>gmm</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<platformDependencies>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<artifactId>jackson-bom</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</platformDependencies>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- 20-Oct-2020, tatu: [annotations#178] copy full LICENSE from main dir
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-resource</id>
|
||||
<phase>generate-resources</phase>
|
||||
<goals>
|
||||
<goal>add-resource</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${project.basedir}</directory>
|
||||
<targetPath>META-INF</targetPath>
|
||||
<includes>
|
||||
<include>LICENSE</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- 27-Nov-2022, tatu: Since we don't get defaults from "jackson-base"
|
||||
need to configure Felix-bundle/Maven-jar plugins wrt Reproducible Build
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>bundle-manifest</id>
|
||||
<phase>process-classes</phase>
|
||||
<goals>
|
||||
<goal>manifest</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"formatVersion": "1.1",
|
||||
"component": {
|
||||
"group": "com.fasterxml.jackson.core",
|
||||
"module": "jackson-core",
|
||||
"version": "2.14.2",
|
||||
"attributes": {
|
||||
"org.gradle.status": "release"
|
||||
}
|
||||
},
|
||||
"createdBy": {
|
||||
"maven": {
|
||||
"version": "3.8.6"
|
||||
}
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "apiElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-api"
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
"group": "com.fasterxml.jackson",
|
||||
"module": "jackson-bom",
|
||||
"version": {
|
||||
"requires": "2.14.2"
|
||||
},
|
||||
"attributes": {
|
||||
"org.gradle.category": "platform"
|
||||
},
|
||||
"endorseStrictVersions": true
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"name": "jackson-core-2.14.2.jar",
|
||||
"url": "jackson-core-2.14.2.jar",
|
||||
"size": 458834,
|
||||
"sha512": "208953cf72691b3bab1ca2f9a045cccd3d75c46c90099ba884fbf16bc3e45045e5cd014d2c68c96e8a8826f87a5f0e18cb34b35e7ef03348953869c21e197367",
|
||||
"sha256": "b5d37a77c88277b97e3593c8740925216c06df8e4172bbde058528df04ad3e7a",
|
||||
"sha1": "f804090e6399ce0cf78242db086017512dd71fcc",
|
||||
"md5": "6ee422ee4c481b2d5aacb2b5e36a7dc0"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "runtimeElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-runtime"
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
"group": "com.fasterxml.jackson",
|
||||
"module": "jackson-bom",
|
||||
"version": {
|
||||
"requires": "2.14.2"
|
||||
},
|
||||
"attributes": {
|
||||
"org.gradle.category": "platform"
|
||||
},
|
||||
"endorseStrictVersions": true
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"name": "jackson-core-2.14.2.jar",
|
||||
"url": "jackson-core-2.14.2.jar",
|
||||
"size": 458834,
|
||||
"sha512": "208953cf72691b3bab1ca2f9a045cccd3d75c46c90099ba884fbf16bc3e45045e5cd014d2c68c96e8a8826f87a5f0e18cb34b35e7ef03348953869c21e197367",
|
||||
"sha256": "b5d37a77c88277b97e3593c8740925216c06df8e4172bbde058528df04ad3e7a",
|
||||
"sha1": "f804090e6399ce0cf78242db086017512dd71fcc",
|
||||
"md5": "6ee422ee4c481b2d5aacb2b5e36a7dc0"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,189 @@
|
||||
<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">
|
||||
<!-- This module was also published with a richer model, Gradle metadata, -->
|
||||
<!-- which should be used instead. Do not delete the following line which -->
|
||||
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
|
||||
<!-- that they should prefer consuming it instead. -->
|
||||
<!-- do_not_remove: published-with-gradle-metadata -->
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<artifactId>jackson-base</artifactId>
|
||||
<version>2.14.2</version>
|
||||
</parent>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
<name>Jackson-core</name>
|
||||
<version>2.14.2</version>
|
||||
<packaging>bundle</packaging>
|
||||
<description>Core Jackson processing abstractions (aka Streaming API), implementation for JSON</description>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The Apache Software License, Version 2.0</name>
|
||||
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<inceptionYear>2008</inceptionYear>
|
||||
|
||||
<url>https://github.com/FasterXML/jackson-core</url>
|
||||
<scm>
|
||||
<connection>scm:git:git@github.com:FasterXML/jackson-core.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:FasterXML/jackson-core.git</developerConnection>
|
||||
<url>https://github.com/FasterXML/jackson-core</url>
|
||||
<tag>jackson-core-2.14.2</tag>
|
||||
</scm>
|
||||
|
||||
<properties>
|
||||
<!-- 03-May-2022: Change Java compatibility for Jackson-Core 2.14 from Java6 to Java8,
|
||||
still use Moditect to get JDK9+ module info support; need newer bundle plugin as well
|
||||
(can just defaults from `jackson-parent`)
|
||||
-->
|
||||
|
||||
<!-- 16-Nov-2022, tatu: [core#838] Verify Android SDK compatibility.
|
||||
Baseline compatibility:
|
||||
* Jackson 2.13 compatible with Android SDK 19 and up
|
||||
* Jackson 2.14 compatible with Android SDK 26 and up
|
||||
-->
|
||||
<version.android.sdk>26</version.android.sdk>
|
||||
<version.android.sdk.signature>0.5.0</version.android.sdk.signature>
|
||||
|
||||
<osgi.export>com.fasterxml.jackson.core;version=${project.version},
|
||||
com.fasterxml.jackson.core.*;version=${project.version}
|
||||
</osgi.export>
|
||||
|
||||
<!-- Generate PackageVersion.java into this directory. -->
|
||||
<packageVersion.dir>com/fasterxml/jackson/core/json</packageVersion.dir>
|
||||
<packageVersion.package>${project.groupId}.json</packageVersion.package>
|
||||
|
||||
<!-- for Reproducible Builds -->
|
||||
<project.build.outputTimestamp>2023-01-29T00:52:32Z</project.build.outputTimestamp>
|
||||
</properties>
|
||||
|
||||
<!-- Alas, need to include snapshot reference since otherwise can not find
|
||||
snapshot of parent... -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>sonatype-nexus-snapshots</id>
|
||||
<name>Sonatype Nexus Snapshots</name>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
<!-- 26-Aug-2019, tatu: JaCoCo for code coverage -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- Important: enable enforcer plug-in: -->
|
||||
<plugin>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<executions> <!-- or? combine.children="merge"> -->
|
||||
<execution>
|
||||
<id>enforce-properties</id>
|
||||
<phase>validate</phase>
|
||||
<goals><goal>enforce</goal></goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${version.plugin.surefire}</version>
|
||||
<configuration>
|
||||
<redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
|
||||
<excludes>
|
||||
<exclude>**/failing/**/*.java</exclude>
|
||||
</excludes>
|
||||
<!-- 13-Apr-2018, tatu: for debugging [core#400]
|
||||
<systemPropertyVariables>
|
||||
<com.fasterxml.jackson.core.util.BufferRecyclers.trackReusableBuffers>true</com.fasterxml.jackson.core.util.BufferRecyclers.trackReusableBuffers>
|
||||
</systemPropertyVariables>
|
||||
-->
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- settings are fine, but needed to trigger execution! -->
|
||||
<plugin>
|
||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||
<artifactId>replacer</artifactId>
|
||||
</plugin>
|
||||
|
||||
<!-- 04-Mar-2019, tatu: Add rudimentary JDK9+ module info. To build with JDK 8
|
||||
will have to use `moduleInfoFile` as anything else requires JDK 9+
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.moditect</groupId>
|
||||
<artifactId>moditect-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<!-- 03-Nov-2020, tatu: Add LICENSE from main level -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>de.jjohannes</groupId>
|
||||
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<!-- 16-Nov-2022, tatu: [core#838] add verification of compatibility
|
||||
wrt Android SDK versions using AnimalSniffer with "gummy bears" signatures.
|
||||
To be run from CI, but manually with:
|
||||
mvn clean package animal-sniffer:check
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
||||
<version>1.22</version>
|
||||
<configuration>
|
||||
<signature>
|
||||
<groupId>com.toasttab.android</groupId>
|
||||
<artifactId>gummy-bears-api-${version.android.sdk}</artifactId>
|
||||
<version>${version.android.sdk.signature}</version>
|
||||
</signature>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<dependencies>
|
||||
<!-- Test dependencies -->
|
||||
<dependency>
|
||||
<groupId>org.junit.vintage</groupId>
|
||||
<artifactId>junit-vintage-engine</artifactId>
|
||||
<version>5.8.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter</artifactId>
|
||||
<version>5.8.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,248 @@
|
||||
<?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/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<artifactId>jackson-base</artifactId>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<version>2.15.3</version>
|
||||
<relativePath>../pom.xml/pom.xml</relativePath>
|
||||
</parent>
|
||||
<!-- This module was also published with a richer model, Gradle metadata, -->
|
||||
<!-- which should be used instead. Do not delete the following line which -->
|
||||
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
|
||||
<!-- that they should prefer consuming it instead. -->
|
||||
<!-- do_not_remove: published-with-gradle-metadata -->
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
<name>Jackson-core</name>
|
||||
<version>2.15.3</version>
|
||||
<description>Core Jackson processing abstractions (aka Streaming API), implementation for JSON</description>
|
||||
<url>https://github.com/FasterXML/jackson-core</url>
|
||||
<inceptionYear>2008</inceptionYear>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The Apache Software License, Version 2.0</name>
|
||||
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<connection>scm:git:git@github.com:FasterXML/jackson-core.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:FasterXML/jackson-core.git</developerConnection>
|
||||
<tag>jackson-core-2.15.3</tag>
|
||||
<url>https://github.com/FasterXML/jackson-core</url>
|
||||
</scm>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>enforce-properties</id>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${version.plugin.surefire}</version>
|
||||
<configuration>
|
||||
<redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
|
||||
<excludes>
|
||||
<exclude>**/failing/**/*.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||
<artifactId>replacer</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.moditect</groupId>
|
||||
<artifactId>moditect-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>shade-jackson-core</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<filters>
|
||||
<filter>
|
||||
<artifact>ch.randelshofer:fastdoubleparser</artifact>
|
||||
<excludes>
|
||||
<exclude>META-INF/versions/**/module-info.*</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
</filters>
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>ch/randelshofer/fastdoubleparser</pattern>
|
||||
<shadedPattern>com/fasterxml/jackson/core/io/doubleparser</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>META-INF/LICENSE</pattern>
|
||||
<shadedPattern>META-INF/FastDoubleParser-LICENSE</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>META-INF/NOTICE</pattern>
|
||||
<shadedPattern>META-INF/FastDoubleParser-NOTICE</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>META-INF/jackson-core-LICENSE</pattern>
|
||||
<shadedPattern>META-INF/LICENSE</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>META-INF/jackson-core-NOTICE</pattern>
|
||||
<shadedPattern>META-INF/NOTICE</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>META-INF/versions/11/ch/randelshofer/fastdoubleparser</pattern>
|
||||
<shadedPattern>META-INF/versions/11/com/fasterxml/jackson/core/io/doubleparser</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>META-INF/versions/17/ch/randelshofer/fastdoubleparser</pattern>
|
||||
<shadedPattern>META-INF/versions/17/com/fasterxml/jackson/core/io/doubleparser</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>META-INF/versions/19/ch/randelshofer/fastdoubleparser</pattern>
|
||||
<shadedPattern>META-INF/versions/19/com/fasterxml/jackson/core/io/doubleparser</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
|
||||
<createDependencyReducedPom>true</createDependencyReducedPom>
|
||||
<minimizeJar>true</minimizeJar>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>de.jjohannes</groupId>
|
||||
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<removedDependencies>
|
||||
<dependency>
|
||||
<groupId>ch.randelshofer</groupId>
|
||||
<artifactId>fastdoubleparser</artifactId>
|
||||
</dependency>
|
||||
</removedDependencies>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestEntries>
|
||||
<Multi-Release>true</Multi-Release>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>io.github.floverfelt</groupId>
|
||||
<artifactId>find-and-replace-maven-plugin</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>exec</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>find-and-replace</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<replacementType>file-contents</replacementType>
|
||||
<baseDir>${basedir}</baseDir>
|
||||
<findRegex><modelVersion>4.0.0</modelVersion></findRegex>
|
||||
<fileMask>dependency-reduced-pom.xml</fileMask>
|
||||
<replaceValue><!-- This module was also published with a richer model, Gradle metadata, -->
|
||||
<!-- which should be used instead. Do not delete the following line which -->
|
||||
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
|
||||
<!-- that they should prefer consuming it instead. -->
|
||||
<!-- do_not_remove: published-with-gradle-metadata -->
|
||||
<modelVersion>4.0.0</modelVersion></replaceValue>
|
||||
<recursive>false</recursive>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
||||
<version>1.22</version>
|
||||
<configuration>
|
||||
<signature>
|
||||
<groupId>com.toasttab.android</groupId>
|
||||
<artifactId>gummy-bears-api-${version.android.sdk}</artifactId>
|
||||
<version>${version.android.sdk.signature}</version>
|
||||
</signature>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<repositories>
|
||||
<repository>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
<snapshots />
|
||||
<id>sonatype-nexus-snapshots</id>
|
||||
<name>Sonatype Nexus Snapshots</name>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.junit</groupId>
|
||||
<artifactId>junit-bom</artifactId>
|
||||
<version>5.9.2</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
<properties>
|
||||
<version.android.sdk>26</version.android.sdk>
|
||||
<packageVersion.dir>com/fasterxml/jackson/core/json</packageVersion.dir>
|
||||
<osgi.import>!ch.randelshofer.fastdoubleparser, *</osgi.import>
|
||||
<version.android.sdk.signature>0.5.1</version.android.sdk.signature>
|
||||
<packageVersion.package>${project.groupId}.json</packageVersion.package>
|
||||
<osgi.export>com.fasterxml.jackson.core;version=${project.version},
|
||||
com.fasterxml.jackson.core.*;version=${project.version}</osgi.export>
|
||||
<project.build.outputTimestamp>2023-10-12T22:49:11Z</project.build.outputTimestamp>
|
||||
</properties>
|
||||
</project>
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"formatVersion": "1.1",
|
||||
"component": {
|
||||
"group": "com.fasterxml.jackson.core",
|
||||
"module": "jackson-core",
|
||||
"version": "2.15.3",
|
||||
"attributes": {
|
||||
"org.gradle.status": "release"
|
||||
}
|
||||
},
|
||||
"createdBy": {
|
||||
"maven": {
|
||||
"version": "3.9.3"
|
||||
}
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "apiElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-api"
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
"group": "com.fasterxml.jackson",
|
||||
"module": "jackson-bom",
|
||||
"version": {
|
||||
"requires": "2.15.3"
|
||||
},
|
||||
"attributes": {
|
||||
"org.gradle.category": "platform"
|
||||
},
|
||||
"endorseStrictVersions": true
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"name": "jackson-core-2.15.3.jar",
|
||||
"url": "jackson-core-2.15.3.jar",
|
||||
"size": 549233,
|
||||
"sha512": "112de40a31dc7d011f256f1d2fe0d9e2afc301a1f31974318f8d070c3e362b2ba96005167384244f630b915451db6694bd3cf6a9b793872351bc18f21c9de5e4",
|
||||
"sha256": "51fab7aad51ed588482edc507fd542747936c5094d1ab76ed21ddb63b96b610d",
|
||||
"sha1": "60d600567c1862840397bf9ff5a92398edc5797b",
|
||||
"md5": "c86c75392bf138d54d2a219bb1d0cbcd"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "runtimeElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-runtime"
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
"group": "com.fasterxml.jackson",
|
||||
"module": "jackson-bom",
|
||||
"version": {
|
||||
"requires": "2.15.3"
|
||||
},
|
||||
"attributes": {
|
||||
"org.gradle.category": "platform"
|
||||
},
|
||||
"endorseStrictVersions": true
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"name": "jackson-core-2.15.3.jar",
|
||||
"url": "jackson-core-2.15.3.jar",
|
||||
"size": 549233,
|
||||
"sha512": "112de40a31dc7d011f256f1d2fe0d9e2afc301a1f31974318f8d070c3e362b2ba96005167384244f630b915451db6694bd3cf6a9b793872351bc18f21c9de5e4",
|
||||
"sha256": "51fab7aad51ed588482edc507fd542747936c5094d1ab76ed21ddb63b96b610d",
|
||||
"sha1": "60d600567c1862840397bf9ff5a92398edc5797b",
|
||||
"md5": "c86c75392bf138d54d2a219bb1d0cbcd"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"formatVersion": "1.1",
|
||||
"component": {
|
||||
"group": "com.fasterxml.jackson.core",
|
||||
"module": "jackson-databind",
|
||||
"version": "2.14.2",
|
||||
"attributes": {
|
||||
"org.gradle.status": "release"
|
||||
}
|
||||
},
|
||||
"createdBy": {
|
||||
"maven": {
|
||||
"version": "3.8.6"
|
||||
}
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "apiElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-api"
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
"group": "com.fasterxml.jackson.core",
|
||||
"module": "jackson-annotations",
|
||||
"version": {
|
||||
"requires": "2.14.2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "com.fasterxml.jackson.core",
|
||||
"module": "jackson-core",
|
||||
"version": {
|
||||
"requires": "2.14.2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "com.fasterxml.jackson",
|
||||
"module": "jackson-bom",
|
||||
"version": {
|
||||
"requires": "2.14.2"
|
||||
},
|
||||
"attributes": {
|
||||
"org.gradle.category": "platform"
|
||||
},
|
||||
"endorseStrictVersions": true
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"name": "jackson-databind-2.14.2.jar",
|
||||
"url": "jackson-databind-2.14.2.jar",
|
||||
"size": 1616844,
|
||||
"sha512": "85473a29d23292f49092af9e7a7a63993206847c53b3e71f3c67245d68f7b19cc7c341e0ece409eb5e96602df98a848e957d8691fdd2c5fcddd807df9078255e",
|
||||
"sha256": "501d3abce4d18dcc381058ec593c5b94477906bba6efbac14dae40a642f77424",
|
||||
"sha1": "1e71fddbc80bb86f71a6345ac1e8ab8a00e7134",
|
||||
"md5": "c1b12dd14734cd1986132bf55042dd7e"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "runtimeElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-runtime"
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
"group": "com.fasterxml.jackson.core",
|
||||
"module": "jackson-annotations",
|
||||
"version": {
|
||||
"requires": "2.14.2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "com.fasterxml.jackson.core",
|
||||
"module": "jackson-core",
|
||||
"version": {
|
||||
"requires": "2.14.2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "com.fasterxml.jackson",
|
||||
"module": "jackson-bom",
|
||||
"version": {
|
||||
"requires": "2.14.2"
|
||||
},
|
||||
"attributes": {
|
||||
"org.gradle.category": "platform"
|
||||
},
|
||||
"endorseStrictVersions": true
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"name": "jackson-databind-2.14.2.jar",
|
||||
"url": "jackson-databind-2.14.2.jar",
|
||||
"size": 1616844,
|
||||
"sha512": "85473a29d23292f49092af9e7a7a63993206847c53b3e71f3c67245d68f7b19cc7c341e0ece409eb5e96602df98a848e957d8691fdd2c5fcddd807df9078255e",
|
||||
"sha256": "501d3abce4d18dcc381058ec593c5b94477906bba6efbac14dae40a642f77424",
|
||||
"sha1": "1e71fddbc80bb86f71a6345ac1e8ab8a00e7134",
|
||||
"md5": "c1b12dd14734cd1986132bf55042dd7e"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,508 @@
|
||||
<?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">
|
||||
<!-- This module was also published with a richer model, Gradle metadata, -->
|
||||
<!-- which should be used instead. Do not delete the following line which -->
|
||||
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
|
||||
<!-- that they should prefer consuming it instead. -->
|
||||
<!-- do_not_remove: published-with-gradle-metadata -->
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<artifactId>jackson-base</artifactId>
|
||||
<version>2.14.2</version>
|
||||
</parent>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
<version>2.14.2</version>
|
||||
<name>jackson-databind</name>
|
||||
<packaging>bundle</packaging>
|
||||
<description>General data-binding functionality for Jackson: works on core streaming API</description>
|
||||
<url>https://github.com/FasterXML/jackson</url>
|
||||
<inceptionYear>2008</inceptionYear>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The Apache Software License, Version 2.0</name>
|
||||
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:git@github.com:FasterXML/jackson-databind.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:FasterXML/jackson-databind.git</developerConnection>
|
||||
<url>https://github.com/FasterXML/jackson-databind</url>
|
||||
<tag>jackson-databind-2.14.2</tag>
|
||||
</scm>
|
||||
|
||||
<properties>
|
||||
<!-- Until Jackson 2.11 (inclusive) baseline was JDK 7 (except for annotations/streaming),
|
||||
with 2.12 baseline became JDK8
|
||||
-->
|
||||
<javac.src.version>1.8</javac.src.version>
|
||||
<javac.target.version>1.8</javac.target.version>
|
||||
|
||||
<!-- 12-Nov-2022, tatu: [databind#3659] Verify Android SDK compatibility.
|
||||
|
||||
Baseline compatibility:
|
||||
|
||||
* Jackson 2.13 compatible with Android SDK 24 and up
|
||||
* Jackson 2.14 compatible with Android SDK 26 and up
|
||||
|
||||
-->
|
||||
<version.android.sdk>26</version.android.sdk>
|
||||
<version.android.sdk.signature>0.5.0</version.android.sdk.signature>
|
||||
|
||||
<!-- Can not use default, since group id != Java package name here -->
|
||||
<osgi.export>com.fasterxml.jackson.databind.*;version=${project.version}</osgi.export>
|
||||
<!-- fix for databind#2299: using jackson-databind in an OSGi environment under Android -->
|
||||
<osgi.import>
|
||||
org.w3c.dom.bootstrap;resolution:=optional,
|
||||
*
|
||||
</osgi.import>
|
||||
|
||||
<!-- Generate PackageVersion.java into this directory. -->
|
||||
<packageVersion.dir>com/fasterxml/jackson/databind/cfg</packageVersion.dir>
|
||||
<packageVersion.package>com.fasterxml.jackson.databind.cfg</packageVersion.package>
|
||||
|
||||
<version.powermock>2.0.9</version.powermock>
|
||||
|
||||
<!-- for Reproducible Builds -->
|
||||
<project.build.outputTimestamp>2023-01-29T01:30:43Z</project.build.outputTimestamp>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- Builds on core streaming API; also needs core annotations -->
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
<!-- 06-Mar-2017, tatu: Although bom provides for dependencies, some legacy
|
||||
usage seems to benefit from actually specifying version here in case
|
||||
it is dependent on transitively
|
||||
-->
|
||||
<version>${jackson.version.annotations}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
<version>${jackson.version.core}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- and for testing we need a few libraries
|
||||
libs for which we use reflection for code, but direct dep for testing
|
||||
-->
|
||||
|
||||
<dependency>
|
||||
<groupId>org.powermock</groupId>
|
||||
<artifactId>powermock-core</artifactId>
|
||||
<version>${version.powermock}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.powermock</groupId>
|
||||
<artifactId>powermock-module-junit4</artifactId>
|
||||
<version>${version.powermock}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.powermock</groupId>
|
||||
<artifactId>powermock-api-mockito2</artifactId>
|
||||
<version>${version.powermock}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava-testlib</artifactId>
|
||||
<version>31.1-jre</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- For testing TestNoClassDefFoundDeserializer -->
|
||||
<dependency>
|
||||
<groupId>javax.measure</groupId>
|
||||
<artifactId>jsr-275</artifactId>
|
||||
<version>0.9.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- For testing memory footprint -->
|
||||
<dependency>
|
||||
<groupId>org.openjdk.jol</groupId>
|
||||
<artifactId>jol-core</artifactId>
|
||||
<version>0.16</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<!-- Alas, need to include snapshot reference since otherwise can not find
|
||||
snapshot of parent... -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>sonatype-nexus-snapshots</id>
|
||||
<name>Sonatype Nexus Snapshots</name>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<!-- attached to Maven test phase -->
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- Important: enable enforcer plug-in: -->
|
||||
<plugin>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<executions> <!-- or? combine.children="merge"> -->
|
||||
<execution>
|
||||
<id>enforce-properties</id>
|
||||
<phase>validate</phase>
|
||||
<goals><goal>enforce</goal></goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>${version.plugin.surefire}</version>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-test</id>
|
||||
<goals>
|
||||
<goal>test</goal>
|
||||
</goals>
|
||||
<phase>test</phase>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<exclude>com.fasterxml.jackson.databind.MapperFootprintTest</exclude>
|
||||
<exclude>**/failing/**/*.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</execution>
|
||||
<!-- 29-Nov-2022, tatu: Too flaky, alas; do not run
|
||||
<execution>
|
||||
<id>footprint-test</id>
|
||||
<goals>
|
||||
<goal>test</goal>
|
||||
</goals>
|
||||
<phase>test</phase>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>com.fasterxml.jackson.databind.MapperFootprintTest</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</execution>
|
||||
-->
|
||||
</executions>
|
||||
<configuration>
|
||||
<classpathDependencyExcludes>
|
||||
<exclude>javax.measure:jsr-275</exclude>
|
||||
</classpathDependencyExcludes>
|
||||
<!-- 26-Nov-2019, tatu: moar parallelism! Per-class basis, safe, efficient enough
|
||||
... although not 100% sure this makes much difference TBH
|
||||
-->
|
||||
<threadCount>4</threadCount>
|
||||
<parallel>classes</parallel>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- parent definitions should be ok, but need to add more links -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<links combine.children="append">
|
||||
<link>https://fasterxml.github.io/jackson-annotations/javadoc/2.14</link>
|
||||
<link>https://fasterxml.github.io/jackson-core/javadoc/2.14</link>
|
||||
</links>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- settings are fine, but needed to trigger execution! -->
|
||||
<plugin>
|
||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||
<artifactId>replacer</artifactId>
|
||||
</plugin>
|
||||
|
||||
<!-- 04-Mar-2019, tatu: Add rudimentary JDK9+ module info. To build with JDK 8
|
||||
will have to use `moduleInfoFile` as anything else requires JDK 9+
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.moditect</groupId>
|
||||
<artifactId>moditect-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<!-- 03-Nov-2020, tatu: Add LICENSE from main level -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>de.jjohannes</groupId>
|
||||
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<!-- 12-Nov-2022, tatu: [databind#3659] add verification of compatibility
|
||||
wrt Android SDK versions using AnimalSniffer with "gummy bears" signatures.
|
||||
|
||||
To be run from CI, but manually with:
|
||||
|
||||
mvn animal-sniffer:check
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
||||
<version>1.22</version>
|
||||
<configuration>
|
||||
<signature>
|
||||
<groupId>com.toasttab.android</groupId>
|
||||
<artifactId>gummy-bears-api-${version.android.sdk}</artifactId>
|
||||
<version>${version.android.sdk.signature}</version>
|
||||
</signature>
|
||||
<ignores>
|
||||
<!-- These are only accessed (safely) via "Java7SupportImpl.java" so ignore
|
||||
-->
|
||||
<ignore>java.beans.ConstructorProperties</ignore>
|
||||
<ignore>java.beans.Transient</ignore>
|
||||
<ignore>java.nio.file.FileSystemNotFoundException</ignore>
|
||||
<ignore>java.nio.file.Path</ignore>
|
||||
<ignore>java.nio.file.Paths</ignore>
|
||||
<ignore>java.nio.file.spi.FileSystemProvider</ignore>
|
||||
</ignores>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<properties>
|
||||
<maven.test.skip>true</maven.test.skip>
|
||||
<skipTests>true</skipTests>
|
||||
</properties>
|
||||
</profile>
|
||||
<!-- 07-Dec-2021, tatu: This is a huge mess, sorry folks... -->
|
||||
<profile>
|
||||
<id>java14</id>
|
||||
<activation>
|
||||
<jdk>14</jdk>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-test-source</id>
|
||||
<phase>generate-test-sources</phase>
|
||||
<goals>
|
||||
<goal>add-test-source</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<sources>
|
||||
<source>src/test-jdk14/java</source>
|
||||
</sources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<inherited>true</inherited>
|
||||
<configuration>
|
||||
<optimize>true</optimize>
|
||||
<!-- Enable Java 14+ for all sources so that Intellij picks the right language level -->
|
||||
<source>14</source>
|
||||
<release>14</release>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
<arg>--enable-preview</arg>
|
||||
</compilerArgs>
|
||||
<fork>true</fork>
|
||||
<useIncrementalCompilation>true</useIncrementalCompilation>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>--enable-preview</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<!-- And different set up for JDK 17 -->
|
||||
<id>java17</id>
|
||||
<activation>
|
||||
<jdk>17</jdk>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-test-source</id>
|
||||
<phase>generate-test-sources</phase>
|
||||
<goals>
|
||||
<goal>add-test-source</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<sources>
|
||||
<source>src/test-jdk14/java</source>
|
||||
</sources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<inherited>true</inherited>
|
||||
<configuration>
|
||||
<optimize>true</optimize>
|
||||
<!-- Enable Java 17 for all sources so that Intellij picks the right language level -->
|
||||
<source>17</source>
|
||||
<release>17</release>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
<arg>--add-opens=java.base/java.lang=ALL-UNNAMED</arg>
|
||||
<arg>--add-opens=java.base/java.util=ALL-UNNAMED</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>errorprone</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<compilerArgs>
|
||||
<arg>-XDcompilePolicy=simple</arg>
|
||||
<arg>
|
||||
-Xplugin:ErrorProne
|
||||
<!--
|
||||
Disable all checks in test code. Bugs in tests can hide runtime failures,
|
||||
however these can be enabled later on. Many issues may require sub-optional
|
||||
code to reproduce failures.
|
||||
-->
|
||||
-XepExcludedPaths:.*/src/test/java/.*
|
||||
|
||||
<!-- ############### -->
|
||||
<!-- UPGRADED CHECKS -->
|
||||
<!-- ############### -->
|
||||
|
||||
<!-- Boxed primitive equality checks can be dangerous when presented with unexpected inputs -->
|
||||
-Xep:BoxedPrimitiveEquality:ERROR
|
||||
|
||||
<!-- ############### -->
|
||||
<!-- DISABLED CHECKS -->
|
||||
<!-- ############### -->
|
||||
|
||||
<!-- UnusedVariable is great at catching mistakes quickly, but
|
||||
requires a few suppressions to avoid noise. Deferring to avoid noise
|
||||
with the introduction of ErrorProne. -->
|
||||
-Xep:UnusedVariable:OFF
|
||||
<!--
|
||||
Disabled to avoid potential API changes. It's not clear if custom JsonNode types
|
||||
exist, and if any do implement equals without hashCode, it's likely they cause bugs.
|
||||
I plan to try fixing this separately.
|
||||
-->
|
||||
-Xep:EqualsHashCode:OFF
|
||||
<!-- Style: javadoc tag validation -->
|
||||
-Xep:MissingSummary:OFF
|
||||
-Xep:InvalidInlineTag:OFF
|
||||
-Xep:EmptyBlockTag:OFF
|
||||
-Xep:AlmostJavadoc:OFF
|
||||
-Xep:InvalidLink:OFF
|
||||
<!-- Style: low reward for enabling. -->
|
||||
-Xep:UnnecessaryParentheses:OFF
|
||||
<!-- Style: low signal -->
|
||||
-Xep:InconsistentCapitalization:OFF
|
||||
<!-- Style: requires specific comments when switch branches neither break nor return -->
|
||||
-Xep:FallThrough:OFF
|
||||
<!-- Style: disable noisy check for importing common names from nested classes -->
|
||||
-Xep:BadImport:OFF
|
||||
<!-- Style: requires a default case when not all cases are handled -->
|
||||
-Xep:MissingCasesInEnumSwitch:OFF
|
||||
<!-- Style: avoid clashes with java.lang. Possibly worth enabling, but this can be done later -->
|
||||
-Xep:JavaLangClash:OFF
|
||||
<!-- These can likely be updated from protected to private, but it's relatively low signal -->
|
||||
-Xep:ProtectedMembersInFinalClass:OFF
|
||||
<!-- These can likely be updated from public to protected, but it's relatively low signal -->
|
||||
-Xep:PublicConstructorForAbstractClass:OFF
|
||||
<!-- jackson-databind doesn't have a logger, in many cases there's no way to pre-validate inputs -->
|
||||
-Xep:EmptyCatch:OFF
|
||||
-Xep:EqualsGetClass:OFF
|
||||
<!-- Noisy check that's largely unnecessary unless the result is mutated.
|
||||
Returning only immutable collections requires additional overhead and
|
||||
impact must be carefully considered. -->
|
||||
-Xep:MixedMutabilityReturnType:OFF
|
||||
<!-- Noisy in jackson and libraries which must interact with generics -->
|
||||
-Xep:TypeParameterUnusedInFormals:OFF
|
||||
<!-- Check is noisy around code that's meant to handle types that are considered obsolete -->
|
||||
-Xep:JdkObsolete:OFF
|
||||
<!-- Avoid noise from tests -->
|
||||
-Xep:JUnit3FloatingPointComparisonWithoutDelta:OFF
|
||||
<!-- Disable the StringSplitter check because it requires a guava dependency -->
|
||||
-Xep:StringSplitter:OFF
|
||||
<!-- Disable checks which require custom annotations -->
|
||||
-Xep:AnnotateFormatMethod:OFF
|
||||
-Xep:GuardedBy:OFF
|
||||
<!-- This check is generally high signal, however it is noisy in
|
||||
low level projects which implement caches and interning. -->
|
||||
-Xep:ReferenceEquality:OFF
|
||||
</arg>
|
||||
</compilerArgs>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>com.google.errorprone</groupId>
|
||||
<artifactId>error_prone_core</artifactId>
|
||||
<version>2.4.0</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
<fork>true</fork>
|
||||
<useIncrementalCompilation>true</useIncrementalCompilation>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,500 @@
|
||||
<?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">
|
||||
<!-- This module was also published with a richer model, Gradle metadata, -->
|
||||
<!-- which should be used instead. Do not delete the following line which -->
|
||||
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
|
||||
<!-- that they should prefer consuming it instead. -->
|
||||
<!-- do_not_remove: published-with-gradle-metadata -->
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.fasterxml.jackson</groupId>
|
||||
<artifactId>jackson-base</artifactId>
|
||||
<version>2.15.3</version>
|
||||
</parent>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
<version>2.15.3</version>
|
||||
<name>jackson-databind</name>
|
||||
<packaging>jar</packaging>
|
||||
<description>General data-binding functionality for Jackson: works on core streaming API</description>
|
||||
<url>https://github.com/FasterXML/jackson</url>
|
||||
<inceptionYear>2008</inceptionYear>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The Apache Software License, Version 2.0</name>
|
||||
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:git@github.com:FasterXML/jackson-databind.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:FasterXML/jackson-databind.git</developerConnection>
|
||||
<url>https://github.com/FasterXML/jackson-databind</url>
|
||||
<tag>jackson-databind-2.15.3</tag>
|
||||
</scm>
|
||||
|
||||
<properties>
|
||||
<!-- Until Jackson 2.11 (inclusive) baseline was JDK 7 (except for annotations/streaming),
|
||||
with 2.12 baseline became JDK8
|
||||
-->
|
||||
<javac.src.version>1.8</javac.src.version>
|
||||
<javac.target.version>1.8</javac.target.version>
|
||||
|
||||
<!-- 12-Nov-2022, tatu: [databind#3659] Verify Android SDK compatibility.
|
||||
|
||||
Baseline compatibility:
|
||||
|
||||
* Jackson 2.13 compatible with Android SDK 24 and up
|
||||
* Jackson 2.14 compatible with Android SDK 26 and up
|
||||
* Jackson 2.15 compatible with Android SDK 26 and up
|
||||
|
||||
-->
|
||||
<version.android.sdk>26</version.android.sdk>
|
||||
<version.android.sdk.signature>0.5.1</version.android.sdk.signature>
|
||||
|
||||
<!-- Can not use default, since group id != Java package name here -->
|
||||
<osgi.export>com.fasterxml.jackson.databind.*;version=${project.version}</osgi.export>
|
||||
<!-- fix for databind#2299: using jackson-databind in an OSGi environment under Android -->
|
||||
<osgi.import>
|
||||
org.w3c.dom.bootstrap;resolution:=optional,
|
||||
*
|
||||
</osgi.import>
|
||||
|
||||
<!-- Generate PackageVersion.java into this directory. -->
|
||||
<packageVersion.dir>com/fasterxml/jackson/databind/cfg</packageVersion.dir>
|
||||
<packageVersion.package>com.fasterxml.jackson.databind.cfg</packageVersion.package>
|
||||
|
||||
<version.powermock>2.0.9</version.powermock>
|
||||
|
||||
<!-- for Reproducible Builds -->
|
||||
<project.build.outputTimestamp>2023-10-13T00:19:21Z</project.build.outputTimestamp>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- Builds on core streaming API; also needs core annotations -->
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
<!-- 06-Mar-2017, tatu: Although bom provides for dependencies, some legacy
|
||||
usage seems to benefit from actually specifying version here in case
|
||||
it is dependent on transitively
|
||||
-->
|
||||
<version>${jackson.version.annotations}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
<version>${jackson.version.core}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Test dependencies -->
|
||||
<dependency>
|
||||
<groupId>org.junit.vintage</groupId>
|
||||
<artifactId>junit-vintage-engine</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.powermock</groupId>
|
||||
<artifactId>powermock-core</artifactId>
|
||||
<version>${version.powermock}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.powermock</groupId>
|
||||
<artifactId>powermock-module-junit4</artifactId>
|
||||
<version>${version.powermock}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.powermock</groupId>
|
||||
<artifactId>powermock-api-mockito2</artifactId>
|
||||
<version>${version.powermock}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava-testlib</artifactId>
|
||||
<version>31.1-jre</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- For testing TestNoClassDefFoundDeserializer -->
|
||||
<dependency>
|
||||
<groupId>javax.measure</groupId>
|
||||
<artifactId>jsr-275</artifactId>
|
||||
<version>0.9.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- For heap usage testing see https://github.com/FasterXML/jackson-databind/pull/3675 -->
|
||||
<dependency>
|
||||
<groupId>org.openjdk.jol</groupId>
|
||||
<artifactId>jol-core</artifactId>
|
||||
<version>0.16</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<!-- Alas, need to include snapshot reference since otherwise can not find
|
||||
snapshot of parent... -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>sonatype-nexus-snapshots</id>
|
||||
<name>Sonatype Nexus Snapshots</name>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
<releases><enabled>false</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.junit</groupId>
|
||||
<artifactId>junit-bom</artifactId>
|
||||
<version>5.9.2</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<!-- attached to Maven test phase -->
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- Important: enable enforcer plug-in: -->
|
||||
<plugin>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<executions> <!-- or? combine.children="merge"> -->
|
||||
<execution>
|
||||
<id>enforce-properties</id>
|
||||
<phase>validate</phase>
|
||||
<goals><goal>enforce</goal></goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<version>${version.plugin.surefire}</version>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<classpathDependencyExcludes>
|
||||
<exclude>javax.measure:jsr-275</exclude>
|
||||
</classpathDependencyExcludes>
|
||||
<excludes>
|
||||
<exclude>com.fasterxml.jackson.databind.MapperFootprintTest</exclude>
|
||||
<exclude>**/failing/**/*.java</exclude>
|
||||
</excludes>
|
||||
<!-- 26-Nov-2019, tatu: moar parallelism! Per-class basis, safe, efficient enough
|
||||
... although not 100% sure this makes much difference TBH
|
||||
-->
|
||||
<threadCount>4</threadCount>
|
||||
<parallel>classes</parallel>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- parent definitions should be ok, but need to add more links -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<links combine.children="append">
|
||||
<link>https://fasterxml.github.io/jackson-annotations/javadoc/2.14</link>
|
||||
<link>https://fasterxml.github.io/jackson-core/javadoc/2.14</link>
|
||||
</links>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- settings are fine, but needed to trigger execution! -->
|
||||
<plugin>
|
||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||
<artifactId>replacer</artifactId>
|
||||
</plugin>
|
||||
|
||||
<!-- 04-Mar-2019, tatu: Add rudimentary JDK9+ module info. To build with JDK 8
|
||||
will have to use `moduleInfoFile` as anything else requires JDK 9+
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.moditect</groupId>
|
||||
<artifactId>moditect-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<!-- 03-Nov-2020, tatu: Add LICENSE from main level -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>de.jjohannes</groupId>
|
||||
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<!-- 12-Nov-2022, tatu: [databind#3659] add verification of compatibility
|
||||
wrt Android SDK versions using AnimalSniffer with "gummy bears" signatures.
|
||||
|
||||
To be run from CI, but manually with:
|
||||
|
||||
mvn animal-sniffer:check
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
||||
<version>1.22</version>
|
||||
<configuration>
|
||||
<signature>
|
||||
<groupId>com.toasttab.android</groupId>
|
||||
<artifactId>gummy-bears-api-${version.android.sdk}</artifactId>
|
||||
<version>${version.android.sdk.signature}</version>
|
||||
</signature>
|
||||
<ignores>
|
||||
<!-- These are only accessed (safely) via "Java7SupportImpl.java" so ignore
|
||||
-->
|
||||
<ignore>java.beans.ConstructorProperties</ignore>
|
||||
<ignore>java.beans.Transient</ignore>
|
||||
</ignores>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<properties>
|
||||
<maven.test.skip>true</maven.test.skip>
|
||||
<skipTests>true</skipTests>
|
||||
</properties>
|
||||
</profile>
|
||||
<!-- 07-Dec-2021, tatu: This is a huge mess, sorry folks... -->
|
||||
<profile>
|
||||
<id>java14</id>
|
||||
<activation>
|
||||
<jdk>14</jdk>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-test-source</id>
|
||||
<phase>generate-test-sources</phase>
|
||||
<goals>
|
||||
<goal>add-test-source</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<sources>
|
||||
<source>src/test-jdk14/java</source>
|
||||
</sources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<inherited>true</inherited>
|
||||
<configuration>
|
||||
<optimize>true</optimize>
|
||||
<!-- Enable Java 14+ for all sources so that Intellij picks the right language level -->
|
||||
<source>14</source>
|
||||
<release>14</release>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
<arg>--enable-preview</arg>
|
||||
</compilerArgs>
|
||||
<fork>true</fork>
|
||||
<useIncrementalCompilation>true</useIncrementalCompilation>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>--enable-preview</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<!-- And different set up for JDK 17 -->
|
||||
<id>java17</id>
|
||||
<activation>
|
||||
<jdk>17</jdk>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-test-source</id>
|
||||
<phase>generate-test-sources</phase>
|
||||
<goals>
|
||||
<goal>add-test-source</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<sources>
|
||||
<source>src/test-jdk14/java</source>
|
||||
<source>src/test-jdk17/java</source>
|
||||
</sources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<inherited>true</inherited>
|
||||
<configuration>
|
||||
<optimize>true</optimize>
|
||||
<!-- Enable Java 17 for all sources so that Intellij picks the right language level -->
|
||||
<source>17</source>
|
||||
<release>17</release>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
<arg>--add-opens=java.base/java.lang=ALL-UNNAMED</arg>
|
||||
<arg>--add-opens=java.base/java.util=ALL-UNNAMED</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>errorprone</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<compilerArgs>
|
||||
<arg>-XDcompilePolicy=simple</arg>
|
||||
<arg>
|
||||
-Xplugin:ErrorProne
|
||||
<!--
|
||||
Disable all checks in test code. Bugs in tests can hide runtime failures,
|
||||
however these can be enabled later on. Many issues may require sub-optional
|
||||
code to reproduce failures.
|
||||
-->
|
||||
-XepExcludedPaths:.*/src/test/java/.*
|
||||
|
||||
<!-- ############### -->
|
||||
<!-- UPGRADED CHECKS -->
|
||||
<!-- ############### -->
|
||||
|
||||
<!-- Boxed primitive equality checks can be dangerous when presented with unexpected inputs -->
|
||||
-Xep:BoxedPrimitiveEquality:ERROR
|
||||
|
||||
<!-- ############### -->
|
||||
<!-- DISABLED CHECKS -->
|
||||
<!-- ############### -->
|
||||
|
||||
<!-- UnusedVariable is great at catching mistakes quickly, but
|
||||
requires a few suppressions to avoid noise. Deferring to avoid noise
|
||||
with the introduction of ErrorProne. -->
|
||||
-Xep:UnusedVariable:OFF
|
||||
<!--
|
||||
Disabled to avoid potential API changes. It's not clear if custom JsonNode types
|
||||
exist, and if any do implement equals without hashCode, it's likely they cause bugs.
|
||||
I plan to try fixing this separately.
|
||||
-->
|
||||
-Xep:EqualsHashCode:OFF
|
||||
<!-- Style: javadoc tag validation -->
|
||||
-Xep:MissingSummary:OFF
|
||||
-Xep:InvalidInlineTag:OFF
|
||||
-Xep:EmptyBlockTag:OFF
|
||||
-Xep:AlmostJavadoc:OFF
|
||||
-Xep:InvalidLink:OFF
|
||||
<!-- Style: low reward for enabling. -->
|
||||
-Xep:UnnecessaryParentheses:OFF
|
||||
<!-- Style: low signal -->
|
||||
-Xep:InconsistentCapitalization:OFF
|
||||
<!-- Style: requires specific comments when switch branches neither break nor return -->
|
||||
-Xep:FallThrough:OFF
|
||||
<!-- Style: disable noisy check for importing common names from nested classes -->
|
||||
-Xep:BadImport:OFF
|
||||
<!-- Style: requires a default case when not all cases are handled -->
|
||||
-Xep:MissingCasesInEnumSwitch:OFF
|
||||
<!-- Style: avoid clashes with java.lang. Possibly worth enabling, but this can be done later -->
|
||||
-Xep:JavaLangClash:OFF
|
||||
<!-- These can likely be updated from protected to private, but it's relatively low signal -->
|
||||
-Xep:ProtectedMembersInFinalClass:OFF
|
||||
<!-- These can likely be updated from public to protected, but it's relatively low signal -->
|
||||
-Xep:PublicConstructorForAbstractClass:OFF
|
||||
<!-- jackson-databind doesn't have a logger, in many cases there's no way to pre-validate inputs -->
|
||||
-Xep:EmptyCatch:OFF
|
||||
-Xep:EqualsGetClass:OFF
|
||||
<!-- Noisy check that's largely unnecessary unless the result is mutated.
|
||||
Returning only immutable collections requires additional overhead and
|
||||
impact must be carefully considered. -->
|
||||
-Xep:MixedMutabilityReturnType:OFF
|
||||
<!-- Noisy in jackson and libraries which must interact with generics -->
|
||||
-Xep:TypeParameterUnusedInFormals:OFF
|
||||
<!-- Check is noisy around code that's meant to handle types that are considered obsolete -->
|
||||
-Xep:JdkObsolete:OFF
|
||||
<!-- Avoid noise from tests -->
|
||||
-Xep:JUnit3FloatingPointComparisonWithoutDelta:OFF
|
||||
<!-- Disable the StringSplitter check because it requires a guava dependency -->
|
||||
-Xep:StringSplitter:OFF
|
||||
<!-- Disable checks which require custom annotations -->
|
||||
-Xep:AnnotateFormatMethod:OFF
|
||||
-Xep:GuardedBy:OFF
|
||||
<!-- This check is generally high signal, however it is noisy in
|
||||
low level projects which implement caches and interning. -->
|
||||
-Xep:ReferenceEquality:OFF
|
||||
</arg>
|
||||
</compilerArgs>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>com.google.errorprone</groupId>
|
||||
<artifactId>error_prone_core</artifactId>
|
||||
<version>2.4.0</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
<fork>true</fork>
|
||||
<useIncrementalCompilation>true</useIncrementalCompilation>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"formatVersion": "1.1",
|
||||
"component": {
|
||||
"group": "com.fasterxml.jackson.core",
|
||||
"module": "jackson-databind",
|
||||
"version": "2.15.3",
|
||||
"attributes": {
|
||||
"org.gradle.status": "release"
|
||||
}
|
||||
},
|
||||
"createdBy": {
|
||||
"maven": {
|
||||
"version": "3.9.3"
|
||||
}
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "apiElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-api"
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
"group": "com.fasterxml.jackson.core",
|
||||
"module": "jackson-annotations",
|
||||
"version": {
|
||||
"requires": "2.15.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "com.fasterxml.jackson.core",
|
||||
"module": "jackson-core",
|
||||
"version": {
|
||||
"requires": "2.15.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "com.fasterxml.jackson",
|
||||
"module": "jackson-bom",
|
||||
"version": {
|
||||
"requires": "2.15.3"
|
||||
},
|
||||
"attributes": {
|
||||
"org.gradle.category": "platform"
|
||||
},
|
||||
"endorseStrictVersions": true
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"name": "jackson-databind-2.15.3.jar",
|
||||
"url": "jackson-databind-2.15.3.jar",
|
||||
"size": 1620120,
|
||||
"sha512": "490ccc99a9c28238fe28455bae08196b83df034cae8a1947d27ff89e500a5d812cf4be36c61942e647c62ad540d8eb4428f49855f0cc8db0ee9e7a5b12ba2454",
|
||||
"sha256": "c3c53333a2172a80678bda1803e39cff45bec6ae3e9c7d4f44a81ec4e2ab18dc",
|
||||
"sha1": "a734bc2c47a9453c4efa772461a3aeb273c010d9",
|
||||
"md5": "5f453c55f127690fa8491ce347aa055c"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "runtimeElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-runtime"
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
"group": "com.fasterxml.jackson.core",
|
||||
"module": "jackson-annotations",
|
||||
"version": {
|
||||
"requires": "2.15.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "com.fasterxml.jackson.core",
|
||||
"module": "jackson-core",
|
||||
"version": {
|
||||
"requires": "2.15.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "com.fasterxml.jackson",
|
||||
"module": "jackson-bom",
|
||||
"version": {
|
||||
"requires": "2.15.3"
|
||||
},
|
||||
"attributes": {
|
||||
"org.gradle.category": "platform"
|
||||
},
|
||||
"endorseStrictVersions": true
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"name": "jackson-databind-2.15.3.jar",
|
||||
"url": "jackson-databind-2.15.3.jar",
|
||||
"size": 1620120,
|
||||
"sha512": "490ccc99a9c28238fe28455bae08196b83df034cae8a1947d27ff89e500a5d812cf4be36c61942e647c62ad540d8eb4428f49855f0cc8db0ee9e7a5b12ba2454",
|
||||
"sha256": "c3c53333a2172a80678bda1803e39cff45bec6ae3e9c7d4f44a81ec4e2ab18dc",
|
||||
"sha1": "a734bc2c47a9453c4efa772461a3aeb273c010d9",
|
||||
"md5": "5f453c55f127690fa8491ce347aa055c"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user