partial-build-plugin icon indicating copy to clipboard operation
partial-build-plugin copied to clipboard

Add configuration to on use partial for some phases...

Open velo opened this issue 7 years ago • 0 comments

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.

velo avatar Apr 10 '19 22:04 velo