Wendy Smoak ha scritto:
On 11/9/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote:

It works only if you install the plugin manually, because it seems that
it depends on Maven 2-SNAPSHOT, that cause the process to fail.
Wendy, what do you suggest? Should I add (and commit) a reference to
version 2.0.2-SNAPSHOT or is it preferrable to leave the reference to 2.0.2?

Are you saying that the snapshot of the war plugin depends on
something that is not available in the snapshot repo?  Seeing the
error message you're getting would help. :)

Here it is:

<snip>
[INFO] Building Tiles - Apps - Test
[INFO]    task-segment: [package]
[INFO] ---------------------------------------------------------------------------- [INFO] snapshot org.apache.maven.plugins:maven-plugins:2-SNAPSHOT: checking for updates from apache.snapshots Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-plugins/2-SNAPSHOT/maven-plugins-2-20060822.131811-5.pom
1/6K
2/6K
4/6K
5/6K
6/6K
6K downloaded
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------ [INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-war-plugin \ -Dversion=2.0.2-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file


 org.apache.maven.plugins:maven-war-plugin:maven-plugin:2.0.2-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)

 org.apache.maven.plugins:maven-war-plugin:maven-plugin:2.0.2-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)
</snip>

I think we should add the dependency on the <version> of the war
plugin we need, then work with the Maven developers to get new
snapshots published if there's a problem.

Done.

Thank you
Antonio


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

Reply via email to