[Build] Include CREDITS,README and licenses in bin
authorJonas Pfefferle <pepperjo@apache.org>
Thu, 15 Nov 2018 15:43:22 +0000 (16:43 +0100)
committerJonas Pfefferle <pepperjo@apache.org>
Thu, 15 Nov 2018 15:43:22 +0000 (16:43 +0100)
Include CREDITS, README and licenses in binary tarball.

https://jira.apache.org/jira/projects/CRAIL/issues/CRAIL-83
https://jira.apache.org/jira/projects/CRAIL/issues/CRAIL-82

Signed-off-by: Jonas Pfefferle <pepperjo@apache.org>
assembly/src/main/assembly/assembly.xml

index 040f86d..59560c4 100644 (file)
       <directory>${project.parent.basedir}/conf</directory>
       <outputDirectory>conf</outputDirectory>
     </fileSet>
+    <fileSet>
+      <directory>${project.parent.basedir}/licenses</directory>
+      <outputDirectory>licenses</outputDirectory>
+    </fileSet>
     <fileSet> <!-- Create empty directory -->
       <outputDirectory>lib</outputDirectory>
       <excludes><exclude>**/*</exclude></excludes>
@@ -49,6 +53,8 @@
     <file><source>${project.parent.basedir}/LICENSE</source></file>
     <file><source>${project.parent.basedir}/NOTICE</source></file>
     <file><source>${project.parent.basedir}/DISCLAIMER</source></file>
+    <file><source>${project.parent.basedir}/CREDITS</source></file>
+    <file><source>${project.parent.basedir}/README.md</source></file>
   </files>
 
   <dependencySets>