Le 2017-04-16 03:06, Niclas Hedhman a écrit :
Well, I thought this much, but
1. I couldn't find any dependency's licenses in the NOTICE in META-INF, 2. We need those in the src distro, I think, and I didn't see it there
either.

hence, I started to add it back manually.

1. Ah damn, this was working at some point. I'll have a look and get back to you. 2. Yes, we need them in the source distro too. And this is not automated yet, but could be.





On Sat, Apr 15, 2017 at 7:54 PM, Paul Merlin <[email protected]> wrote:

Le 2017-04-14 04:55, Niclas Hedhman a écrit :

Maybe I have asked this before, maybe I never sent the mail...

What is Honker supposed to do?


Honker:
- inspects dependencies for licensing metadata, including transitives
- enforces Apache Licence compatibility of dependencies at build time
- generates DEPENDENCIES, LICENSE and NOTICE files, included in the built
artifacts
- allows you to explicitly choose a license for multi-licensed dependencies

See https://github.com/apache/polygene-java/blob/develop/buildSr
c/src/main/groovy/org/apache/polygene/gradle/code/Published
CodePlugin.groovy#L92-L122

In addition to that we use Gradle dependency resolution rules to trade
some transitive dependencies to ones compatible with the Apache License,
e.g. https://github.com/apache/polygene-java/blob/develop/depende
ncies.gradle#L250-L255




Reply via email to