I've got a custom m2 plugin which I install successfully using the
normal m2 install, but when I go to use the plugin I get the error
below.

If I copy the 'maven-tomcat-plugin-LATEST.version.txt' file to an
identical parallel 'maven-tomcat-plugin-RELEASE.version.txt' file then
everything works as expected - am I missing anything here?

Cheers,

Mark

[INFO] Using local copy of plugins.xml (plugin mappings) for group:
'org.apache.maven.plugins' from: C:\Documents and
Settings\mark\.m2\repository\org\apache\maven\plugins\plugins.xml
[INFO] maven-tomcat-plugin: checking for updates from central-plugins
[INFO] Retrieving release information for maven-tomcat-plugin
Downloading: 
http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-tomcat-plugin/RELEASE/maven-tomcat-plugin-RELEASE.pom
[WARNING] Unable to get resource from repository
http://repo1.maven.org/maven2/plugins
[WARNING]
  ***** Using defaults for missing POM
org.apache.maven.plugins:maven-tomcat-plugin:pom:RELEASE *****

Downloading: 
http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-tomcat-plugin/RELEASE/maven-tomcat-plugin-RELEASE.jar
[WARNING] Unable to get resource from repository
http://repo1.maven.org/maven2/plugins
[INFO] Cannot find mojo descriptor for: 'tomcat:undeploy' - Treating
as non-aggregator.
[INFO] 
----------------------------------------------------------------------------
[INFO] Building AWM CMS
[INFO]    task-segment: [tomcat:undeploy]
[INFO] 
----------------------------------------------------------------------------
Downloading: 
http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-tomcat-plugin/RELEASE/maven-tomcat-plugin-RELEASE.jar
[WARNING] Unable to get resource from repository
http://repo1.maven.org/maven2/plugins
[INFO] 
----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
----------------------------------------------------------------------------
[INFO] Main Error:
  Mojo could not be found - check that the goal name is correct
  org.apache.maven.plugins:maven-tomcat-plugin:RELEASE:maven-plugin

from the specified remote repositories:
  http://repo1.maven.org/maven2/plugins

Root error:
  Unable to download the artifact from any repository
[INFO] 
----------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sat Aug 27 18:10:48 BST 2005
[INFO] Final Memory: 1M/3M
[INFO] 
----------------------------------------------------------------------------

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

Reply via email to