struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edwin Quita" <>
Subject Re: maven2 and new struts 2 project
Date Mon, 05 Jan 2009 01:30:51 GMT
hi Mike,

what I did was create a blank web project and added the necessary
struts2 POM dependencies.

here's the zipped file of the skeleton project i made, just change the
version to the ones you require.


On Mon, Jan 5, 2009 at 3:15 AM, Wes Wannemacher <> wrote:
> I have been working off of s2.1.x, so I'm not sure if the same applies,
> but I have a few reference projects up here for a book I'm working on -
> I would think that you could grab one of those and change the version
> numbers on the dependencies and get what you want. I have been working
> on them with Eclipse WebTools (Ganymede) with the m2eclipse plugin.
> One of the problems I had was that the Maven Archetypes for eclipse
> aren't recognized as web apps. So, I had to hack around a bit in the
> eclipse config files to get them to work.
> Later, I figured out that if I just start a new Maven project that is a
> web-app, from the stock web-app archetype from Maven, then just add
> struts2, it works just fine. The downside to this approach is that you
> have to change the web.xml that comes with the maven archetype for
> web-apps since it defaults to something like Servlet 2.2...
> Anyhow, go ahead and import ch01ex01 since it's the simplest one and
> then build from there.
> -Wes
> On Sat, 2009-01-03 at 22:27 -0600, Michael Finney wrote:
>> Hello,
>> I was about to add to a small open source project of mine a maven dependency
>> to (Display tag library 1.2)
>> When I tried to add this maven dependency, the eclipse/m2eclipse plug-in
>> decided to change my facet JDK settings down to JDK1.4 (facet=""
>> version="6.0" changed to "1.4")
>> I looked at the facets and decided it's worth it to start over with a new
>> maven2 project. I figured it may be easier since it is open source.
>> I read at
>> how to create a struts2-archetype-starter. I want the equivalent of
>> struts2-blank.
>> I tried adding the remote catalog of
>> . When I
>> try to verify the catalog, it says the catalog is empty.
>> What do I use for a struts2 2.0.x maven2 project?  Shall I just create a new
>> maven project, skip archetype selection, and ask it to create a war project
>> for me?
>> What do you recommend at this point?
>> Thanks,
>> Mike
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message