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

Not all artifacts productized for wildfly-jaxws-client-bom:8.0.0.Beta-redhat-00003

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 8.0.0.Beta-CR1, 8.0.0.Beta
    • 8.0.0.Beta-CR1
    • BOM
    • None

      Not all transitive dependencies are productized for wildfly-jaxws-client-bom:8.0.0.Beta-redhat-00003

      Both of these usages results in non-productized artifacts present in dependency tree

      <project xmlns="http://maven.apache.org/POM/4.0.0"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"><modelVersion>4.0.0</modelVersion>
        <groupId>org.jboss.test</groupId>
        <artifactId>repo-test</artifactId>
        <version>1.0.0.redhat-1</version>
        <dependencyManagement>
              <dependencies>
                  <dependency>
                      <groupId>org.jboss.eap</groupId>
                      <artifactId>wildfly-jaxws-client-bom</artifactId>
                      <version>8.0.0.Beta-redhat-00003</version>
                      <type>pom</type>
                      <scope>import</scope>
                  </dependency>
              </dependencies>
          </dependencyManagement>
          <dependencies>
              <dependency>
                  <groupId>org.jboss.eap</groupId>
                  <artifactId>wildfly-jaxws-client-bom</artifactId>
                  <version>8.0.0.Beta-redhat-00003</version>
                  <type>pom</type>
              </dependency>
          </dependencies>
      </project>
      

      or

      <project xmlns="http://maven.apache.org/POM/4.0.0"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"><modelVersion>4.0.0</modelVersion>
        <groupId>org.jboss.test</groupId>
        <artifactId>repo-test</artifactId>
        <version>1.0.0.redhat-1</version>
        <dependencyManagement>
          <dependencies>
            <dependency>
              <groupId>org.jboss.bom</groupId>
              <artifactId>jboss-eap-ee</artifactId>
              <version>8.0.0.Beta-redhat-00003</version>
              <type>pom</type>
              <scope>import</scope>
            </dependency>
          </dependencies>
        </dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>org.jboss.eap</groupId>
            <artifactId>wildfly-jaxws-client-bom</artifactId>
            <type>pom</type>
          </dependency>
        </dependencies>
      </project>
      

      Tested via:

      mvn -f test-app-pom.xml \
                  -s $WORKSPACE/settings.xml \
                  -D{client-bom-name}-version=$BOM_VERSION \
                  -DoutputFile=dependency-tree-output.txt \
                  dependency:tree
      
      grep -v "redhat" dependency-tree-output.txt
      

      which gives these:

      jboss.jaxbintros:jboss-jaxb-intros:jar:1.0.2.GA:compile
      org.slf4j:jcl-over-slf4j:jar:1.7.36:compile
      com.google.code.findbugs:jsr305:jar:3.0.2:compile
      io.dropwizard.metrics:metrics-core:jar:4.2.9:compile
      org.bouncycastle:bcprov-jdk15on:jar:1.70:compile
      org.bouncycastle:bcpkix-jdk15on:jar:1.70:compile
      org.bouncycastle:bcutil-jdk15on:jar:1.70:compile
      

      (full dependency trees in attachments)

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

                Created:
                Updated:
                Resolved: