jakartaee / servlet

Jakarta Servlet
https://eclipse.org/ee4j/servlet
Other
261 stars 85 forks source link

License oddities in `jakarta.servlet-api-6.0.0.jar` #526

Open joakime opened 1 year ago

joakime commented 1 year ago

I was looking closely at https://repo1.maven.org/maven2/jakarta/servlet/jakarta.servlet-api/6.0.0/jakarta.servlet-api-6.0.0.jar

I was expecting a NOTICE.md or a LICENSE.md in the root (or the META-INF/ directory) but didn't find any.

The META-INF/MANIFEST.MF has the following ...

Bundle-License: http://www.eclipse.org/legal/epl-2.0, https://www.gnu.or
 g/software/classpath/license.html

This META-INF/MANIFEST.MF indicates the only licenses are EPL/2.0 or GPL/2+Classpath Exception.

But the contents of the jakarta.servlet-api-6.0.0.jar also has a few Apache Licensed files.

$ grep -RHin "Apache License"
jakarta/servlet/LocalStrings_fr.properties:6:# Licensed under the Apache License, Version 2.0 (the "License");
jakarta/servlet/LocalStrings.properties:6:# Licensed under the Apache License, Version 2.0 (the "License");
jakarta/servlet/http/LocalStrings_fr.properties:6:# Licensed under the Apache License, Version 2.0 (the "License");
jakarta/servlet/http/LocalStrings.properties:6:# Licensed under the Apache License, Version 2.0 (the "License");
jakarta/servlet/http/LocalStrings_es.properties:6:# Licensed under the Apache License, Version 2.0 (the "License");
jakarta/servlet/http/package.html:7:    Licensed under the Apache License, Version 2.0 (the "License");
jakarta/servlet/http/LocalStrings_ja.properties:6:# Licensed under the Apache License, Version 2.0 (the "License");
jakarta/servlet/package.html:7:    Licensed under the Apache License, Version 2.0 (the "License");
jakarta/servlet/LocalStrings_ja.properties:6:# Licensed under the Apache License, Version 2.0 (the "License");

There's also no SPDX-License-Identifier declared anywhere, which I thought was a requirement of Eclipse Foundation now.