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

Clarify Maven Plugin Configuration Locations and their Order of Precendence

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Documentation: Guides
    • None

    Description

      There are multiple locations in the pom where you can configure build plugins, namely

      1. PluginManagement -> Global Configuration
      2. PluginManagement -> Execution Configuration
      3. Plugins -> Global Configuration
      4. Plugins -> Execution Configuration

      Those locations should all be listed in https://maven.apache.org/guides/mini/guide-configuring-plugins.html#Configuring_Build_Plugins and the order or precedence should be explicitly listed there.

      Is the order given above correct at all, meaning that setting param1 in 4. will overwrite the configuration of param1 in 1., 2. or 3.?

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: