How To Install Java Artifact org.glassfish.javax.persistence v3.0-Prelude-Embedded-m2

org.glassfish javax.persistence 3.0-Prelude-Embedded-m2

Introduction

In this article, we'll learn how to install Java artifact javax.persistence from org.glassfish group in version 3.0-Prelude-Embedded-m2. The artifact is available in 10 versions: 10.0-b28 3.0-b29 3.0-Prelude-b28b 3.0-Prelude-Embedded-m2 3.0-Prelude-Embedded-b14 3.0-Prelude-Embedded-b13 3.0-Prelude-Embedded-b12 3.0-Prelude-Embedded-b11 3.0-Prelude-Embedded-b10 3.0-Prelude The parent project is: org.glassfish::api-pom::3.0-Prelude-Embedded-m2

How To Install Java Artifact org.glassfish.javax.persistence In Version 3.0-Prelude-Embedded-m2

To install the javax.persistence API v.1.0 artifact in version 3.0-Prelude-Embedded-m2 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 v.1.0 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.