Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360727 - Publish official Maven JPA API 2.x & later jars
Summary: Publish official Maven JPA API 2.x & later jars
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard: maven
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 16:34 EDT by Matthew Adams CLA
Modified: 2022-06-09 10:34 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Adams CLA 2011-10-12 16:34:13 EDT
Build Identifier: 2.0

It's always been difficult to use JPA in Maven or Ivy because there's no official JPA 2.0 jar that's published.  People have to end up using
<dependency>
    <groupId>org.eclipse.persistence</groupId>
    <artifactId>javax.persistence</artifactId>
    <version>2.0.0</version>
</dependency>
or
<dependency>
    <groupId>org.glassfish</groupId>
    <artifactId>javax.persistence</artifactId>
    <version>10.0-b28</version>
</dependency>
or
<dependency>
    <groupId>org.glassfish.persistence</groupId>
    <artifactId>persistence</artifactId>
    <version>10.0-b28</version>
    <packaging>pom</packaging>
</dependency>
or
<dependency>
    <groupId>org.apache.geronimo.specs</groupId>
    <artifactId>geronimo-jpa_2.0_spec</artifactId>
    <version>1.1</version>
    <packaging>bundle</packaging>
</dependency>
or others (Hibernate?).

Also, there does exist
<dependency>
    <groupId>javax.persistence</groupId>
    <artifactId>persistence-api</artifactId>
    <version>1.0.2</version>
</dependency>
in Maven central.

Please publish a Maven artifact for JPA 2.0 & subsequent releases with groupId "javax.persistence" and artifactId "persistence-api" so that it behaves like JPA 1.0.2.

Reproducible: Always

Steps to Reproduce:
(enhancement request)
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:34:18 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink