struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
Subject Re: How to create a new Struts2 project with maven2?
Date Tue, 22 Jan 2008 14:34:06 GMT
Ah, good call Nuwan, I forgot to check the nightly builds repo. 
Confirmed working for me.

L.

nuwan chandrasoma wrote:
> Hi,
> 
> mvn archetype:create -DgroupId=com.s2.anu -DartifactId=s2proj
> -DarchetypeGroupId=org.apache.struts-DarchetypeArtifactId=struts2-archetype-starter
> -DarchetypeVersion=
> 2.0.11 -DremoteRepositories=
> http://people.apache.org/builds/struts/m2-staging-repository
> 
> why dont you try this. i think this might work.
> 
> Thanks,
> 
> Nuwan
> (http://code.google.com/p/struts2-ssl-plugin/)
> 
> 
> 
> 
> On Jan 21, 2008 11:36 PM, Laurie Harper <laurie@holoweb.net> wrote:
> 
>> Thai Dang Vu wrote:
>>> Hi,
>>>
>>> From
>> http://cwiki.apache.org/confluence/display/WW/Struts+Maven+Archetypes, it
>> says
>>> mvn archetype:create -DgroupId=tutorial \
>>>                      -DartifactId=tutorial \
>>>                      -DarchetypeGroupId=org.apache.struts \
>>>                      -DarchetypeArtifactId=struts2-archetype-starter \
>>>                      -DarchetypeVersion=2.0.5-SNAPSHOT \
>>>                      -DremoteRepositories=
>> http://people.apache.org/repo/m2-snapshot-repository
>>> but I don't want to use a snapshot version and I also don't want to use
>> Struts2 2.0.5 version either (Struts2 2.0.11 is available). How should I
>> modify the above command?
>>
>> I don't believe there has been a non-snapshot release of any of the
>> Struts2 Maven archetypes. I would go ahead and use that version and just
>> update the dependencies in the generated pom.xml to bring the Struts
>> version up to what you want.
>>
>> L.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message