License of Guava is GPL?

615 views
Skip to first unread message

john....@googlemail.com

unread,
Apr 20, 2018, 1:02:13 PM4/20/18
to guava-discuss
The license on GitHub says Apache License Version 2.0 (https://github.com/google/guava/blob/master/COPYING) but Guava depends on org.checkerframework:checker-compat-qual:2.0.0 which is GPL2.

So does Guava infect software projects to be GPL and is therefore no option for business software?

Please help me understamd that!

lars.gem...@gmail.com

unread,
Apr 20, 2018, 1:15:17 PM4/20/18
to guava-discuss
See https://github.com/typetools/checker-framework/blob/master/LICENSE.txt

A few parts of the Checker Framework have more permissive licenses.

* The annotations are licensed under the MIT License. (The text of this
license appears below.) More specifically, all the parts of the Checker
Framework that you might want to include with your own program use the
MIT License. This is the checker-qual.jar file and all the files that
appear in it: every file in a qual/ directory, plus utility files such
as NullnessUtil.java, RegexUtil.java, SignednessUtil.java, etc.
In addition, the cleanroom implementations of third-party annotations,
which the Checker Framework recognizes as aliases for its own
annotations, are licensed under the MIT License.

john....@googlemail.com

unread,
Apr 20, 2018, 3:06:32 PM4/20/18
to guava-discuss
"Most of the Checker Framework is licensed under the GNU General Public License, version 2 (GPL2), with the classpath exception."

How can Guava be Apache licensed when checker as a part of it is GPL? In the dependency binaries there is no control over which part of Checker you get and hence ship with your product.

So in my understanding your product derives the copy left attitude.

Joachim Durchholz

unread,
Apr 20, 2018, 4:47:05 PM4/20/18
to guava-...@googlegroups.com
Am 20.04.2018 um 19:02 schrieb john.humpen via guava-discuss:
> The license on GitHub says Apache License Version 2.0 (https://github.com/google/guava/blob/master/COPYING) but Guava depends on org.checkerframework:checker-compat-qual:2.0.0 which is GPL2.

checker-compat-qual is dual-licensed: You can choose between
GPL-with-classpath-exception and MIT license.

HTH
Jo
Reply all
Reply to author
Forward
0 new messages