let me add that you need to provide a corresponding pom file for the jar in your local repository along with the jar named: [artifactId]-[version].pom

It should contain at least the groupId, artifactId, version and packaging elements.

Although starting beta-1, that pom file is optional.


flyisland wrote:

Hi All,

I'm using Maven  2.0-alpha-3 now, I try to add hibernate 3.0.5 into my
maven2 pom file today, and i got the following error:

========================
Downloading: 
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
[WARNING] Unable to get resource from repository http://repo1.maven.org/maven2
[INFO] 
----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
----------------------------------------------------------------------------
[INFO] Main Error:
 Unable to download the artifact from any repository
 javax.transaction:jta:1.0.1B:jar

from the specified remote repositories:
 http://repo1.maven.org/maven2
Path to dependency:
       1) com.mycompany.app:my-app:jar:1.0-SNAPSHOT
       2) hibernate:hibernate:jar:3.0.5
       3) javax.transaction:jta:jar:1.0.1B
========================

did anyone use hibernate 3.0.5 successfully with maven2? what can i do now?

thanks
Island Chen

---------------------------------------------------------------------
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