How To Install Java Artifact javax.persistence.persistence-api v1.0.2

javax.persistence persistence-api 1.0.2

Introduction

In this article, we'll learn how to install Java artifact persistence-api from javax.persistence group in version 1.0.2. The artifact is available in 4 versions: 1.0b 1.0.2 1.0-rev-1 1.0

How To Install Java Artifact javax.persistence.persistence-api In Version 1.0.2

To install the Javax Persistence Api artifact in version 1.0.2 add the following dependency to your pom.xml file for Maven Project.

The dependency needs to be added in the dependencies section which is located in the main project tag of the pom.xml file. The sample pom.xml file that uses Javax Persistence Api dependency could look as follows:

Other dependency snippets for Gradle, SBT, Ivy, Grape, Leiningen, and Buildr

Below you can find code snippets for other project build tools like Gradle, SBT, Ivy, Grape, Leiningen, and Buildr.