------------------------------

Removed this directory: ~/.m2/repository/org/apache/maven/plugins/ and
repeat mvn install 

Gets

[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.

--------------------------

>mvn -version
Maven version: 2.0.7
Java version: 1.6.0
OS name: "windows xp" version: "5.1" arch: "x86"
> 

----------------------------------

pom.xml (following http://cocoon.apache.org/2.2/1362_1_1.html)

<project xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://mav
en.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>

  <modelVersion>4.0.0</modelVersion>

  <groupId>com.mycompany</groupId>
  <artifactId>getting-started-app</artifactId>
  <packaging>pom</packaging>
  <name>Cocoon Getting started application [parent]</name>
  <version>1-SNAPSHOT</version>

  <modules>
    <module>myCocoonWebapp</module>
    <module>myBlock1</module>
    <module>myBlock2</module>
  </modules>

</project>

----------------------

Thanks
 
Robin
 

-----Original Message-----
From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED] 
Sent: 15 November 2007 14:58
To: [email protected]
Subject: Re: webapp maven error

tomasz pisze:
> Hello
> 
> I tried to prepare application from Cocoon site 
> (http://cocoon.apache.org/2.2/1362_1_1.html)
> 
> but there are an error after 'mvn -e package' command ( please, see below)
> 
> I also tried with a clean maven repository.
> 
> I cannot find any solution for that problem.
> 
> Could someone help me?

I had a similar problem some time ago and it was caused by broken download.
For me it helped to just
remove this directory: ~/.m2/repository/org/apache/maven/plugins/ and just
try again mvn package (or
install).

Before you dig into this issue I would suggest to purge Maven local
repository and try again. If it
does not help try to execute Maven with -X switch that will give lots of
debug output.

BTW. Which version of Maven do you use?

-- 
Grzegorz Kossakowski
Committer and PMC Member of Apache Cocoon
http://reflectingonthevicissitudes.wordpress.com/

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




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

Reply via email to