cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <reinh...@apache.org>
Subject Re: cocoon 3 archetypes (3.0.0-alpha-1) remark
Date Thu, 14 May 2009 22:42:19 GMT
Robby Pelssers wrote:
> FYI,
> When using the archetypes for cocoon-3,  I noticed that the <version> is
> generated like <version>1-SNAPSHOT</version>.  This is the case for
> parent-archetype and for web and block it does the same for the <parent>
> version.
> 
> Also to be able to use the archetypes I had to modify the version of the
> maven-archetype-plugin to “2.0-alpha-4”, whereas the docs mention
> “1.0-alpha-7”.
> 
> mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:create
> -DarchetypeGroupId=org.apache.cocoon.archetype-block
> -DarchetypeArtifactId=cocoon-archetype-block
> -DarchetypeVersion=3.0.0-alpha-1 -DgroupId=com.mycompany
> -DartifactId=myArtifact

What Maven version do you use?

Following command worked with Maven 2.0.9 / Java 1.6.0_12 fine for me:

mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create
-DarchetypeGroupId=org.apache.cocoon.archetype-block
-DarchetypeArtifactId=cocoon-archetype-block
-DarchetypeVersion=3.0.0-alpha-1 -DgroupId=com.mycompany
-DartifactId=mysite

-- 
Reinhard Pötz                           Managing Director, {Indoqa} GmbH
                         http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member                  reinhard@apache.org
________________________________________________________________________

Mime
View raw message