Hi List,

when trying to follow the part "Creating a parent pom" in the "Deploying a Cocoon application" tutorial [1] I get the following error:


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------ [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-war-plugin:2.0.2:war': Unable to find the mojo 'org.apache.maven.plugins:maven-war-plugin:2.0.2:war' in the plugin 'org.apache.maven.plugins:maven-war-plugin' Component descriptor cannot be found in the component repository: org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-war-plugin: 2.0.2:war. [INFO] ------------------------------------------------------------------------


This problem was mentioned on the mailing list some time ago, however I have not been able to find a precise solution for this problem (or is the part of creating a parent pom completely needless?). Below [2] I have included the steps I have taken which result in the error.

Please tell me what I can do about this error.

Regards

Benne


[1] http://cocoon.apache.org/2.2/1362_1_1.html
[2]
cd ~/Desktop

mkdir getting-started-app
cd getting-started-app

mvn archetype:create -DarchetypeGroupId=org.apache.cocoon - DarchetypeArtifactId=cocoon-22-archetype-block - DarchetypeVersion=1.0.0 -DgroupId=com.mycompany -DartifactId=myBlock1
cd myBlock1
mvn install
cd ..

mvn archetype:create -DarchetypeGroupId=org.apache.cocoon - DarchetypeArtifactId=cocoon-22-archetype-block - DarchetypeVersion=1.0.0 -DgroupId=com.mycompany -DartifactId=myBlock2
cd myBlock2
mvn install
cd ..

mvn archetype:create -DarchetypeGroupId=org.apache.cocoon - DarchetypeArtifactId=cocoon-22-archetype-webapp - DarchetypeVersion=1.0.0 -DgroupId=com.mycompany - DartifactId=myCocoonWebapp
# add dependencies in myCocoonWebapp/pom.xml as described in tutorial

cd myCocoonWebapp
mvn install
cd ..

# add pom.xml as described in tutorial

mvn install

# Error

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

Reply via email to