How to add a dependency to Maven
Add the following org.glassfish : javax.persistence maven dependency to the pom.xml
file with your favorite IDE (IntelliJ / Eclipse / Netbeans):
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.persistence</artifactId>
<version>3.0-Prelude-Embedded-b14</version>
</dependency>
How to add a dependency to Gradle
Gradle Groovy DSL: Add the following org.glassfish : javax.persistence gradle dependency to your build.gradle
file:
implementation 'org.glassfish:javax.persistence:3.0-Prelude-Embedded-b14'
Gradle Kotlin DSL: Add the following org.glassfish : javax.persistence gradle kotlin dependency to your build.gradle.kts
file:
implementation("org.glassfish:javax.persistence:3.0-Prelude-Embedded-b14")
How to add a dependency to SBT Scala
SBT Scala: Add the following org.glassfish : javax.persistence sbt scala dependency to your build.sbt
file:
libraryDependencies += "org.glassfish" % "javax.persistence" % "3.0-Prelude-Embedded-b14"