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 Thu, 25 Aug 2011 22:16:45 GMT
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] =
file:/home/thorsten/.m2/repository/org/apache/maven/archetype/archetype-catalog/2.1-SNAPSHOT/archetype-catalog-2.1-SNAPSHOT.jar
urls[2] =
file:/home/thorsten/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.8/plexus-utils-1.5.8.jar
urls[3] =
file:/home/thorsten/.m2/repository/org/apache/maven/archetype/archetype-descriptor/2.1-SNAPSHOT/archetype-descriptor-2.1-SNAPSHOT.jar
urls[4] =
file:/home/thorsten/.m2/repository/org/apache/maven/archetype/archetype-registry/2.1-SNAPSHOT/archetype-registry-2.1-SNAPSHOT.jar
urls[5] =
file:/home/thorsten/.m2/repository/org/apache/maven/archetype/archetype-common/2.1-SNAPSHOT/archetype-common-2.1-SNAPSHOT.jar
urls[6] =
file:/home/thorsten/.m2/repository/org/apache/maven/shared/maven-invoker/2.0.10/maven-invoker-2.0.10.jar
urls[7] =
file:/home/thorsten/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
Number of imports: 10
import: org.codehaus.classworlds.Entry@a6c57a42
import: org.codehaus.classworlds.Entry@12f43f3b
import: org.codehaus.classworlds.Entry@20025374
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@92758522
import: org.codehaus.classworlds.Entry@ebf2705b
import: org.codehaus.classworlds.Entry@bb25e54
import: org.codehaus.classworlds.Entry@bece5185
import: org.codehaus.classworlds.Entry@3fee8e37
import: org.codehaus.classworlds.Entry@3fee19d8


this realm = plexus.core
urls[0] =
file:/home/thorsten/src/apache/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
urls[1] =
file:/home/thorsten/src/apache/apache-maven-2.2.1/lib/._maven-2.2.1-uber.jar
Number of imports: 10
import: org.codehaus.classworlds.Entry@a6c57a42
import: org.codehaus.classworlds.Entry@12f43f3b
import: org.codehaus.classworlds.Entry@20025374
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@92758522
import: org.codehaus.classworlds.Entry@ebf2705b
import: org.codehaus.classworlds.Entry@bb25e54
import: org.codehaus.classworlds.Entry@bece5185
import: org.codehaus.classworlds.Entry@3fee8e37
import: org.codehaus.classworlds.Entry@3fee19d8
-----------------------------------------------------
[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?

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