json-io
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.cedarsoftware</groupId> <artifactId>json-io</artifactId> <version>4.52.0</version> </dependency>
<?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"> <modelVersion>4.0.0</modelVersion> <name>json-io</name> <groupId>com.cedarsoftware</groupId> <artifactId>json-io</artifactId> <packaging>bundle</packaging> <version>4.52.0</version> <description>Java JSON serialization</description> <url>https://github.com/jdereg/json-io</url> <developers> <developer> <id>jdereg</id> <name>John DeRegnaucourt</name> <email>jdereg@gmail.com</email> </developer> <developer> <id>kpartlow</id> <name>Kenny Partlow</name> <email>kpartlow@gmail.com</email> </developer> </developers> <properties> <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss.SSSZ</maven.build.timestamp.format> <!-- remove source encoding warnings from maven output --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <version.java-util>3.3.0</version.java-util> <!-- testing only --> <version.junit-jupiter-params>5.11.4</version.junit-jupiter-params> <version.assertj-core>3.27.3</version.assertj-core> <version.gson>2.11.0</version.gson> <version.jackson-core>2.18.2</version.jackson-core> <!-- Build maven-***-plugins--> <version.maven-jar-plugin>3.4.2</version.maven-jar-plugin> <version.maven-gpg-plugin>3.2.7</version.maven-gpg-plugin> <version.maven-compiler-plugin>3.13.0</version.maven-compiler-plugin> <version.maven-javadoc-plugin>3.11.2</version.maven-javadoc-plugin> <version.maven-surefire-plugin>3.5.2</version.maven-surefire-plugin> <version.maven-source-plugin>3.3.1</version.maven-source-plugin> <version.maven-resources-plugin>3.3.1</version.maven-resources-plugin> <version.maven-install-plugin>3.1.3</version.maven-install-plugin> <version.maven-deploy-plugin>3.1.3</version.maven-deploy-plugin> <version.maven-scr-plugin>1.26.4</version.maven-scr-plugin> <version.maven-bundle-plugin>5.1.9</version.maven-bundle-plugin> <version.moditect-maven-plugin>1.2.2.Final</version.moditect-maven-plugin> <!-- release to Maven Central via Sonatype Nexus --> <version.nexus-staging-maven-plugin>1.7.0</version.nexus-staging-maven-plugin> </properties> <profiles> <profile> <id>jdk9-and-above</id> <activation> <jdk>[9,)</jdk> </activation> <properties> <maven.compiler.release>8</maven.compiler.release> <!-- Remove source and target to prevent conflicts --> <maven.compiler.source></maven.compiler.source> <maven.compiler.target></maven.compiler.target> </properties> </profile> <!-- Profile for JDK8 --> <profile> <id>jdk8</id> <activation> <jdk>1.8</jdk> </activation> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <!-- Do not set release for JDK8 --> <maven.compiler.release></maven.compiler.release> </properties> </profile> <profile> <id>release-sign-artifacts</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${version.maven-gpg-plugin}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <keyname>${gpg.keyname}</keyname> <passphrase>${gpg.passphrase}</passphrase> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <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> <url>https://github.com/jdereg/json-io</url> <connection>scm:git:git://github.com/jdereg/json-io.git</connection> <developerConnection>scm:git:git@github.com:jdereg/json-io.git</developerConnection> </scm> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${version.maven-jar-plugin}</version> <!-- Use the latest version available --> <configuration> <archive> <manifestEntries> <Implementation-Title>json-io</Implementation-Title> <Implementation-Version>${project.version}</Implementation-Version> <Implementation-Vendor-Id>com.cedarsoftware</Implementation-Vendor-Id> <Implementation-URL>https://github.com/jdereg/json-io</Implementation-URL> <Built-By>${user.name}</Built-By> <Build-Timestamp>${maven.build.timestamp}</Build-Timestamp> <Build-Jdk>${java.version} (${java.vendor} ${java.vm.version})</Build-Jdk> <Build-OS>${os.name} ${os.arch} ${os.version}</Build-OS> </manifestEntries> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-scr-plugin</artifactId> <version>${version.maven-scr-plugin}</version> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>${version.maven-bundle-plugin}</version> <extensions>true</extensions> <configuration> <instructions> <Import-Package> com.cedarsoftware.util, com.cedarsoftware.util.convert</Import-Package> <Export-Package> com.cedarsoftware.io, com.cedarsoftware.io.reflect, com.cedarsoftware.io.reflect.filters, com.cedarsoftware.io.reflect.filters.field, com.cedarsoftware.io.reflect.filters.method </Export-Package> <DynamicImport-Package>*</DynamicImport-Package> </instructions> </configuration> <executions> <execution> <id>bundle-manifest</id> <goals> <goal> manifest </goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${version.maven-compiler-plugin}</version> <configuration> <release>${maven.compiler.release}</release> <source>${maven.compiler.source}</source> <target>${maven.compiler.target}</target> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${version.maven-source-plugin}</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>${version.maven-resources-plugin}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>${version.maven-install-plugin}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>${version.maven-deploy-plugin}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${version.maven-javadoc-plugin}</version> <configuration> <additionalOptions>-Xdoclint:none</additionalOptions> <additionalJOption>-Xdoclint:none</additionalJOption> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>${version.nexus-staging-maven-plugin}</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${version.maven-surefire-plugin}</version> <configuration> <useModulePath>false</useModulePath> <!-- Ensure module path is disabled for JDK8 --> <useSystemClassLoader>false</useSystemClassLoader> <argLine> -Duser.timezone=America/New_York -Duser.language=en -Duser.region=US -Duser.country=US -Xmx1024m </argLine> <forkCount>1</forkCount> <reuseForks>true</reuseForks> <!-- Enable JUnit Platform (JUnit 5) --> <properties> <property> <name>junit.jupiter.extensions.autodetection.enabled</name> <value>true</value> </property> </properties> </configuration> </plugin> <plugin> <groupId>org.moditect</groupId> <artifactId>moditect-maven-plugin</artifactId> <version>${version.moditect-maven-plugin}</version> <executions> <execution> <id>add-module-infos</id> <goals> <goal>add-module-info</goal> </goals> <phase>package</phase> <configuration> <jvmVersion>base</jvmVersion> <module> <moduleInfoSource> module com.cedarsoftware.io { requires com.cedarsoftware.util; requires com.cedarsoftware.util.convert; exports com.cedarsoftware.io; exports com.cedarsoftware.io.reflect; exports com.cedarsoftware.io.reflect.filters; exports com.cedarsoftware.io.reflect.filters.field; exports com.cedarsoftware.io.reflect.filters.method; exports com.cedarsoftware.io.util; } </moduleInfoSource> </module> <overwriteExistingFiles>true</overwriteExistingFiles> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.cedarsoftware</groupId> <artifactId>java-util</artifactId> <version>${version.java-util}</version> </dependency> <!-- ALL test-scope dependencies below --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${version.junit-jupiter-params}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${version.junit-jupiter-params}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <version>${version.junit-jupiter-params}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>${version.gson}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>${version.assertj-core}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>${version.jackson-core}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>${version.jackson-core}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${version.jackson-core}</version> <scope>test</scope> </dependency> </dependencies> </project>