Hello All,

Hopefully a simple/stupid/newbie question (but also a good first start at
using the user list)...

I¹m ready to create my module and have tried the command from the ³Module
QuickStart² Wiki section -
mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create
-DarchetypeGroupId=info.magnolia \
   -DarchetypeArtifactId=maven-archetype-magnolia-module \
   -DarchetypeVersion=1.0 \
   -DremoteRepositories=http://maven.magnolia.info/m2 \
   -DgroupId=com.foo.bar \
   -DartifactId=my-module

And from the excerise guide  -
mvn archetype:create -DarchetypeGroupId=info.magnolia \
    -DarchetypeArtifactId=maven-archetype-magnolia-module \
    -DarchetypeVersion=1.0.0-SNAPSHOT \
    -DgroupId=com.foo.bar \
    -DartifactId=my-module \
    -DremoteRepositories=http://svn.magnolia.info/maven/snapshots

And in both cases get -
[INFO] Scanning for projects...
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Invalid task 'DarchetypeVersion=1.0.0-SNAPSHOT': you must specify a
valid lifecycle phase, or a goal in the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Nov 23 20:11:27 GMT+00:01 2009
[INFO] Final Memory: 1M/4M
[INFO] 
------------------------------------------------------------------------

I¹ve tried some variations, but to no avail... Before doing a deep dive and
getting three degrees away from my original goal just wanted to check if
folks had a quick pointer on this.

Note ­ Using Maven 2.0.6 and Magnolia EE 4.1.1

Thanks!

Mit freundlichen Grüssen,
Kind regards

Abdul Nabi
Technical Architect

frog design europe gmbh
Kalkofenstr. 51
71083 Herrenberg


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to