You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nicolas Cochard <nc...@gmail.com> on 2007/06/29 02:16:42 UTC
Missing dependancies
Hello
I am new to maven.
I just installed the maven plugin for eclipse as described at
http://maven.apache.org/eclipse-plugin.html.
I have then created a small project with the following dependency.
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>3.3.1.ga</version>
</dependency>
When maven download the dependencies, i get the following error messages:
-------------BEGIN ERROR MESSAGE------------
29/06/07 01:08:28 BST: Failed to run generate source goals
/rtl.portal/pom.xml Missing:
----------
1) org.hibernate:hibernate-commons-annotations:jar:3.0.0.ga
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.hibernate
-DartifactId=hibernate-commons-annotations \
-Dversion=3.0.0.ga -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) rocfox:rtl.portal:war:0.0.1
2) org.hibernate:hibernate-entitymanager:jar:3.3.1.ga
3) org.hibernate:hibernate-commons-annotations:jar:3.0.0.ga
2) javax.transaction:jta:jar:1.0.1B
Try downloading the file manually from:
http://java.sun.com/products/jta
Then, install it using the command:
mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta \
-Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) rocfox:rtl.portal:war:0.0.1
2) org.hibernate:hibernate-entitymanager:jar:3.3.1.ga
3) org.hibernate:hibernate:jar:3.2.4.ga
4) javax.transaction:jta:jar:1.0.1B
3) jboss:jboss-common-core:jar:2.0.4.GA
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=jboss -DartifactId=jboss-common-core \
-Dversion=2.0.4.GA -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) rocfox:rtl.portal:war:0.0.1
2) org.hibernate:hibernate-entitymanager:jar:3.3.1.ga
3) jboss:jboss-common-core:jar:2.0.4.GA
----------
3 required artifacts are missing.
for artifact:
rocfox:rtl.portal:war:0.0.1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
-------------END ERROR MESSAGE------------
I understand the I can download those dependencies manually but i do
not know how to run a command such as the following within eclipse IDE
mvn install:install-file -DgroupId=org.hibernate
-DartifactId=hibernate-commons-annotations -Dversion=3.0.0.ga
-Dpackaging=jar -Dfile=/path/to/file
What have I missed?
Cheers
Nic
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org