stevedlawrence opened a new pull request #359: Add sbt configuration to 
generate licenses to be included in jars
URL: https://github.com/apache/incubator-daffodil/pull/359
 
 
   We currently include the root LICENSE and NOTICE file in each of the
   jars that we create and distribute. However, those files define the
   license of all the source code in the repository, and is not specific to
   each submodule the jar represents. Furthermore, the license references
   files that don't actually exist in a jar. We really need a unique
   license and notice for each submodule we distribute to include in each
   jar.
   
   To minimize maintenance cost and ease the ability to make updates, this
   adds the ability to generate these licenses. A new GenJarLicense.scala
   sbt configuration is added to define a resource generator that creates
   the LICENSE and NOTICE files to be included in the META-INF directory in
   a jar. This defaults to just the Apache v2 LICENSE and a plain Daffodil
   NOTICE file.
   
   Two sbt setting keys are also defined that allow individual submodules
   to set additional license or notice information specific to that
   submodules jar. The daffodil-lib submodule is the only jar that we
   distribute that currently requires additional license information, so
   this also includes an sbt configuration for that submodule to provide
   that information.
   
   DAFFODIL-2321

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to