jackson-dataformat-xml
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>tools.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>3.1.0-rc1</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">
<!-- 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>tools.jackson</groupId>
<artifactId>jackson-base</artifactId>
<version>3.1.0-rc1</version>
</parent>
<groupId>tools.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>3.1.0-rc1</version>
<name>Jackson-dataformat-XML</name>
<packaging>jar</packaging>
<description>Data format extension for Jackson to offer
alternative support for serializing POJOs as XML and deserializing XML as POJOs.
</description>
<url>https://github.com/FasterXML/jackson-dataformat-xml</url>
<scm>
<connection>scm:git:git@github.com:FasterXML/jackson-dataformat-xml.git</connection>
<developerConnection>scm:git:git@github.com:FasterXML/jackson-dataformat-xml.git</developerConnection>
<url>http://github.com/FasterXML/jackson-dataformat-xml</url>
<tag>jackson-dataformat-xml-3.1.0-rc1</tag>
</scm>
<properties>
<packageVersion.dir>tools/jackson/dataformat/xml</packageVersion.dir>
<packageVersion.package>${project.groupId}.xml</packageVersion.package>
<!-- for Reproducible Builds -->
<project.build.outputTimestamp>2026-01-28T04:35:01Z</project.build.outputTimestamp>
</properties>
<dependencies>
<!-- Extends Jackson (jackson-mapper); requires Stax API (and implementation
on deploy time), Stax2 API.
-->
<dependency>
<groupId>tools.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
<groupId>tools.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<!-- JDK 1.6+ provides stax-api (javax.xml.stream), but Stax2 API must be included -->
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>stax2-api</artifactId>
<version>${jackson.version.dep.stax2-api}</version>
<exclusions>
<exclusion>
<groupId>javax.xml.stream</groupId>
<artifactId>stax-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- and a Stax impl is needed: SJSXP (from JDK 1.6) might work, but always
has odd issues. Let's default to Woodstox: caller can upgrade to Aalto
(needs to block this dep)
-->
<dependency>
<groupId>com.fasterxml.woodstox</groupId>
<artifactId>woodstox-core</artifactId>
<version>${jackson.version.dep.woodstox}</version>
<exclusions>
<exclusion>
<groupId>javax.xml.stream</groupId>
<artifactId>stax-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Test dependencies -->
<!-- 11-Jan-2025, joohyukkim: For JSTEP-10, migrate to JUnit5 -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<!-- Jakarta XMLBind (nee javax/jaxb( annotation introspector is needed BUT ONLY
for tests (starting 2.13: previously compile/runtime)
-->
<dependency>
<groupId>tools.jackson.module</groupId>
<artifactId>jackson-module-jakarta-xmlbind-annotations</artifactId>
<scope>test</scope>
</dependency>
<!-- 04-Feb-2017, tatu: Java 9 does not bundle JAXB API either,
so we need dependency. Should come via above module, but just
in case it didn't, let's add here as a test dep to make Java 9 build work
-->
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>3.0.1</version>
<scope>test</scope>
</dependency>
<!-- 03-Jul-2021, tatu: For sanity checking of non-Woodstox impl usage
need, say, Sjsxp
-->
<!-- 11-Jan-2025, tatu: Can't properly due to missing JPMS, may re-evalute
in future but for now excluded
-->
<!--
<dependency>
<groupId>com.sun.xml.stream</groupId>
<artifactId>sjsxp</artifactId>
<version>1.0.2</version>
<scope>test</scope>
</dependency>
-->
</dependencies>
<!-- Alas, need to include snapshot reference since otherwise can not find
snapshot of parent... -->
<!-- 14-Jul-2022, tatu: Worse. We need both "new" and "old" Snapshot repositories
because "jackson-annotations" is published via "old"
-->
<repositories>
<!-- 13-May-2025, tatu: and now moving to Central Portal -->
<repository>
<id>central-snapshots</id>
<name>Sonatype Central Portal (snapshots)</name>
<url>https://central.sonatype.com/repository/maven-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>
</plugin>
<plugin> <!-- default settings are fine, just need to enable here -->
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
</plugin>
<!-- 29-Apr-2025, tatu: SBOM generation [JSTEP-14] -->
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
</plugin>
<!-- 05-Jul-2020, tatu: Add gradle module metadata -->
<plugin>
<groupId>org.gradlex</groupId>
<artifactId>gradle-module-metadata-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>