Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-1090

[packaging] Apache 2 licence is included twice in the resource adapter licence zip pack

XMLWordPrintable

    • Ortega

      In org.jboss.logging:jboss-logging metadata, the Apache 2 licence name is different from what all other jars refer to it. That means, in the licences zip for resource adapter, licenses-resource-adapter-1.0.0.redhat-00004-zip.zip, we have

         <dependency>
            <groupId>org.jboss.logging</groupId>
            <artifactId>jboss-logging</artifactId>
            <version>3.3.1.Final-redhat-1</version>
            <licenses>
              <license>
                <name>Apache License, version 2.0</name>
                <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
                <distribution>repo</distribution>
              </license>
            </licenses>
          </dependency>
      

      while other Apache 2 licensed packages have

          <dependency>
            <groupId>org.apache.qpid</groupId>
            <artifactId>qpid-jms-client</artifactId>
            <version>0.37.0.redhat-00001</version>
            <licenses>
              <license>
                <name>Apache Software License, Version 2.0</name>
                <url>http://repository.jboss.org/licenses/apache-2.0.txt</url>
              </license>
            </licenses>
          </dependency>
      

      As a result, the Apache 2 licence is included twice, with two different human readable names (in the .html file) and two different file names in the dir with licence text.

      I guess this affects all our products that include jboss-logging. The case of resource adapter is that this is much easier to spot due to small dependency count.

              iboverma Irina Boverman (Inactive)
              jdanek@redhat.com Jiri Daněk
              Jiri Daněk Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: