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 <musa...@gmail.com> 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 <edwin.qu...@gmail.com> 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 >> <!-- Struts 2 --> >> <dependency> >> <groupId>org.apache.struts</groupId> >> <artifactId>struts2-core</artifactId> >> <version>2.0.6</version> >> </dependency> >> <dependency> >> <groupId>org.apache.struts</groupId> >> <artifactId>struts2-spring-plugin</artifactId> >> <version>2.0.6</version> >> </dependency> >> >> >> while the latest you can pull out from sonatype's repo :) >> >> cheers, >> Edwin >> >> On Sat, Jan 31, 2009 at 1:05 AM, stanlick <stanl...@gmail.com> 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