Skip to content

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

@velo

Description

@velo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions