Repository: incubator-systemml
Updated Branches:
  refs/heads/master 3c2f58559 -> a21d8c6ed


[SYSTEMML-503] License for source distro

Update source.xml to include source LICENSE in source distro.

Closes #82.


Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/a21d8c6e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/a21d8c6e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/a21d8c6e

Branch: refs/heads/master
Commit: a21d8c6edbb4ab097ddf8ba1f55dd3fb2a4fe6a2
Parents: 3c2f585
Author: Deron Eriksson <[email protected]>
Authored: Mon Feb 29 11:05:23 2016 -0800
Committer: Deron Eriksson <[email protected]>
Committed: Mon Feb 29 11:05:23 2016 -0800

----------------------------------------------------------------------
 src/assembly/source.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/a21d8c6e/src/assembly/source.xml
----------------------------------------------------------------------
diff --git a/src/assembly/source.xml b/src/assembly/source.xml
index a09c044..b9f2de7 100644
--- a/src/assembly/source.xml
+++ b/src/assembly/source.xml
@@ -42,6 +42,7 @@
                                <exclude>**/conf/*.properties</exclude>
                                <exclude>**/conf/*.xml</exclude>
                                <exclude>**/dependency-reduced-pom.xml</exclude>
+                               <exclude>LICENSE</exclude> <!-- exclude from 
root dir -->
                                <exclude>**/scratch_space</exclude>
                                <exclude>**/scratch_space/**/*</exclude>
                                <exclude>**/target</exclude>
@@ -50,5 +51,14 @@
                                <exclude>**/temp/**/*</exclude>
                        </excludes>
                </fileSet>
+
+               <!--  add source version of license to root dir-->
+               <fileSet>
+                       <directory>${basedir}/src/assembly/source</directory>
+                       <includes>
+                               <include>LICENSE</include>
+                       </includes>
+                       <outputDirectory>.</outputDirectory>
+               </fileSet>
        </fileSets>
 </assembly>

Reply via email to