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

Missing wildlfy-plugin version in inter-app shared module

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR2
    • 7.0.0.GA
    • Quickstarts
    • None

      The POM of inter-app/shared project currently uses undefined version of WildFly Maven Plugin:

      <plugin>
                      <groupId>org.wildfly.plugins</groupId>
                      <artifactId>wildfly-maven-plugin</artifactId>
                      <configuration>
                          <skip>false</skip>
                          <filename>${project.build.finalName}.jar</filename>
                      </configuration>
                  </plugin>

      This can cause undefined behaviour (see linked issues.)

      Suggested fix:
      Add the version defined in POM of the parent project.

      <plugin>
                      <groupId>org.wildfly.plugins</groupId>
                      <artifactId>wildfly-maven-plugin</artifactId>
                      <version>${version.wildfly.maven.plugin}</version>
                      <configuration>
                          <skip>false</skip>
                          <filename>${project.build.finalName}.jar</filename>
                      </configuration>
                  </plugin>

            sgilda_jira Sande Gilda (Inactive)
            mjurc@redhat.com Michal Jurc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: