Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » proper Maven config?
proper Maven config? [message #498671] Wed, 18 November 2009 00:19
Ari Meyer is currently offline Ari Meyer
Messages: 136
Registered: July 2009
Senior Member
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: Wed Oct 22 08:05:47 GMT 2014

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

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