The openejb-tomcat is a multi-module project that builds a few helper
jars and then assembles a final web application. In to build this,
simply run the following command from openejb3/assembly/openejb-tomcat
mvn clean install
The install command is important because it places the helper jars in
your local repository, so when the web application is built the maven
can find the helper jars.
-dain
On Jul 7, 2008, at 9:13 AM, Jean-Louis MONTEIRO wrote:
Hi all,
I have just checked out the trunk version of the repository.
I'm currently unable to run most of maven target goals because of
missing
maven artifacts.
For example : running "mvn clean package" on
org.apache.openejb:openejb-tomcat-webapp fires following errors.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.openejb:openejb-tomcat-catalina:jar:3.1-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.openejb
-DartifactId=openejb-tomcat-catalina -Dversion=3.1-SNAPSHOT -
Dpackaging=jar
-Dfi
le=/path/to/file
Alternatively, if you host your own repository you can deploy the
file
there:
mvn deploy:deploy-file -DgroupId=org.apache.openejb
-DartifactId=openejb-tomcat-catalina -Dversion=3.1-SNAPSHOT -
Dpackaging=jar
-Dfile
=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.openejb:openejb-tomcat-webapp:jar:3.1-SNAPSHOT
2) org.apache.openejb:openejb-tomcat-catalina:jar:3.1-SNAPSHOT
2) org.apache.openejb:openejb-tomcat-loader:jar:3.1-SNAPSHOT
Can you please update the Apache Maven Repository (SNAPSHOT :
http://people.apache.org/repo/m2-snapshot-repository/org/apache/openejb/)
?
Kind regards,
Jean-Louis
--
View this message in context:
http://www.nabble.com/Missing-MAVEN-artifacts-tp18320395p18320395.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.