On 11/16/06, Mark Menard <[EMAIL PROTECTED]> wrote:
mvn archetype:create -DgroupId=tutorial -DartifactId=tutorial -DarchetypeGroupId=net.vitarara.dan -DarchetypeArtifactId=struts2-archetype-starter -DarchetypeVersion=2.0.2-SNAPSHOT
You also need -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository This is bleeding edge stuff. If you're going to use it, you'll want to come join us on the development list so you can keep up, else you're likely to be unpleasantly surprised if it changes out from under you. For the less adventurous, the 2.0.1 Beta release is available from the downloads page: http://struts.apache.org/downloads.html
I've checked out and done a mvn -Pall on the latest struts2 from svn. Wouldn't that have the archetype in it?
No, the archetype lives elsewhere, in the 'maven' module. It's not part of the framework.
> In case you only checked out and built the framework, the archetype is here: > http://svn.apache.org/repos/asf/struts/maven/trunk/struts2-archetype-starter/ I'm totally new to mvn, being an ant guy, how would I tell mvn to go get it there?
See above for how to tell Maven to get it from the snapshot repo. That's probably the easiest thing to do. Alternately, you can check out from the svn url I gave you and 'mvn install' that. Then you wouldn't need -DremoteRepositories=... because you would have installed it locally. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]