You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Justin Mclean <jm...@apache.org> on 2021/06/08 07:28:57 UTC
Re: [VOTE] Apache Cayenne 4.2.M3 release
Hi,
I'm not part of your PMC, and there may be a reason(s) for this that I'm unaware of, but I noticed a couple of unusual things in your release:
1. The LICENSE includes the Eclipse Public License. The EPL license is Category B and in general you can't include anything that licensed Category B in a source release. [1]
2. The source release includes compiled class files [2], and jar files [3][4][5]. Compiled code shouldn't be included in a source release. The gradle jar has been discussed many times and it can't be include in a source release.
It would be great if you could take at look at these issues.
Kind Regards,
Justin
1. https://www.apache.org/legal/resolved.html#weak-copyleft-licenses
2. ./cayenne-gradle-plugin/build/classes/java/main/org/apache/cayenne/tools/*.class
3. ./cayenne-gradle-plugin/gradle/wrapper/gradle-wrapper.jar
4. ./cayenne-gradle-plugin/build/libs/cayenne-gradle-plugin-4.2.M3.jar
5. ./cayenne-gradle-plugin/build/libs/cayenne-gradle-plugin-4.2.M3-sources.jar
6. ./cayenne-gradle-plugin/build/libs/cayenne-gradle-plugin-4.2.M3-javadoc.jar
Re: [VOTE] Apache Cayenne 4.2.M3 release
Posted by Andrus Adamchik <aa...@gmail.com>.
> On Jun 9, 2021, at 12:53 PM, Justin Mclean <ju...@classsoftware.com> wrote:
>
>>
>> I don't see anything about including LICENSE/NOTICE in .jar files anymore (we do include them).
>
> Yep that still needed last I looked.
Makes sense. Also since the rule is "license must match what's in the artifact", we should package the *source* LICENSE in the individual jars.
Andrus
Re: [VOTE] Apache Cayenne 4.2.M3 release
Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,
> Interesting. Being Apache old-timers, we haven't reviewed the LICENSE/NOTICE requirements in a bit. So looks like we may need 2 separate LICENSE files for source and binary distros
That is how a lot of projects handle it yes.
> I don't see anything about including LICENSE/NOTICE in .jar files anymore (we do include them).
Yep that still needed last I looked.
Thanks,
Justin
Re: [VOTE] Apache Cayenne 4.2.M3 release
Posted by Andrus Adamchik <aa...@gmail.com>.
Interesting. Being Apache old-timers, we haven't reviewed the LICENSE/NOTICE requirements in a bit. So looks like we may need 2 separate LICENSE files for source and binary distros:
1. The source one should exclude the following licenses: CAUCHO, JGOODIES, OGNL, VPP, jEdit Syntax, Inflector (did we borrow any inflector sources?), JGraph, SLF4J, EPL.
2. Binary one should exclude EPL (I still don't believe we have any EPL dependencies; maybe the original one came from our attempts to develop an Eclipse plugin?).
I don't see anything about including LICENSE/NOTICE in .jar files anymore (we do include them). Suppose a standalone jar may be considered a special kind of a "binary release". Any ideas?
Andrus
> On Jun 8, 2021, at 11:04 AM, Justin Mclean <ju...@classsoftware.com> wrote:
>
> Hi,
>
> Having a dependancy on something that EPL is 100% OK, but if it is only a dependancy you then don’t need to list it in your LICENSE file. [1] Only things that are in the source release artefact need to be mentioned in LICENSE.
>
> Kind Regards,
> Justin
>
> 1. https://infra.apache.org/licensing-howto.html#guiding
Re: [VOTE] Apache Cayenne 4.2.M3 release
Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,
Having a dependancy on something that EPL is 100% OK, but if it is only a dependancy you then don’t need to list it in your LICENSE file. [1] Only things that are in the source release artefact need to be mentioned in LICENSE.
Kind Regards,
Justin
1. https://infra.apache.org/licensing-howto.html#guiding
Re: [VOTE] Apache Cayenne 4.2.M3 release
Posted by Andrus Adamchik <aa...@gmail.com>.
Hi Justin,
Thanks for catching these issues. I think #2 is simply a bug in the build script ("cayenne-gradle-plugin/build" is in ".gitignore" and is clearly copied to the distro by mistake). Need to fix it.
#1 is something I have no recollection of... EPL is indeed included in LICENSE.txt, but is not explicitly linked to a specific dependency. (FWIW the latest Cayenne core doesn't have any dependencies other than SLF4J; the Modeler and build tools have some). It was added way back before we migrated to Git (and truncated some of the history in the process). I suspect that whatever it was referring to is no longer around, but we may need to do some digging.
Anyone else remembers what dependency EPL was covering?
Andrus
> On Jun 8, 2021, at 10:28 AM, Justin Mclean <jm...@apache.org> wrote:
>
> Hi,
>
> I'm not part of your PMC, and there may be a reason(s) for this that I'm unaware of, but I noticed a couple of unusual things in your release:
> 1. The LICENSE includes the Eclipse Public License. The EPL license is Category B and in general you can't include anything that licensed Category B in a source release. [1]
> 2. The source release includes compiled class files [2], and jar files [3][4][5]. Compiled code shouldn't be included in a source release. The gradle jar has been discussed many times and it can't be include in a source release.
>
> It would be great if you could take at look at these issues.
>
> Kind Regards,
> Justin
>
> 1. https://www.apache.org/legal/resolved.html#weak-copyleft-licenses
> 2. ./cayenne-gradle-plugin/build/classes/java/main/org/apache/cayenne/tools/*.class
> 3. ./cayenne-gradle-plugin/gradle/wrapper/gradle-wrapper.jar
> 4. ./cayenne-gradle-plugin/build/libs/cayenne-gradle-plugin-4.2.M3.jar
> 5. ./cayenne-gradle-plugin/build/libs/cayenne-gradle-plugin-4.2.M3-sources.jar
> 6. ./cayenne-gradle-plugin/build/libs/cayenne-gradle-plugin-4.2.M3-javadoc.jar
>
>