You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by akash agrawal <ak...@yahoo.co.uk> on 2009/06/18 23:55:10 UTC

issue with maven-remote-resources-plugin

Hi,

I am compiling my maven project and it is giving me error related to maven-remote-resources-plugin. It is looking for 1.0.1-SNAPSHOT version of maven-remote-resources-plugin. In my repository I have 1.0 released version.

Below is the error log. Any idea as how to fix it?
Thx.
Akash


C:\MediaFlo\mft\main\4.1\schemas-ng>mvn clean install
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building MFT Schema resources
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
Downloading: http://mfdevrepo:8081/nexus/content/groups/public/org/apache/maven/plugins/maven-remote-resources-plugin/1.
0.1-SNAPSHOT/maven-remote-resources-plugin-1.0.1-SNAPSHOT.pom
Downloading: http://mfdevrepo:8081/nexus/content/groups/public/org/apache/maven/plugins/maven-remote-resources-plugin/1.
0.1-SNAPSHOT/maven-remote-resources-plugin-1.0.1-SNAPSHOT.jar
[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 downl
oad 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-remote-resources-plugin -Dversion=1.0
.1-SNAPSHOT -Dpackaging=maven-plugin -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.plugins -DartifactId=maven-remote-resources-plugin -Dversion=1.0.1
-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.apache.maven.plugins:maven-remote-resources-plugin:maven-plugin:1.0.1-SNAPSHOT

from the specified remote repositories:
  nexus (http://mfdevrepo:8081/nexus/content/groups/public)

  org.apache.maven.plugins:maven-remote-resources-plugin:maven-plugin:1.0.1-SNAPSHOT

from the specified remote repositories:
  nexus (http://mfdevrepo:8081/nexus/content/groups/public)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Jun 18 14:53:01 PDT 2009
[INFO] Final Memory: 3M/254M
[INFO] ------------------------------------------------------------------------


      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org