struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Finney" <>
Subject RE: maven2 and new struts 2 project
Date Sun, 04 Jan 2009 18:55:23 GMT
Here is how I successfully maven2-ized my existing struts2 project:

I used the m2eclipse plugin to add maven to the project (m2 Maven/"Enable
Dependency Management" option on right click of project).

I followed this blog which contained struts2 information for using maven2
and struts2:
Key for me was adding to the pom.xml:

			<name>Apache Repository</name>



eclipse: I had to change the Project Facet Java to use the compiler I wanted
it to use (6.0). The Facet gets changed to 1.4 by something Maven related.
(It may not be the "m2eclipse plug-in" specifically.)

After cleaning up the server, removing jars that maven handles now, and
redeploying, the struts2 app works again.  :)

To get displaytag in there for table/grid displays, I added the depdency as
indicated at : 


I hope the above information serves some people well.

Michael Finney - "Always Striving To Serve You Better Every Day"

-----Original Message-----
From: Michael Finney [] 
Sent: Saturday, January 03, 2009 10:28 PM


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<clip>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message