- changed status to resolved
wrong type of license for checkstyle project
https://www.versioneye.com/java/com.puppycrawl.tools:checkstyle/7.2 Shows: "License: LGPL-3.0"
But in repo we have license file - https://github.com/checkstyle/checkstyle/blob/master/LICENSE that is "GNU LESSER GENERAL PUBLIC LICENSE Version 2.1" (LGPL-2.1)
not a problem for us, but still ....
Comments (7)
-
-
reporter thanks a lot, it would be better if your tool does not assume anything and report it as is. If not recognized - at least a warning to web page.
-
Hi @r_ivanov. We have to assume something, because there is no general
GNU Lesser General Public License
license. At the SPDX list there are 3 options:- LGPL-2.0
- LGPL-2.1
- LGPL-3.0
To one of them we have to assign it and if there is no version number we assume it's the latest.
-
But it's easy to fix, you just have to merge my pull request ;-)
-
reporter your fix is released as 7.4 - https://github.com/checkstyle/checkstyle/commit/4d25a0806315335b1cb3f85fe5687105f871c35a Now license is "UNKNOWN" - https://www.versioneye.com/java/com.puppycrawl.tools:checkstyle/7.4
in 7.5 license will be "LGPL-2.1+" https://github.com/checkstyle/checkstyle/commit/bcd5297cea9e1b64a1969874229339c9bb79107c
-
reporter - edited description
- changed status to open
-
- changed status to resolved
I close this because now the license name is bound to the license link. Now we show the LGPL-2.1 license name because the link leads to that license: https://www.versioneye.com/java/com.puppycrawl.tools:checkstyle/7.4.
- Log in to comment
The root of the problem is in the pom.xml file. In the pom.xml file the license name doesn't contain any version, just
GNU Lesser General Public License
. In that case VersionEye assumes it is the newests LGPL version. I just fixed it manually for the last 2 newest version and I send you guys a pull request here: https://github.com/checkstyle/checkstyle/pull/3653