In AppFuse Light, I use Ant and Maven to create the archetype and publish it.
I've found Ant is necessary to do some regex replacements on the files created b/c there's some bugs in the Archetype Plugin. You can see the pom.xml (and the "create-archetype" profile) and my build.xml file that does the fixing in the same directory below. http://source.appfuse.org/browse/appfuse-light/trunk Or check it out from SVN using: svn co https://svn.java.net/svn/appfuse-light~svn/trunk appfuse-light Username: guest Password: <blank> Hope this helps, Matt On Jun 29, 2011, at 9:34 AM, Frans Thamura wrote: > hi all > > i want to know, struts2 way to create archetype > > is it different project separated or one project but in /generated/source/ > > and how u publish ur archetype to maven central > > we are working to make our cimande (Struts2-based app), to maven > > and we can see our archetype is like strtus2 blank with spring-hibernate > additionl > -- > Frans Thamura > Chief of Advisory > Meruvian. > Integrated Hypermedia Java Solution Provider. > > Mobile: +628557888699 > Blog: http://blogs.mervpolis.com/roller/flatburger (id) > > FB: http://www.facebook.com/meruvian > TW: http://www.twitter.com/meruvian / @meruvian > Website: http://www.meruvian.org > > "We grow because we share the same belief." --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
