is it legal to shade "gson" packages in Maven?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

is it legal to shade "gson" packages in Maven?

Tibor Digana
 I want to ask you if it is still legal to shade packages in gson library.
Although it contains the Apache 2.0 license but it contains Copyright (C)
2010 Google Inc.  as well, see:
https://github.com/google/gson/blob/master/gson/src/main/java/com/google/gson/stream/JsonReader.java

--
Cheers
Tibor
Reply | Threaded
Open this post in threaded view
|

Re: is it legal to shade "gson" packages in Maven?

Paul Hammant-3
Shade has option exclude rules if you wanted to slim down that side of it,
and still stick with Jackson.

Shading itself should alter the should or shouldn't aspect of
library/package linkage within a app/lib/service/plugin/solution. You're
guided by imports in Java-land - Apache license stuff can't import GPL2 and
still be adhering. And others. "What is linkage" is primarily import with
Java, but there are other ways linkage can be set up and still entangled in
license considerations/debates.

- Paul