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]

Reply via email to