It seems the old 2.0.9-SNAPSHOT has been removed. Try the following command:

mvn archetype:generate -DarchetypeGroupId=org.apache.struts
-DarchetypeArtifactId=struts2-archetype-starter
-DarchetypeVersion=2.0.11.2-SNAPSHOT

I also noticed this version has been released to
http://repo2.maven.org/maven2 [1], but I can't get the archetype
plugin to retrieve this version.

I tried:

 mvn archetype:generate -DarchetypeGroupId=org.apache.struts
-DarchetypeArtifactId=struts2-archetype-starter
-DarchetypeVersion=2.0.11.2
-DarchetypeRepository=http://repo2.maven.org/maven2

But that doesn't seem to work.

Hth,

[1] 
http://repo2.maven.org/maven2/org/apache/struts/struts2-archetype-starter/2.0.11.2/

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Tue, Mar 3, 2009 at 11:19 PM, nani2ratna <nani2ra...@gmail.com> 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-tp22319213p22319213.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to