Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » proper Maven config?
proper Maven config? [message #498671] Tue, 17 November 2009 19:19
Eclipse UserFriend
Hi,

It would be a big help if the wiki pages could be updated for new
releases. The Maven config page
http://wiki.eclipse.org/EclipseLink/Maven is out of date. Also, what is
now required to run Eclipselink JPA? I played with my POM entries and
updated it to have:

<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>eclipselink</artifactId>
<version>1.2.0</version>
</dependency>

<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>javax.persistence</artifactId>
<version>1.2.0</version>
<scope>provided</scope>
</dependency>

This works, but is it optimal? Shouldn't the javax.persistence version
be 2.0, instead of 1.2? It appears that the main Maven repos don't have
updates for the 2.0 version of javax.persistence API, as in:

<dependency>
<groupId>javax.persistence</groupId>
<artifactId>persistence-api</artifactId>
<version>2.0.0</version>
<scope>provided</scope>
</dependency>

I remember reading somewhere that Eclipselink JPA 2.0 won't require a
separate JPA API dependency, but I guess that's not the case, at least
for now. Please confirm.


Thanks,
Ari
Previous Topic:@ReturnInsert(returnOnly=true) not working with PostgreSQL
Next Topic:2.0.0 release plans?
Goto Forum:
  


Current Time: Thu Jul 10 03:10:09 EDT 2025

Powered by FUDForum. Page generated in 0.03625 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top