Hi all,

 

I'm struggling with how to do inheritance in m2. I have a single parent
project and large number of children projects that are nearly identical.

I would like to have a profile that will do the following:

 

1. Execute first task on the parent only (once). [Defined in the parent
POM]

2. Execute a second task on parent and each child. [Defined in the
parent POM]

3. Execute a third task(s) (common) on each of the children, but not on
the parent. [Defined in the parent POM]

4. Execute a task unique to the child. [Defined in the child POM]

 

So far I successfully managed #2 and #4 within a single profile. Are #1
and #3 even feasible? 

 

I would really appreciate any hint or comments

 

Regards,

 

Bob Stone 

 

Reply via email to