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

Bootable JAR plugin - Unexpected WARN about wildfly-jar-cloud-extension should not appear

XMLWordPrintable

    • False
    • None
    • False
    • Interactive Demo/Tutorial, User Experience
    • Hide
      • Build a Bootable JAR with a configuration including the `<cloud>` element.
      • The following WARN would be traced:
      16:28:20 [WARNING] Resolution of artifact org.wildfly.plugins:wildfly-jar-cloud-extension failed using configured channels. Using original version.
      16:28:20 [WARNING] Using version 9.0.1.Final-redhat-20240411 to resolve artifact org.wildfly.plugins:wildfly-jar-cloud-extension
      
      Show
      Build a Bootable JAR with a configuration including the `<cloud>` element. The following WARN would be traced: 16:28:20 [WARNING] Resolution of artifact org.wildfly.plugins:wildfly-jar-cloud-extension failed using configured channels. Using original version. 16:28:20 [WARNING] Using version 9.0.1.Final-redhat-20240411 to resolve artifact org.wildfly.plugins:wildfly-jar-cloud-extension

      We can see the following WARNs when testing against the latest bits for EAP XP 5:

      16:28:20 [WARNING] Resolution of artifact org.wildfly.plugins:wildfly-jar-cloud-extension failed using configured channels. Using original version.
      16:28:20 [WARNING] Using version 9.0.1.Final-redhat-20240411 to resolve artifact org.wildfly.plugins:wildfly-jar-cloud-extension
      

      Such WARNs are emitted by the plugin itself, when trying to resolve the wildfly-jar-cloud-extension from a manifest, when the <cloud> element is used in the plugin configuration. The plugin should not actually try to match the version for this artifact against the chennel manifest, since it should be resolved via Maven, see the upstream issue: https://github.com/wildfly-extras/wildfly-jar-maven-plugin/issues/390

            jdenise@redhat.com Jean Francois Denise
            fburzigo Fabio Burzigotti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: