Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/Maven"

(Sample pom.xml entries)
(Identifiers)
Line 13: Line 13:
 
| eclipselink || The non OSGI EclipseLink jar
 
| eclipselink || The non OSGI EclipseLink jar
 
|-
 
|-
| org.eclipse.persistence.core || OSGI-enabled EclipseLink core bundle
+
| org.eclipse.persistence.core || OSGI-enabled EclipseLink core bundle, get this
 
|-
 
|-
 
| org.eclipse.persistence.jpa || OSGI-enabled EclipseLink JPA bundle
 
| org.eclipse.persistence.jpa || OSGI-enabled EclipseLink JPA bundle
Line 27: Line 27:
 
| javax.persistence || EclipseLink version of the javax.persistence classes (OSGi enabled)
 
| javax.persistence || EclipseLink version of the javax.persistence classes (OSGi enabled)
 
|}
 
|}
 +
 +
To get eclipselink functionality, do one of the following:
 +
 +
1. Get the eclipselink component, it contains all the classes in all of the org.eclipse.persistence.* components
 +
 +
2. Get a selection of the org.eclipse.persistence.* components.  You can either get all of them, or choose between Core, JPA, MOXy and SDO by getting the cooresponding bundle.  Starting with EclipseLink 2.0.0, the in the bundles should allow the proper dependencies to be loaded with those components.
 +
 +
The javax.persistence bundle is provided separately and is the EclipseLink-implementation of the JPA 2.0 specification classes and interfaces.
  
 
== Versioning ==
 
== Versioning ==

Revision as of 16:28, 13 January 2010

Location

Identifiers

  • Group Id: org.eclipse.persistence
Artifact Id Description
eclipselink The non OSGI EclipseLink jar
org.eclipse.persistence.core OSGI-enabled EclipseLink core bundle, get this
org.eclipse.persistence.jpa OSGI-enabled EclipseLink JPA bundle
org.eclipse.persistence.moxy OSGI-enabled EclipseLink MOXY bundle
org.eclipse.persistence.sdo OSGI-enabled EclipseLink SDO bundle
org.eclipse.persistence.asm OSGI-enabled EclipseLink ASM bundle
org.eclipse.persistence.antlr OSGI-enabled EclipseLink ANTLR bundle
javax.persistence EclipseLink version of the javax.persistence classes (OSGi enabled)

To get eclipselink functionality, do one of the following:

1. Get the eclipselink component, it contains all the classes in all of the org.eclipse.persistence.* components

2. Get a selection of the org.eclipse.persistence.* components. You can either get all of them, or choose between Core, JPA, MOXy and SDO by getting the cooresponding bundle. Starting with EclipseLink 2.0.0, the in the bundles should allow the proper dependencies to be loaded with those components.

The javax.persistence bundle is provided separately and is the EclipseLink-implementation of the JPA 2.0 specification classes and interfaces.

Versioning

Available Released Versions

  • 2.0.0
    • JPA 2.0 Implementation release
  • 1.2
  • 1.1.3
  • 1.1.2
    • Eclipse Galileo Release
  • 1.1.1
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0

Releases Under development

  • 2.1.0
  • 2.0.1
  • 1.2.1
  • 1.1.4

Under development releases have the following additional naming conventions

  • <releaseNumber>-SNAPSHOT (The most recent nightly build e.g. 2.1.0-SNAPSHOT)
  • <releaseNumber>-Mx (For milestones, replace x with the milestone number e.g. 2.0.0-M1)
  • <releaseNumber>-RCx (For release candidates, replace x with the release candidate number e.g. 2.0.0-RC1)

Sample pom.xml entries


<dependencies>
  <dependency>
    <groupId>org.eclipse.persistence</groupId>
    <artifactId>eclipselink</artifactId>
    <version>2.0.0</version>
    <scope>compile</scope>
       ...
  </dependency>
<dependencies>
      ...
<repositories>
  <repository>
     <id>EclipseLink Repo</id>
     <url>http://www.eclipse.org/downloads/download.php?r=1&amp;nf=1&amp;file=/rt/eclipselink/maven.repo</url>
  </repository>    
      ...
</repositories> 

Back to the top