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, <stanl...@gmail.com> 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 <w...@wantii.com> 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 <musa...@gmail.com> >> 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 <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 >> > >> > >> >> >> >> -- >> 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 >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org