Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6808

Need ability to remove inherited plugin configuration

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: POM
    • Labels:
      None

      Description

      There are cases where plugin configuration inherited from parent contains elements that you want removed rather than overridden.

       

      For example when developing Hippo CMS projects you are required to inherit their parent pom which provides among other things a Cargo configuration with <zipUrlInstaller>.

      If you would like to provide instead an <artifactInstaller> you need to remove <zipUrlInstaller> as they are mutually exclusive and build will fail if you don't.

      Unfortunately at the moment your only option is to replace entire configuration with <configuration combine.self="override"> and copy a lot of configuration.

       

      It would be great if I could remove inherited element instead with something like:

      <zipUrlInstaller combine.self="remove">

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mwisnicki Marcin Wisnicki
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: