Hi,

for correct compiling an hibernate project with annotations the ejb jar file is need too. So my pom.xml file has one more dependency:

   <dependency>
     <groupId>javax-persistence</groupId>
     <artifactId>ejb</artifactId>
     <version>3.0-public_review</version>
   </dependency>

But Maven says following:

Downloading: http://repo1.maven.org/maven2/javax-persistence/ejb/3.0-public_review/ejb-3.0-public_review.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/javax-persistence/ejb/3.0-public_review/ejb-3.0-public_review.jar [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) [INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: javax-persistence
ArtifactId: ejb
Version: 3.0-public_review

Reason: Unable to download the artifact from any repository
 javax-persistence:ejb:3.0-public_review:jar

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)

What goes wrong?

Rico


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to