Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
velo opened this issue Apr 10, 2019 · 0 comments · May be fixed by #30
Open

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

velo opened this issue Apr 10, 2019 · 0 comments · May be fixed by #30

Comments

@velo
Copy link

velo commented Apr 10, 2019

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 velo linked a pull request Jul 17, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant