javax.persistence api 2.0 for maven [message #506448] |
Thu, 07 January 2010 09:50  |
Eclipse User |
|
|
|
Hello Everyone
I am moving to JPA 2 using Eclipselink and with my RCP app this went
just fine. All I didn was droping the 2.2 release in the eclipse plugin
folder and changed the version in the MANIFESt.
Now I would like to use the same for a webapp as well, and to learn more
about Maven I am using this as a build-tool as well.
My problem now is, that I cannot get the JPA-API in version 2.0 for my
dependencies.
<dependency>
<groupid>javax.persistence</groupid>
<artifactid>persistence-api</artifactid>
<version>1.0</version>
</dependency>
This works, but when I change the version to 2.0 it cannot be resolved.
I think I need an updated API to make use of all the annotations and so
forth in my model-project.
Does anyone know how to achieve this?
By the way: And the eclipselink jars can also not be resolved (not 2.2.0
nor 2.1.2). Do I need to add a special repository? The posts I found
were quite old and the repository provided by eclipse.org is dead.
Thanks in advance
Marc
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05634 seconds