You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/02/25 13:33:32 UTC

[Bug 59066] New: Incorrect license naming in pom.xml of the servlet-api maven project

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: dev@tomcat.apache.org
          Reporter: b.schaap@topdesk.com

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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59066] Incorrect license naming in pom.xml of the servlet-api maven project

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59066

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 OS|                            |All
         Resolution|---                         |INVALID

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
The Tomcat pom files are consistent with the 4.0 schema.

The schema does not allow the proposed changes.

They are not listed as multiple licenses since that would imply (as per the
Maven docs) that the user can select either. That is not the case. The user
must select both.

Should the schema ever be updated to support definition of multiple required
licenses, the Tomcat pom files will be updated to match the new schema.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org