maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Hosek <...@dream-in-color.net>
Subject Maven-Eclipse-Hibernate: Missing indirectly referenced artifact
Date Wed, 25 Feb 2009 01:50:48 GMT
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


This is using the m2eclipse plugin in Eclipse.

Here is my pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance

"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd

">
   <modelVersion>4.0.0</modelVersion>
   <groupId>dhosek</groupId>
   <artifactId>library-catalog</artifactId>
   <packaging>war</packaging>
   <version>0.0.1-SNAPSHOT</version>
   <name>library-catalog Maven Webapp</name>
   <url>http://maven.apache.org</url>
   <dependencies>
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <version>3.8.1</version>
       <scope>test</scope>
     </dependency>
     <dependency>
        <groupId>hibernate</groupId>
        <artifactId>hibernate-annotations</artifactId>
        <version>3.1beta4</version>
     </dependency>
   </dependencies>
   <build>
     <finalName>library-catalog</finalName>
   </build>
</project>


Any thoughts on what I can do to let Maven manage my dependencies?

-dh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message