Hi all

There exists ATM both alternatives about the location of the parent pom.xml (see also [1])

"About the parent poms:
1.- some projects use the root/pom.xml as parent (james server project does that)
2. others create a root/parent/pom.xml specific project." [2]

e.g.
- james/server uses 1.
- james/imap uses 2.

I think it would be easier to understand for project newbies (like me) if this could be harmonized to use either 1. or 2.

Regarding maven-site-plugin used for site generation it's much easier to use 1. because this way the site(s) can be generated as multi-module. IMO it's also easier to read when just having a single parent pom than having (for the same project) a grandparent pom, referenced by a parent pom, in which we build the children (<modules>) which reference the grandparent pom as parent pom (2.). Sounds weird, doesn't it ;-)?

When now deploying e.g. the generated site of james/imap first the site of the (grand)parent is deployed to {url} and afterwards it gets overridden by the root (parent), which is deployed to the same {url}

I'd like to open the discussion about either switching all james projects to 1. or to 2.

Not hard to guess that my preference is 1.

WDOT?

Kind regards
Felix

[1] http://www.mail-archive.com/[email protected]/msg31430.html
[2] http://www.mail-archive.com/[email protected]/msg31440.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to