Maven and Struts 2 Stack

2009-01-30 Thread stanlick

Greetings -- 

I am SO DONE with mucking around in dependencies that I am about to scream! 
Until recently, I thought "real developers" were in control of jars and the
classpath, but as another year passes me by, I'm starting to rethink this
whole deal.  I installed the Maven 2 plug-in for Eclipse this morning and
should begin by telling you that beyond appreciating the idea of Maven, I
don't understand it intimately well!  Create new Maven Project is prompting
me for bits and pieces I don't fully understand.  Moreover, I'm only
guessing that http://mvnrepository.com is the place I should specify to have
my dependencies resolved in building a Struts-2/Tiles-2/Spring-2 web
project.  I have been reading about the archetypes and this must be a fancy
name for "what kind of sandwich do you want."  Can someone please tell me
how to decode these prompts so I can get about the business of writing code? 
I realize some of the inputs are my web-app name, but several others must be
version and contents values.

P.S. Cloning my last know Struts 2 sandwich and making the necessary build
path tweaks for a bump to 2.1.6 no longer passes the tummy test.

Peace,
Scott


-- 
View this message in context: 
http://www.nabble.com/Maven-and-Struts-2-Stack-tp21751296p21751296.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: Maven and Struts 2 Stack

2009-01-30 Thread Musachy Barroso
Wes has a bunch of examples that you can use as templates. I am trying
to find the link, but failing so far. Wes, are you out there?

musachy

On Fri, Jan 30, 2009 at 12:14 PM, Edwin Quita  wrote:
> hi Scott,
>
> here's the first project i created using struts2 and Maven...  just
> adjust the versions to your liking.
>
> here's a version that exists in maven's central repository
>
>
>org.apache.struts
>struts2-core
>2.0.6
>
>
>org.apache.struts
>struts2-spring-plugin
>2.0.6
>
>
>
> while the latest you can pull out from sonatype's repo :)
>
> cheers,
> Edwin
>
> On Sat, Jan 31, 2009 at 1:05 AM, stanlick  wrote:
>>
>> Greetings --
>>
>> I am SO DONE with mucking around in dependencies that I am about to scream!
>> Until recently, I thought "real developers" were in control of jars and the
>> classpath, but as another year passes me by, I'm starting to rethink this
>> whole deal.  I installed the Maven 2 plug-in for Eclipse this morning and
>> should begin by telling you that beyond appreciating the idea of Maven, I
>> don't understand it intimately well!  Create new Maven Project is prompting
>> me for bits and pieces I don't fully understand.  Moreover, I'm only
>> guessing that http://mvnrepository.com is the place I should specify to have
>> my dependencies resolved in building a Struts-2/Tiles-2/Spring-2 web
>> project.  I have been reading about the archetypes and this must be a fancy
>> name for "what kind of sandwich do you want."  Can someone please tell me
>> how to decode these prompts so I can get about the business of writing code?
>> I realize some of the inputs are my web-app name, but several others must be
>> version and contents values.
>>
>> P.S. Cloning my last know Struts 2 sandwich and making the necessary build
>> path tweaks for a bump to 2.1.6 no longer passes the tummy test.
>>
>> Peace,
>> Scott
>>
>>
>> --
>> View this message in context: 
>> http://www.nabble.com/Maven-and-Struts-2-Stack-tp21751296p21751296.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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



Re: Maven and Struts 2 Stack

2009-01-30 Thread Musachy Barroso
This should(might) also help:
http://struts.apache.org/2.x/docs/struts-maven-archetypes.html

musachy

On Fri, Jan 30, 2009 at 12:20 PM, Musachy Barroso  wrote:
> Wes has a bunch of examples that you can use as templates. I am trying
> to find the link, but failing so far. Wes, are you out there?
>
> musachy
>
> On Fri, Jan 30, 2009 at 12:14 PM, Edwin Quita  wrote:
>> hi Scott,
>>
>> here's the first project i created using struts2 and Maven...  just
>> adjust the versions to your liking.
>>
>> here's a version that exists in maven's central repository
>>
>>
>>org.apache.struts
>>struts2-core
>>2.0.6
>>
>>
>>org.apache.struts
>>struts2-spring-plugin
>>2.0.6
>>
>>
>>
>> while the latest you can pull out from sonatype's repo :)
>>
>> cheers,
>> Edwin
>>
>> On Sat, Jan 31, 2009 at 1:05 AM, stanlick  wrote:
>>>
>>> Greetings --
>>>
>>> I am SO DONE with mucking around in dependencies that I am about to scream!
>>> Until recently, I thought "real developers" were in control of jars and the
>>> classpath, but as another year passes me by, I'm starting to rethink this
>>> whole deal.  I installed the Maven 2 plug-in for Eclipse this morning and
>>> should begin by telling you that beyond appreciating the idea of Maven, I
>>> don't understand it intimately well!  Create new Maven Project is prompting
>>> me for bits and pieces I don't fully understand.  Moreover, I'm only
>>> guessing that http://mvnrepository.com is the place I should specify to have
>>> my dependencies resolved in building a Struts-2/Tiles-2/Spring-2 web
>>> project.  I have been reading about the archetypes and this must be a fancy
>>> name for "what kind of sandwich do you want."  Can someone please tell me
>>> how to decode these prompts so I can get about the business of writing code?
>>> I realize some of the inputs are my web-app name, but several others must be
>>> version and contents values.
>>>
>>> P.S. Cloning my last know Struts 2 sandwich and making the necessary build
>>> path tweaks for a bump to 2.1.6 no longer passes the tummy test.
>>>
>>> Peace,
>>> Scott
>>>
>>>
>>> --
>>> View this message in context: 
>>> http://www.nabble.com/Maven-and-Struts-2-Stack-tp21751296p21751296.html
>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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



Re: Maven and Struts 2 Stack

2009-01-30 Thread Dave Newton

stanlick wrote:
I am SO DONE with mucking around in dependencies that I am about to scream! 
Until recently, I thought "real developers" were in control of jars and the

classpath, but as another year passes me by, I'm starting to rethink this
whole deal.  I installed the Maven 2 plug-in for Eclipse this morning and
should begin by telling you that beyond appreciating the idea of Maven, I
don't understand it intimately well!  Create new Maven Project is prompting
me for bits and pieces I don't fully understand.  Moreover, I'm only
guessing that http://mvnrepository.com is the place I should specify to have
my dependencies resolved in building a Struts-2/Tiles-2/Spring-2 web
project.  I have been reading about the archetypes and this must be a fancy
name for "what kind of sandwich do you want."  Can someone please tell me
how to decode these prompts so I can get about the business of writing code? 
I realize some of the inputs are my web-app name, but several others must be

version and contents values.

P.S. Cloning my last know Struts 2 sandwich and making the necessary build
path tweaks for a bump to 2.1.6 no longer passes the tummy test.


You shouldn't need to define a repository under normal circumstances; at 
least I haven't had to. AFAICT 2.1.6 has been seeded, although I'd have 
to purge my local repo to be sure to avoid getting a local install.


I'm about to check in a new struts2-blank archetype and update the wiki 
(probably this afternoon) but if you use the normal Maven project 
structure and use reasonable version numbers in your dependencies as 
someone else pointed out it'll work fine without generating an archetype.


Dave


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



Re: Maven and Struts 2 Stack

2009-01-30 Thread Wes Wannemacher
http://code.google.com/p/struts2inpractice/source/browse/#svn/trunk

Scott, you should have been able to find that ;)

-Wes

