maven - Multi module project - redundant pom.xml -


i have project structure similar following:

project-root |--pom.xml (parent pom)    |--modulea       |--pom.xml (redundant?)       |--modulea1          |--pom.xml       |--modulea2          |--pom.xml    |--moduleb       |--pom.xml 

look @ pom file @ root of modulea. there link modulea1 , modulea2 parent pom.

using configuration, in parent pom reference module modulea , use possibly redundant module link sub modules.

question :: acceptable remove redundant pom , link modules in parent pom follows, or break convention

<module>modulea/modulea1</module> <module>modulea/modulea2</module> 

the reason find quite annoying have bunch of these "link type poms" installed in repository.

thank you

well, of course acceptable assuming set <parent><relativepath>../..</relativepath></parent> modulea1 , modulea2, link parent on filesystem level (and not maven repository).

i don't see strong reason against idea, it's quite uncommon.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -