We have Java and Flex projects. We currently have 1 base pom that contains the configurations we want to use for both projects. Problem with this is: Flex projects inherit configuration, for example, for javadoc
and pmd
plugins, which is not desirable.
I want to clean it up and have a real base pom, and then a java-base-pom
and a flex-base-pom
. But how does this work in a multi-module that has both a Flex part and a Java part?
We have plugins to our own application where we use the following structure:
my-plugin
just contains a pom.xml
with <modules/>
section. I would use my-plugin
pom.xml as a parent for both, but then I cannot also use the java base-pom or the flex base-pom as parent. What would be the best approach for this?