Hi y'all,

By now, subject isn't news to anyone here, but I have a better twist on usual maven failures: trunk fails to *clean*. And given that README suggests performing clean first, nobody following README will be able to build trunk... Here is the error:


$ mvn clean
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Apache Cocoon
[INFO]   Cocoon Licenses
[INFO]   Cocoon Core [modules]
...
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Cocoon Bootstrap Implementation
[INFO]    task-segment: [clean]
[INFO] 
----------------------------------------------------------------------------
[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.cocoon -DartifactId=cocoon-maven-eclipse-plugin \
        -Dversion=2.3-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file


  org.apache.cocoon:cocoon-maven-eclipse-plugin:maven-plugin:2.3-SNAPSHOT

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

  org.apache.cocoon:cocoon-maven-eclipse-plugin:maven-plugin:2.3-SNAPSHOT

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

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Mon Jun 12 09:00:45 EDT 2006
[INFO] Final Memory: 8M/16M
[INFO] ------------------------------------------------------------------------



Vadim

Reply via email to