sbt / sbt-license-report

Report on licenses used in an sbt project.
89 stars 32 forks source link

Fix CDDL + GPL with classpath LicenseCategory #84

Closed mdedetrich closed 1 year ago

mdedetrich commented 1 year ago

This fixes an existing license. For starters the LicenseCategory its currently using is incorrect/misleading since it just points to CDDL instead of CDDL + GPL with classpath exception. Furthermore the current "CDDL + GPLv2 License" name is missing the "classpath exception" part, this missing of "classpath exception" is likely an oversight since this is a very bespoke license that is used for JVM javax/glassfish libraries (and all of these libraries have the classpath exception since its on the JVM). And finally the URI that https://glassfish.dev.java.net/nonav/public/CDDL+GPL.html points to isn't even loading so this has been fixed.

If you want an example of a recently released library that has such a license look at <licenses> in https://repo1.maven.org/maven2/javax/servlet/javax.servlet-api/4.0.1/javax.servlet-api-4.0.1.pom, the data for this PR was taken from that.