proper Maven config? [message #498671] |
Wed, 18 November 2009 00:19 |
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
|
|
|
Powered by
FUDForum. Page generated in 0.01340 seconds