jaxb-api maven dependency

JAXB defines an API for reading and writing Java objects to and from XML documents.

This page gives you a quick reference to get jaxb-api dependency for Maven or Gradle projects. You can also download the jaxb-api jar dependency, the link given at the "Download JAR File" section.

JAXB API Maven Dependency

Copy below JAXB API maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api -->
<dependency>
    <groupId>javax.xml.bind</groupId>
    <artifactId>jaxb-api</artifactId>
    <version>2.4.0-b180830.0359</version>
</dependency>
For more details about the proper version to use, check out the following Maven Central link.

JAXB API Gradle Dependency

Copy below JAXB API gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api
compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.4.0-b180830.0359'

Comments