Thanks, it turns out that there's also a bit of magic that needs to happen with m2eclipse, so adding the dependency via the add dependency menu item (and not via the add dependency button in the pom editor) did the trick.

Now, I just have to figure out why my attempts at adding a package in Eclipse don't work.

On 24 Feb 2009, at 23.02, Wayne Fay wrote:

I'm getting the following error when I attempt to specify Hibernate
Annotations as a dependency (I get a similar error with Hibernate itself).
Missing indirectly referenced artifact
javax.persistence:ejb:jar:3.0-public_review:compile

That artifact does not exist in Central:
http://repo2.maven.org/maven2/javax/persistence/

You either need to:
1) Manually install this artifact into your local repo cache
2) Add an excludes and a corresponding dependency so you get a proper artifact
3) Stop depending on outdated Hibernate artifacts, I'd suggest
upgrading to this one:
http://repo2.maven.org/maven2/org/hibernate/hibernate-annotations/3.4.0.GA/

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to