Anthony Baker created GEODE-868:
-----------------------------------

             Summary: Auto generate NOTICE for binary distribution
                 Key: GEODE-868
                 URL: https://issues.apache.org/jira/browse/GEODE-868
             Project: Geode
          Issue Type: Improvement
          Components: build
            Reporter: Anthony Baker


It would be nice to automatically generate the NOTICE file for the binary 
distribution based on the dependencies included in the lib directory and in the 
war files.  This will take the manual labor out of creating the NOTICE file 
correctly when dependencies are added, removed, or changed (incl transitive 
deps).

The binary NOTICE file should be based on the source NOTICE file.

The maven shade plugin does something like this:
https://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html#ApacheNoticeResourceTransformer

There is also a gradle shadow plugin:
https://github.com/johnrengelman/shadow

However it appears to have some bugs that cause it to skip some NOTICE files 
(needs further investigation).




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

Reply via email to