mvn archetype:create -DgroupId=com.fdr.apres.s2 -DartifactId=app
-DarchetypeGroupId=org.apache.struts
-DarchetypeArtifactId=struts2-archetype-starter
-DarchetypeVersion=2.0.11.2-SNAPSHOT
-DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository

****USE this. This works as of April 10, 2009.
-Vijay

nani2ratna wrote:
> 
> Hi,
> 
> I just want to create a archetype for struts with the command 
> 
> mvn archetype:generate
> 
> I am selecting 19 from the options.
> 
> Its giving error message like 
> 
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/str
> uts/struts2-archetype-starter/2.0.9-SNAPSHOT/struts2-archetype-starter-2.0.9-SNA
> PSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] : org.apache.maven.archetype.exception.UnknownArchetype: The
> desired arch
> etype does not exist
> (org.apache.struts:struts2-archetype-starter:2.0.9-SNAPSHOT
> )
> The desired archetype does not exist
> (org.apache.struts:struts2-archetype-starte
> r:2.0.9-SNAPSHOT)
> 
> 
> Can anybody please help me.
> 
> Thanks and Regards
> ratna
> 

-- 
View this message in context: 
http://www.nabble.com/problem-with-archetype-%3A-generate-for-struts-2-tp22319213p22998061.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to