You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by "Daniel John Debrunner (JIRA)" <ji...@apache.org> on 2016/04/08 16:40:25 UTC

[jira] [Commented] (QUARKS-133) Ensure correct LICENCE and NOTICE are in Quarks jar files

    [ https://issues.apache.org/jira/browse/QUARKS-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15232272#comment-15232272 ] 

Daniel John Debrunner commented on QUARKS-133:
----------------------------------------------

Thinking about the mechanics, I wonder if there should be a top-level folder that contains:

* a copy of the Apache Licence v 2 with a name that is not LICENCE (to make it clear it's not the licence that applies to the whole work)
* a copy of the existing notice file, again with a name that is not NOTICE
* a copy of the existing notice file without the IBM copyrights, again with a name that is not NOTICE 

Then common-build would modified to copy these files into the appropriate jars, defaulting to the plain ASF notice, but individual files could override the notice with the "IBM" one.

> Ensure correct LICENCE and NOTICE are in Quarks jar files
> ---------------------------------------------------------
>
>                 Key: QUARKS-133
>                 URL: https://issues.apache.org/jira/browse/QUARKS-133
>             Project: Quarks
>          Issue Type: Task
>            Reporter: Daniel John Debrunner
>
> Currently the top-level LICENSE and NOTICE files are copied into each Quarks file.
> Currently that is the correct behaviour, however as the LICENSE and NOTICE files are changed to represent the contents of the entire source tree that will no longer be correct.
> From the guiding principle [1] "The LICENSE and NOTICE files must exactly represent the contents of the distribution they reside in".
> Any jar created by the build (e.g. target/java8/lib/quarks.api.optlet.jar) is itself a distribution, so its LICENSE & NOTICE must exactly represent its contents. As [2] says: "As far as LICENSE and NOTICE are concerned, only bundled bits matter."
> So, any(*) Java jar currently produced only includes Quarks class files, dependent jars are not bundled in the Quarks jar, so their LICENCE is ALV2. For the NOTICE file there are two choices:
>  1) The current NOTICE file containing IBM copyrights and Apache Quarks info but no third-party dependency. Jars that contain any (IBM) code that existed at the time the repo was first populated at the ASF.
>  2) A NOTICE file containing Apache Quarks info but no third-party dependency. This would be for jars that only contain code created since the project repo was at the ASF (which most likely means jars created since then).
> * I believe it is all Quarks jar, but it will need to verified as thw work proceeds.
> [1] http://www.apache.org/dev/licensing-howto.html#guiding-principle
> [2] http://www.apache.org/dev/licensing-howto.html#bundled-vs-non-bundled



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)