Hello,

You need to put those dependencies in your pom.xml file.(did you check if it 
works just using the eclipse built in war exporter?)


--James

-----Original Message-----
From: tapestryphoto [mailto:[EMAIL PROTECTED] 
Sent: November-06-08 11:50 AM
To: users@tapestry.apache.org
Subject: Re: Tapestry 5, WAR files and deployment

Quoting Olle Hallin <[EMAIL PROTECTED]>:

> Does it work from the command line?
> Olle
>

I tried mvn war:war from the project directory.

Bizarrely it gives even more problems.  I find Maven very frustrating...


[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.maven:maven-archiver:jar:2.2

   Try downloading the file manually from the project website.

   Then, install it using the command:
       mvn install:install-file -DgroupId=org.apache.maven  
-DartifactId=maven-arc
hiver -Dversion=2.2 -Dpackaging=jar -Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the  
file there:

       mvn deploy:deploy-file -DgroupId=org.apache.maven  
-DartifactId=maven-archi
ver -Dversion=2.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]  
-DrepositoryI
d=[id]

   Path to dependency:
         1) org.apache.maven.plugins:maven-war-plugin:maven-plugin:2.1-alpha-1
         2) org.apache.maven:maven-archiver:jar:2.2

2) org.codehaus.plexus:plexus-utils:jar:1.4.7

   Try downloading the file manually from the project website.

   Then, install it using the command:
       mvn install:install-file -DgroupId=org.codehaus.plexus  
-DartifactId=plexus
-utils -Dversion=1.4.7 -Dpackaging=jar -Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the  
file there:

       mvn deploy:deploy-file -DgroupId=org.codehaus.plexus  
-DartifactId=plexus-u
tils -Dversion=1.4.7 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]  
-Dreposito
ryId=[id]

   Path to dependency:
         1) org.apache.maven.plugins:maven-war-plugin:maven-plugin:2.1-alpha-1
         2) org.codehaus.plexus:plexus-utils:jar:1.4.7

3) com.thoughtworks.xstream:xstream:jar:1.2.2

   Try downloading the file manually from the project website.

   Then, install it using the command:
       mvn install:install-file -DgroupId=com.thoughtworks.xstream  
-DartifactId=x
stream -Dversion=1.2.2 -Dpackaging=jar -Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the  
file there:

       mvn deploy:deploy-file -DgroupId=com.thoughtworks.xstream  
-DartifactId=xst
ream -Dversion=1.2.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]  
-Dreposito
ryId=[id]

   Path to dependency:
         1) org.apache.maven.plugins:maven-war-plugin:maven-plugin:2.1-alpha-1
         2) com.thoughtworks.xstream:xstream:jar:1.2.2

----------
3 required artifacts are missing.



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


__________ Information from ESET Smart Security, version of virus signature 
database 3536 (20081019) __________

The message was checked by ESET Smart Security.

http://www.eset.com

 

__________ Information from ESET Smart Security, version of virus signature 
database 3536 (20081019) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 


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

Reply via email to