On Nov 23, 2007 3:54 AM, Ted Husted <[EMAIL PROTECTED]> wrote: > I'd like to give these a try, but I don't know where to start. > > We have an archetype page here: > > * http://struts.apache.org/2.0.11/docs/struts-maven-archetypes.html > > So, I tried running > > mvn archetype:create -DgroupId=tutorial \ > -DartifactId=tutorial \ > -DarchetypeGroupId=org.apache.struts \ > -DarchetypeArtifactId=struts2-archetype-starter \ > -DarchetypeVersion=struts2-archetype-starter \ > > -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository > > but Maven suggested that I install the artifact. > > I see that we have some binaries uploaded here: > > * > http://people.apache.org/builds/struts/m2-staging-repository/org/apache/struts/ > > but I don't know enough about Maven to get those installed locally, > without building it locally.
Change remoteRepositories to use the repository that contains the staged archetype, (and fix the archetypeVersion). This worked: mvn archetype:create -DgroupId=tutorial -DartifactId=tutorial -DarchetypeGroupId=org.apache.struts -DarchetypeArtifactId=struts2-archetype-starter -DarchetypeVersion=2.0.11 -DremoteRepositories=http://people.apache.org/builds/struts/m2-staging-repository -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