On Fri, Jan 30, 2009 at 12:22 PM, Musachy Barroso  wrote:
> This should(might) also help:
> http://struts.apache.org/2.x/docs/struts-maven-archetypes.html
>
> musachy
>
> On Fri, Jan 30, 2009 at 12:20 PM, Musachy Barroso  wrote:
>> Wes has a bunch of examples that you can use as templates. I am trying
>> to find the link, but failing so far. Wes, are you out there?
>>
>> musachy
>>
>> On Fri, Jan 30, 2009 at 12:14 PM, Edwin Quita  wrote:
>>> hi Scott,
>>>
>>> here's the first project i created using struts2 and Maven...  just
>>> adjust the versions to your liking.
>>>
>>> here's a version that exists in maven's central repository
>>>
>>>
>>>org.apache.struts
>>>struts2-core
>>>2.0.6
>>>
>>>
>>>org.apache.struts
>>>struts2-spring-plugin
>>>2.0.6
>>>
>>>
>>>
>>> while the latest you can pull out from sonatype's repo :)
>>>
>>> cheers,
>>> Edwin
>>>
>>> On Sat, Jan 31, 2009 at 1:05 AM, stanlick  wrote:
>>>>
>>>> Greetings --
>>>>
>>>> I am SO DONE with mucking around in dependencies that I am about to scream!
>>>> Until recently, I thought "real developers" were in control of jars and the
>>>> classpath, but as another year passes me by, I'm starting to rethink this
>>>> whole deal.  I installed the Maven 2 plug-in for Eclipse this morning and
>>>> should begin by telling you that beyond appreciating the idea of Maven, I
>>>> don't understand it intimately well!  Create new Maven Project is prompting
>>>> me for bits and pieces I don't fully understand.  Moreover, I'm only
>>>> guessing that http://mvnrepository.com is the place I should specify to 
>>>> have
>>>> my dependencies resolved in building a Struts-2/Tiles-2/Spring-2 web
>>>> project.  I have been reading about the archetypes and this must be a fancy
>>>> name for "what kind of sandwich do you want."  Can someone please tell me
>>>> how to decode these prompts so I can get about the business of writing 
>>>> code?
>>>> I realize some of the inputs are my web-app name, but several others must 
>>>> be
>>>> version and contents values.
>>>>
>>>> P.S. Cloning my last know Struts 2 sandwich and making the necessary build
>>>> path tweaks for a bump to 2.1.6 no longer passes the tummy test.
>>>>
>>>> Peace,
>>>> Scott
>>>>
>>>>
>>>> --
>>>> View this message in context: 
>>>> http://www.nabble.com/Maven-and-Struts-2-Stack-tp21751296p21751296.html
>>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> -
>>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>>
>>>>
>>>
>>> -
>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>
>>
>>
>>
>> --
>> "Hey you! Would you help me to carry the stone?" Pink Floyd
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
Wes Wannemacher
Author - Struts 2 In Practice
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher

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



Re: Maven and Struts 2 Stack

2009-01-31 Thread stanlick
Thanks boyz --

Are any of you using the Eclipse Maven  plug-in?  Also, is
http://mvnrepository.com an aggregate source for POM's?  Lastly, is there a
buffet line POM builder where you can select the stack you desire and click
GO?  It seems to me the combination/permutation of POMs spread across the
planet will quickly grow stale and invalid.  Am I missing something here?

P.S. Will the freshest and most accurate POM for Struts II 2.1.6 with Tiles,
Hibernate, etc. please rise!

Scott

On Fri, Jan 30, 2009 at 2:56 PM, Wes Wannemacher  wrote:

