Reinhard Poetz wrote:
Vadim Gritsenko wrote:
Reinhard Poetz wrote:
Vadim Gritsenko wrote:
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:
argh, seems to be some chicken-egg-problem :-(
Can you please try to comment followng lines in
core/cocoon-core/pom.xml:
<plugin>
<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-maven-eclipse-plugin</artifactId>
<version>2.3-SNAPSHOT</version>
<configuration>
<pde>true</pde>
</configuration>
</plugin>
and report back whether it helps?
Well... I already went through 20 "mvn install" cycles and 3 "mvn
clean install"... I'd hate to start everything all over! :)
no problem. I will add a note about your findings to the readme file.
Ok, here is a simple way to reproduce:
$ rm -rf ~/.m2/repository/org/apache/cocoon/cocoon-maven-eclipse-plugin
$ mvn clean
After commenting out snippet ou pointed above, I got following error:
$ mvn clean
...
[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)
Vadim