Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-29881

(8.1.z) EAP BOMs contain unnecessary pluginManagement because Maven doesn't allow to manage plugins via BOMs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 8.1.0.Beta
    • BOM
    • False
    • Hide

      None

      Show
      None
    • False
    • Known Issue

      EAP 8.1 Beta BOMs contain

        <build>
          <pluginManagement>
            <plugins>
              <plugin>
                <groupId>org.wildfly.plugins</groupId>
                <artifactId>wildfly-maven-plugin</artifactId>
                <version>${version.org.wildfly.plugin}</version>
              </plugin>
            </plugins>
          </pluginManagement>
        </build>
      

      which is completely useless because pluginManagement in Maven can only be inherited from parent, not applied by importing BOM (which is how BOM should be used)

      So the proposal is to simply drop whole `<build></build>` section and related version property from BOMs

              emartins@redhat.com Eduardo Martins
              jbliznak@redhat.com Jan Blizňák
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: