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

(7.3.z) WFGP-189 - Throw an exception instead of logging a warning when artifacts cannot be resolved in module.xml

    XMLWordPrintable

Details

    • False
    • False
    • +
    • Undefined
    • Hide

      1. Build EAP 7.3.4 which is affected by JBEAP-20658 (ee-galleon-pack is missing dependency for wildfly-security-vault-tool [2])
      2. Warming [1] is logged but the build completes successfully.
      3. Vault tool jar is missing in /jboss-eap-7.3/modules/system/layers/base/org/jboss/as/vault-tool/main and module.xml contains below resource instead of the jar name.

      <resources>
              <artifact name="${org.jboss.eap:wildfly-security-vault-tool}"/>
      </resources>
      

      [1]

      [INFO] --- wildfly-galleon-maven-plugin:4.2.8.Final:build-feature-pack (feature-pack-build) @ wildfly-ee-galleon-pack ---
      [WARNING] Couldn't locate artifact in the dependencies org.jboss.eap:wildfly-security-vault-tool
      

      [2] https://issues.redhat.com/browse/JBEAP-20658?focusedCommentId=15545034&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-15545034

      Show
      1. Build EAP 7.3.4 which is affected by JBEAP-20658 (ee-galleon-pack is missing dependency for wildfly-security-vault-tool [2] ) 2. Warming [1] is logged but the build completes successfully. 3. Vault tool jar is missing in /jboss-eap-7.3/modules/system/layers/base/org/jboss/as/vault-tool/main and module.xml contains below resource instead of the jar name. <resources> <artifact name= "${org.jboss.eap:wildfly-security-vault-tool}" /> </resources> [1] [INFO] --- wildfly-galleon-maven-plugin:4.2.8.Final:build-feature-pack (feature-pack-build) @ wildfly-ee-galleon-pack --- [WARNING] Couldn't locate artifact in the dependencies org.jboss.eap:wildfly-security-vault-tool [2] https://issues.redhat.com/browse/JBEAP-20658?focusedCommentId=15545034&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-15545034

    Description

      With current implementation when a dependency in module.xml cannot be resolved, warming [1] is logged but the build completes successfully. As a result, the final build is missing the artifact and it's not complete. This needs to be corrected by throwing an exception instead of logging a warning.

      [1]

      [INFO] --- wildfly-galleon-maven-plugin:4.2.8.Final:build-feature-pack (feature-pack-build) @ wildfly-ee-galleon-pack ---
      [WARNING] Couldn't locate artifact in the dependencies org.jboss.eap:wildfly-security-vault-tool
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ivassile Ilia Vassilev
              rhn-support-ivassile Ilia Vassilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: