Re: Strategies for overriding parent plugin configuration in some modules without duplicating config code?

2017-02-21 Thread Jörg Schaible
Hi Anders, Anders Hammar wrote: > Profiles are never a "perfect match". They are evil. Profiles are a tool, that can be used for good or bad (e.g. defining additional/different dependencies). There's no need to demonise it. Cheers, Jörg

Re: Strategies for overriding parent plugin configuration in some modules without duplicating config code?

2017-02-21 Thread Anders Hammar
Profiles are never a "perfect match". They are evil. My suggestion is this: Add the "correct" configuration (the one you want in the end, online instrumentation) to your parent pom. Then in all projects where your still want offline configuration you override this. Ideally it's just a few config