Change LICENSE creation mode for binary assemblies
Change-Id: I402cef4206fa0610eaff899cf005875323fb18d6
Reviewed-on: https://asterix-gerrit.ics.uci.edu/571
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Chris Hillery <ceej@lambda.nu>
diff --git a/asterix-server/src/main/assembly/binary-assembly.xml b/asterix-server/src/main/assembly/binary-assembly.xml
index 6aab0cf..e95a306 100644
--- a/asterix-server/src/main/assembly/binary-assembly.xml
+++ b/asterix-server/src/main/assembly/binary-assembly.xml
@@ -28,13 +28,24 @@
<directory>target/classes/META-INF</directory>
<outputDirectory>.</outputDirectory>
<includes>
- <include>LICENSE*</include>
- <include>NOTICE*</include>
<include>DISCLAIMER*</include>
- <include>DEPENDENCIES*</include>
</includes>
</fileSet>
-
+ <fileSet>
+ <directory>src/main/licenses</directory>
+ <outputDirectory>.</outputDirectory>
+ <includes>
+ <include>LICENSE*</include>
+ <include>NOTICE*</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/resources</directory>
+ <outputDirectory>.</outputDirectory>
+ <includes>
+ <include>LICENSE*</include>
+ </includes>
+ </fileSet>
<fileSet>
<directory>target/appassembler/repo</directory>
<outputDirectory>repo</outputDirectory>