The automatic maven layout I am playing with would do

1) the standard directory tree:
src/main/java
src/main/resources
src/main/webapp/WEB-INF
src/test/java

2) A few helpful files:
pom.xml
src/main/java/Example.java (example Stripes class w/URLBinding)
src/main/webapp/WEB-INF/web.xml (ready to go)
src/test/java/ExampleTest.java (TestNG is my preference).

3) Other files would depend on the combination of features:
a) JPOX/DataNucleus would have pom.xml entries  plus a minumum of 4 more 
files: src/main/java/ExampleObject.java, 
src/main/java/ExampleDataNucleusAction.java, src/test/ExampleTest.java, 
and probably a src/main/resources/persistence.xml
b) Hibernate would have a few files plus specific pom.xml entries
c) Guice would add pom.xml entries plus new classes for the Interceptor, 
Guide module, TestNG a module class and an updated web.xml with the 
Interceptor specified, etc.
d) Spring would in general be similar to Guice

Right now the only thing I need to find out for my stripes-blank maven2 
archetype is how to get it published into the main archetype:generate 
list.  I am assuming I need to post my files to a public resources such 
as on code.google.com, dev.java.net, or sourceforge.net but I'll do that 
after I know how I'll publish these entries AFTER 1.5 is out.

So, am I overlooking anything important?

Regards,
David


Andreas Guther wrote:
> We are using Maven as well but we are not utilizing Maven archetypes
> though I see the advantages of using it.
>
> What exactly would a Stripes archetype produces in terms of directory
> layout and configuration files?
>
> Andreas
>
>   


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to