https://bz.apache.org/bugzilla/show_bug.cgi?id=59066

            Bug ID: 59066
           Summary: Incorrect license naming in pom.xml of the servlet-api
                    maven project
           Product: Tomcat 8
           Version: 8.0.30
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Specification APIs
          Assignee: [email protected]
          Reporter: [email protected]

The license element in the pom.xml should be changed to work better with the
license verifier plugin. The current format causes problems because of the
license name and url containing 2 different licenses and the name and url
containing a new-line and whitespace characters.

Suggested new pom.xml format using the <names> and <urls> elements:

<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.tomcat</groupId>
  <artifactId>servlet-api</artifactId>
  <version>6.0.45</version>
  <description>javax.servlet package</description>
  <url>http://tomcat.apache.org/</url>
  <licenses>
    <license>
      <names>
        <name>
          Apache License, Version 2.0
        </name>
        <name>
          Common Development And Distribution License (CDDL) Version 1.0
        </name>
      </names>
      <urls>
        <url>
          http://www.apache.org/licenses/LICENSE-2.0.txt
        </url>
        <url>
          http://www.opensource.org/licenses/cddl1.txt
        </url>
      </urls>
    </license>
  </licenses>
</project>

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to