> http://code.google.com/p/struts2inpractice/source/browse/#svn/trunk
>
> Scott, you should have been able to find that ;)
>
> -Wes
>
> On Fri, Jan 30, 2009 at 12:22 PM, Musachy Barroso 
> wrote:
> > This should(might) also help:
> > http://struts.apache.org/2.x/docs/struts-maven-archetypes.html
> >
> > musachy
> >
> > On Fri, Jan 30, 2009 at 12:20 PM, Musachy Barroso 
> wrote:
> >> Wes has a bunch of examples that you can use as templates. I am trying
> >> to find the link, but failing so far. Wes, are you out there?
> >>
> >> musachy
> >>
> >> On Fri, Jan 30, 2009 at 12:14 PM, Edwin Quita 
> wrote:
> >>> hi Scott,
> >>>
> >>> here's the first project i created using struts2 and Maven...  just
> >>> adjust the versions to your liking.
> >>>
> >>> here's a version that exists in maven's central repository
> >>>
> >>>
> >>>org.apache.struts
> >>>struts2-core
> >>>2.0.6
> >>>
> >>>
> >>>org.apache.struts
> >>>struts2-spring-plugin
> >>>2.0.6
> >>>
> >>>
> >>>
> >>> while the latest you can pull out from sonatype's repo :)
> >>>
> >>> cheers,
> >>> Edwin
> >>>
> >>> On Sat, Jan 31, 2009 at 1:05 AM, stanlick  wrote:
> >>>>
> >>>> Greetings --
> >>>>
> >>>> I am SO DONE with mucking around in dependencies that I am about to
> scream!
> >>>> Until recently, I thought "real developers" were in control of jars
> and the
> >>>> classpath, but as another year passes me by, I'm starting to rethink
> this
> >>>> whole deal.  I installed the Maven 2 plug-in for Eclipse this morning
> and
> >>>> should begin by telling you that beyond appreciating the idea of
> Maven, I
> >>>> don't understand it intimately well!  Create new Maven Project is
> prompting
> >>>> me for bits and pieces I don't fully understand.  Moreover, I'm only
> >>>> guessing that http://mvnrepository.com is the place I should specify
> to have
> >>>> my dependencies resolved in building a Struts-2/Tiles-2/Spring-2 web
> >>>> project.  I have been reading about the archetypes and this must be a
> fancy
> >>>> name for "what kind of sandwich do you want."  Can someone please tell
> me
> >>>> how to decode these prompts so I can get about the business of writing
> code?
> >>>> I realize some of the inputs are my web-app name, but several others
> must be
> >>>> version and contents values.
> >>>>
> >>>> P.S. Cloning my last know Struts 2 sandwich and making the necessary
> build
> >>>> path tweaks for a bump to 2.1.6 no longer passes the tummy test.
> >>>>
> >>>> Peace,
> >>>> Scott
> >>>>
> >>>>
> >>>> --
> >>>> View this message in context:
> http://www.nabble.com/Maven-and-Struts-2-Stack-tp21751296p21751296.html
> >>>> Sent from the Struts - User mailing list archive at Nabble.com.
> >>>>
> >>>>
> >>>> -
> >>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >>>> For additional commands, e-mail: user-h...@struts.apache.org
> >>>>
> >>>>
> >>>
> >>> -
> >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >>> For additional commands, e-mail: user-h...@struts.apache.org
> >>>
> >>
> >>
> >>
> >> --
> >> "Hey you! Would you help me to carry the stone?" Pink Floyd
> >>
> >
> >
> >
> > --
> > "Hey you! Would you help me to carry the stone?" Pink Floyd
> >
> > -
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
>
>
>
> --
> Wes Wannemacher
> Author - Struts 2 In Practice
> Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
> http://www.manning.com/wannemacher
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Maven and Struts 2 Stack

2009-01-31 Thread stanlick
Thanks Dave --

I am looking for a "seed" POM like the one you describe.  Does it contain
gray poupon by chance?

Scott

On Fri, Jan 30, 2009 at 11:53 AM, Dave Newton  wrote:

> stanlick wrote:
>
>> I am SO DONE with mucking around in dependencies that I am about to
>> scream! Until recently, I thought "real developers" were in control of jars
>> and the
>> classpath, but as another year passes me by, I'm starting to rethink this
>> whole deal.  I installed the Maven 2 plug-in for Eclipse this morning and
>> should begin by telling you that beyond appreciating the idea of Maven, I
>> don't understand it intimately well!  Create new Maven Project is
>> prompting
>> me for bits and pieces I don't fully understand.  Moreover, I'm only
>> guessing that http://mvnrepository.com is the place I should specify to
>> have
>> my dependencies resolved in building a Struts-2/Tiles-2/Spring-2 web
>> project.  I have been reading about the archetypes and this must be a
>> fancy
>> name for "what kind of sandwich do you want."  Can someone please tell me
>> how to decode these prompts so I can get about the business of writing
>> code? I realize some of the inputs are my web-app name, but several others
>> must be
>> version and contents values.
>>
>> P.S. Cloning my last know Struts 2 sandwich and making the necessary build
>> path tweaks for a bump to 2.1.6 no longer passes the tummy test.
>>
>
> You shouldn't need to define a repository under normal circumstances; at
> least I haven't had to. AFAICT 2.1.6 has been seeded, although I'd have to
> purge my local repo to be sure to avoid getting a local install.
>
> I'm about to check in a new struts2-blank archetype and update the wiki
> (probably this afternoon) but if you use the normal Maven project structure
> and use reasonable version numbers in your dependencies as someone else
> pointed out it'll work fine without generating an archetype.
>
> Dave
>
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Maven and Struts 2 Stack

2009-01-31 Thread Edwin Quita
hi Scott,

this is what i typically do for creating a skeleton struts2 project:

1. create a blank web application project from the generic maven
archetype listing (mvn archetype:generate)

2. i select the appropriate POM dependencies from struts2's sample
application http://struts.apache.org/2.1.2/docs/tutorials.html
(if you need hibernate and tiles features, find an example that
uses these dependencies and copy it in the pom file)

3. create an archetype based on this skeleton project so i can have a
template to start off with (optional)

regarding maven's eclipse plugin, there is one that i used before
M2eclipse (m2eclipse.sonatype.org)
i'm not sure if there's a POM builder app or plugin that exists sorry.

cheers,
Edwin

On Sat, Jan 31, 2009 at 10:31 PM,   wrote:
> Thanks boyz --
>
> Are any of you using the Eclipse Maven  plug-in?  Also, is
> http://mvnrepository.com an aggregate source for POM's?  Lastly, is there a
> buffet line POM builder where you can select the stack you desire and click
> GO?  It seems to me the combination/permutation of POMs spread across the
> planet will quickly grow stale and invalid.  Am I missing something here?
>
> P.S. Will the freshest and most accurate POM for Struts II 2.1.6 with Tiles,
> Hibernate, etc. please rise!
>
> Scott
>
> On Fri, Jan 30, 2009 at 2:56 PM, Wes Wannemacher  wrote:
>
>> http://code.google.com/p/struts2inpractice/source/browse/#svn/trunk
>>
>> Scott, you should have been able to find that ;)
>>
>> -Wes
>>
>> On Fri, Jan 30, 2009 at 12:22 PM, Musachy Barroso 
>> wrote:
>> > This should(might) also help:
>> > http://struts.apache.org/2.x/docs/struts-maven-archetypes.html
>> >
>> > musachy
>> >
>> > On Fri, Jan 30, 2009 at 12:20 PM, Musachy Barroso 
>> wrote:
>> >> Wes has a bunch of examples that you can use as templates. I am trying
>> >> to find the link, but failing so far. Wes, are you out there?
>> >>
>> >> musachy
>> >>
>> >> On Fri, Jan 30, 2009 at 12:14 PM, Edwin Quita 
>> wrote:
>> >>> hi Scott,
>> >>>
>> >>> here's the first project i created using struts2 and Maven...  just
>> >>> adjust the versions to your liking.
>> >>>
>> >>> here's a version that exists in maven's central repository
>> >>>
>> >>>
>> >>>org.apache.struts
>> >>>struts2-core
>> >>>2.0.6
>> >>>
>> >>>
>> >>>org.apache.struts
>> >>>struts2-spring-plugin
>> >>>2.0.6
>> >>>
>> >>>
>> >>>
>> >>> while the latest you can pull out from sonatype's repo :)
>> >>>
>> >>> cheers,
>> >>> Edwin
>> >>>
>> >>> On Sat, Jan 31, 2009 at 1:05 AM, stanlick  wrote:
>> >>>>
>> >>>> Greetings --
>> >>>>
>> >>>> I am SO DONE with mucking around in dependencies that I am about to
>> scream!
>> >>>> Until recently, I thought "real developers" were in control of jars
>> and the
>> >>>> classpath, but as another year passes me by, I'm starting to rethink
>> this
>> >>>> whole deal.  I installed the Maven 2 plug-in for Eclipse this morning
>> and
>> >>>> should begin by telling you that beyond appreciating the idea of
>> Maven, I
>> >>>> don't understand it intimately well!  Create new Maven Project is
>> prompting
>> >>>> me for bits and pieces I don't fully understand.  Moreover, I'm only
>> >>>> guessing that http://mvnrepository.com is the place I should specify
>> to have
>> >>>> my dependencies resolved in building a Struts-2/Tiles-2/Spring-2 web
>> >>>> project.  I have been reading about the archetypes and this must be a
>> fancy
>> >>>> name for "what kind of sandwich do you want."  Can someone please tell
>> me
>> >>>> how to decode these prompts so I can get about the business of writing
>> code?
>> >>>> I realize some of the inputs are my web-app name, but several others
>> must be
>> >>>> version and contents value

