You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Stephane Nicoll <st...@gmail.com> on 2006/12/27 11:57:04 UTC

weird error

Hey,

I was about to start working on an issue on my linux box and the
idea:module goal was unavailable. Then I executed maven with the -U
flag and it suddently downloaded a released version of the plugin.

How come it was not downloaded by default? See below

[snicoll@wonderland maven-ear-plugin]$ mvn idea:module
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'idea'.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Required goal not found: idea:module
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Wed Dec 27 11:53:48 CET 2006
[INFO] Final Memory: 1M/3M
[INFO] ------------------------------------------------------------------------
[snicoll@wonderland maven-ear-plugin]$ mvn -U idea:module
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'idea'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-idea-plugin: checking
for updates from central
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-idea-plugin/2.0/maven-idea-plugin-2.0.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-idea-plugin/2.0/maven-idea-plugin-2.0.jar
37K downloaded
[INFO] ----------------------------------------------------------------------------
[INFO] Building Maven Ear plugin
[INFO]    task-segment: [idea:module]
[INFO] ----------------------------------------------------------------------------
[INFO] Preparing idea:module
[INFO] No goals needed for project - skipping
Downloading: http://repo1.maven.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom
6K downloaded
Downloading: http://repo1.maven.org/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom
365b downloaded
Downloading: http://repo1.maven.org/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
106K downloaded
Downloading: http://repo1.maven.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
306K downloaded
[INFO] [idea:module]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Wed Dec 27 11:54:04 CET 2006
[INFO] Final Memory: 4M/7M
[INFO] ------------------------------------------------------------------------
[snicoll@wonderland maven-ear-plugin]$

Thanks,
Stéphane

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