At 12:32 PM -0400 7/13/04, Ted Husted wrote:
It's my feeling that the repository should be as flat as possible. Each of the top-level directories should represent a discrete subproject, or Maven artifact, with its own release cycle. The subproject under each of these directories would not share any source code. All sharing would be by the JAR each produces.

I see the appeal of this, and accept that using directories to make taxonomies may lead to unnecessary and uninteresting debates.


Now that I think about it, Maven's "multiproject" facilities will also probably work better with a number of parallel directories instead of projects arbitrarily scattered around the tree. At least, I have only ever used it with parallel projects. The main question here is how the Maven report-type documentation (like Javadoc, source code Xref, test reports, etc) from the various directories other than "struts-site" would get folded in.

struts-apps would not map to a single Maven artifact, I don't think. Not if it maps to all of:
struts-blank.war
struts-documentation.war
struts-examples.war
struts-mailreader.war
tiles-documentation.war


Or even just to examples and mailreader.

Joe



At 12:32 PM -0400 7/13/04, Ted Husted wrote:
A structure like this (opt names for example only -- I don't know if all of these communities would want to be Struts subprojects or not):

struts-apps/
struts-core/
struts-site/
struts-opt-bsf/
struts-opt-el/
struts-opt-faces/
struts-opt-menu/
struts-opt-stxx/
struts-opt-taglib/
struts-opt-testcase/
struts-opt-workflow/

says that we host 11 distributions (yahoo!). Each of these subdirectory names would also be the name of the Maven artifact produced (struts-core-jar, struts-opt-el.jar). The first three distributions are part of the standard release, and the other eight are optional. You can use them or not, in whatever combination you please.

If this many root folders is a real problem for people, I could also see

struts/
 ./apps
 ./core
 ./site

struts-opt/
 ./bsf
 ./el
 ./faces
 ./menu
 ./stxx
 ./taglib
 ./testcase
 ./workflow

So, a project.xml at

  /struts-opt/bsf/project.xml

would generate an artifact like struts-opt-bsf-1.0.1.jar.

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn back; I'll know I'm in the wrong place."
- Carlos Santana


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to