Re: Maven and Struts 2 Stack

2009-01-31 Thread Dave Newton

stanl...@gmail.com wrote:

I am looking for a "seed" POM like the one you describe.  Does it contain
gray poupon by chance?


I'm committing a new archetype-blank today along with some minor 
documentation; it's pretty basic. I don't think I'll have time to update 
archetype-starter in Feb but I'll try.


Like Wes said additional deps are easily copied from showcase, or a repo 
browsers can be used to figure out additional dep. versions.


Dave


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



Re: Maven and Struts 2 Stack

2009-01-31 Thread Wendy Smoak
On Sat, Jan 31, 2009 at 7:31 AM,   wrote:

> Are any of you using the Eclipse Maven  plug-in?  Also, is
> http://mvnrepository.com an aggregate source for POM's?

As far as I know, it's just a search site, it doesn't serve the
artifacts as a repo for Maven to automatically download from.

Maven already knows about the central repo.  Unless you're behind a
firewall or something is preventing access, it should just work.  If
you've reconfigured it to point at mvnrepository.com, that's probably
why you're having trouble.

-- 
Wendy

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



RE: Maven and Struts 2 Stack

2009-02-02 Thread Michael Finney
Hi,

I am trying to find archetype-blank archetype mentioned below.

I re-read
http://thedevelopercorner.blogspot.com/2007/06/build-struts-2-application-us
ing-maven.html 

I also read http://struts.apache.org/2.1.6/docs/struts-maven-archetypes.html
which has:

mvn archetype:create   -DgroupId=tutorial \
   -DartifactId=tutorial \
   -DarchetypeGroupId=org.apache.struts \
   -DarchetypeArtifactId=struts2-archetype-starter \
   -DarchetypeVersion=2.0.11.2

In the above example, I realize archetypeArtifactId = archetype-blank.
What would the archetypeVersion be? 2.1.6.0?
What catalog should I use to find this archetype? 

http://maven.apache.org/plugins/maven-archetype-plugin/specification/archety
pe-catalog.html talks about catalogs in general, but is not specific.

Thanks.

-- 
Michael Finney - "Always Striving To Serve You Better Every Day"
fin...@acm.org
http://www.SmilingSoftwareSolutions.com

-Original Message-
From: Dave Newton [mailto:newton.d...@yahoo.com] 
Sent: Saturday, January 31, 2009 1:06 PM
To: Struts Users Mailing List
Subject: Re: Maven and Struts 2 Stack

stanl...@gmail.com wrote:
> I am looking for a "seed" POM like the one you describe.  Does it contain
> gray poupon by chance?

I'm committing a new archetype-blank today along with some minor 
documentation; it's pretty basic. I don't think I'll have time to update 
archetype-starter in Feb but I'll try.

Like Wes said additional deps are easily copied from showcase, or a repo 
browsers can be used to figure out additional dep. versions.

Dave


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

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.16/1926 - Release Date: 1/30/2009
5:31 PM


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



Re: Maven and Struts 2 Stack

2009-02-02 Thread Dave Newton

Michael Finney wrote:

I am trying to find archetype-blank archetype mentioned below.


I don't think it's been installed yet (I don't actually know how to do 
that, but am asking). You won't be able to use a non-local archetype 
until it's seeded to the repo(s).



I also read http://struts.apache.org/2.1.6/docs/struts-maven-archetypes.html
which has:

mvn archetype:create   -DgroupId=tutorial \
   -DartifactId=tutorial \
   -DarchetypeGroupId=org.apache.struts \
   -DarchetypeArtifactId=struts2-archetype-starter \
   -DarchetypeVersion=2.0.11.2

In the above example, I realize archetypeArtifactId = archetype-blank.
What would the archetypeVersion be? 2.1.6.0?


No, 2.1.6, same as the release.

There's new documentation at 2.x/docs/struts-2-maven-archetypes.html. 
(There's a bit of a race condition between getting the release out and 
being able to use it as an archetype dependency. Plus I was busy.)


If you have a local archetype source you can install it locally and use 
it, otherwise wait until the archetype hits real repos.


Dave

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