Brett Porter wrote:
That's a known issue in the 2.0.4 release. Occasionally, local
repository metadata gets corrupted. We should have it straightened out
in the next patch release.
You can workaround it by removing the
org/apache/maven/plugins/maven-clean-plugin directory from your local
repository.
That was it. org/apache/maven/plugins/maven-clean-plugin had single pom file in
it, no jars or anything else.
Thanks,
Vadim
Cheers,
Brett
On 26/08/2006, at 10:42 AM, Vadim Gritsenko wrote:
Hi All,
Anybody knows a way to perform 'clean' with maven? Freshly installed
maven 2.0.4 with recently (~2 days ago) nuked repository very
consistently fails on 'mvn clean' command:
[INFO]
----------------------------------------------------------------------------
[INFO] Building Apache Cocoon
[INFO] task-segment: [clean]
[INFO]
----------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does
not exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Fri Aug 25 20:37:11 EDT 2006
[INFO] Final Memory: 8M/16M
[INFO]
------------------------------------------------------------------------
PS Needless to say that "run Maven with the -e switch" is a big joke :)
Vadim