During my regular work, I need to run generate-sources when I change branches....
When moving from master to a work branch, all is good.
But, when I move back, from work branch to master, partials kick in and mvn generate-sources don't do anything. And that seems to be right.
What I would like to do, is to add a configuration to disable partials for some goals/phases
let's say I add the following configuration:
<skipForPhases>
<phase>generate-sources</phase>
</skipForPhases>
Running mvn clean install would behave as is now.
Running mvn generate-sources would behave like mvn generate-sources -Dpartial.enabled=false
If that is something interesting to the project, I would be willing to do the required changes.