-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

I have a complex maven project that goes down to 3 levels of POM inheritance (=
it has sub-sub-projects).

I am not really sure about what the suggested layout is:

TREE:

trunk/
trunk/foo-project/pom.xml
trunk/foo-project/foo-project-util/pom.xml
trunk/foo-project/foo-project-service/pom.xml
trunk/foo-project/foo-project-service/foo-project-service-core/pom.xml
trunk/foo-project/foo-project-service/foo-project-service-main/pom.xml

or

FLAT:

trunk/
trunk/foo-project/pom.xml
trunk/foo-project-util/pom.xml
trunk/foo-project-service/pom.xml
trunk/foo-project-service-core/pom.xml
trunk/foo-project-service-main/pom.xml


As it seems by most plugins the "FLAT" layout is required for them to work.
On the other hand some parts of maven seem to expect the "TREE" layout (e.g.
parent POMs are sometimes looked up at "../pom.xml").

I personally prefer the "TREE" variant. Especially if someone only wants to
checkout and work on a sub-project this makes it way easier!
But because I got into heavy trouble with maven I changed to the "FLAT" variant
(what caused a lot of stupid work).

I could not find any offical documentation about this toppic.

My personal oppinion is that maven should support both ways (without heavy
customization).

The problem is that there are lots of plugins heavily involved in this issue
(maven-release-plugin, all the reports such as the source repository, etc) and
the maven-core itself.

So what do you think about this one?

Take care
  Jörg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD4DBQFEtXmnmPuec2Dcv/8RAro1AJjOTcE8zTE0+9zIasxYo6MRmuX6AJ9NgmIZ
P98hl7J0gp8mRI3rHl4SEA==
=g9rO
-----END PGP SIGNATURE-----

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

Reply via email to