cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <scher...@gmail.com>
Subject Re: [C3] Cocoon3 beta-1-SNAPSHOTs available
Date Fri, 26 Aug 2011 09:03:34 GMT
On Fri, 2011-08-26 at 09:02 +0200, Francesco Chicchiriccò wrote:
> Il 26/08/2011 00:16, Thorsten Scherler ha scritto:
> > On Fri, 2011-07-29 at 09:36 +0200, Francesco Chicchiriccò wrote:
> > ...
> >> mvn archetype:generate \
> >>       -DarchetypeGroupId=org.apache.cocoon.archetype-block \
> >>       -DarchetypeArtifactId=cocoon-archetype-block \
> >>
> >> -DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots
> >> \
> >>       -DarchetypeVersion=3.0.0-beta-1-SNAPSHOT \
> >>       -DgroupId=com.mycompany \
> >>       -DartifactId=mysample
> > Hmm, when I do that I get
> > -----------------------------------------------------
> > this realm =
> > app0.child-container[org.apache.maven.plugins:maven-archetype-plugin:2.1-SNAPSHOT]
> > urls[0] =
> > file:/home/thorsten/.m2/repository/org/apache/maven/plugins/maven-archetype-plugin/2.1-SNAPSHOT/maven-archetype-plugin-2.1-SNAPSHOT.jar
> > urls[1] =
> ...
> > -----------------------------------------------------
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Internal error in the plugin manager executing goal
> > 'org.apache.maven.plugins:maven-archetype-plugin:2.1-SNAPSHOT:generate':
> > Unable to load the mojo
> > 'org.apache.maven.plugins:maven-archetype-plugin:2.1-SNAPSHOT:generate'
> > in the plugin 'org.apache.maven.plugins:maven-archetype-plugin'. A
> > required class is missing: org/jdom/JDOMException
> > org.jdom.JDOMException
> >
> > ---
> >   mvn --version
> > ---
> > Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> > Java version: 1.6.0_25
> > Java home: /home/thorsten/opt/jdk1.6.0_25/jre
> > Default locale: en_US, platform encoding: UTF-8
> > OS name: "linux" version: "2.6.38-11-generic" arch: "amd64" Family:
> > "unix"
> >
> > I tried as well without
> > -DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots
> > but the same result with latest HEAD.
> >
> > Not sure what the problem is and how to fix it. Any ideas?
> 
> Uhm, here (Maven 3.0.3 / Maven 2.2.1 - Sun JDK 1.6.0.26 - Linux) it 
> works like a charm...

Hmm, I fixed it with 
rm
-rf /home/thorsten/.m2/repository/org/apache/maven/plugins/maven-archetype-plugin

and then it builded fine. Maven is sometimes strange. ;)

salu2
-- 
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message