Re: problem with archetype : generate for struts 2

2009-04-10 Thread vijay polsani

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: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



problem with archetype : generate for struts 2

2009-03-03 Thread nani2ratna

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



Re: problem with archetype : generate for struts 2

2009-03-03 Thread Nick Stolwijk
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



Re: problem with archetype : generate for struts 2

2009-03-03 Thread nani2ratna



Hi this is working 
mvn archetype:create -DgroupId=tutorial -DartifactId=t
utorial -DarchetypeGroupId=org.apache.struts
-DarchetypeArtifactId=struts2-arche
type-starter -DarchetypeVersion=2.0.11.2-SNAPSHOT
-DremoteRepositories=http://pe
ople.apache.org/repo/m2-snapshot-repository

Thanks
ratna

Nick Stolwijk-4 wrote:
 
 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
 
 
 

-- 
View this message in context: 
http://www.nabble.com/problem-with-archetype-%3A-generate-for-struts-2-tp22319213p22319922.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



Re: problem with archetype : generate for struts 2

2009-03-03 Thread Nick Stolwijk
It seems that is the default repository, which unfortunately only
contains SNAPSHOT versions. The archetype already has been released,
but I don't know how to get the released version from the central
repository.

With regards,

Nick Stolwijk
~Java Developer~

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



On Tue, Mar 3, 2009 at 11:57 PM, nani2ratna nani2ra...@gmail.com wrote:



 Hi this is working
 mvn archetype:create -DgroupId=tutorial -DartifactId=t
 utorial -DarchetypeGroupId=org.apache.struts
 -DarchetypeArtifactId=struts2-arche
 type-starter -DarchetypeVersion=2.0.11.2-SNAPSHOT
 -DremoteRepositories=http://pe
 ople.apache.org/repo/m2-snapshot-repository

 Thanks
 ratna

 Nick Stolwijk-4 wrote:

 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




 --
 View this message in context: 
 http://www.nabble.com/problem-with-archetype-%3A-generate-for-struts-2-tp22319213p22319922.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