You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by lr...@apache.org on 2016/05/08 03:23:36 UTC

[2/2] incubator-systemml git commit: [SYSTEMML-662] Update standalone.jar with legal files

[SYSTEMML-662] Update standalone.jar with legal files


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

Branch: refs/heads/master
Commit: 7e4e5477bee5c15dd45d9acc37358b870d713b63
Parents: c01fc08
Author: Luciano Resende <lr...@apache.org>
Authored: Sat May 7 19:20:13 2016 -0700
Committer: Luciano Resende <lr...@apache.org>
Committed: Sat May 7 20:23:19 2016 -0700

----------------------------------------------------------------------
 src/assembly/standalone-jar.xml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/7e4e5477/src/assembly/standalone-jar.xml
----------------------------------------------------------------------
diff --git a/src/assembly/standalone-jar.xml b/src/assembly/standalone-jar.xml
index 413a617..54a2c95 100644
--- a/src/assembly/standalone-jar.xml
+++ b/src/assembly/standalone-jar.xml
@@ -31,6 +31,23 @@
 
 	<fileSets>
 		<fileSet>
+			<directory>${basedir}</directory>
+			<includes>
+				<include>DISCLAIMER</include>
+			</includes>
+			<outputDirectory>META-INF</outputDirectory>
+		</fileSet>
+
+		<fileSet>
+			<directory>${basedir}/src/assembly/standalone</directory>
+			<includes>
+				<include>LICENSE</include>
+				<include>NOTICE</include>
+			</includes>
+			<outputDirectory>META-INF</outputDirectory>
+		</fileSet>
+
+		<fileSet>
 			<directory>${project.build.directory}/hadoop-test</directory>
 			<includes>
 				<include>**/*</include>
@@ -82,6 +99,15 @@
 				<include>*:slf4j-api*</include>
 				<include>*:slf4j-log4j*</include>
 			</includes>
+			<unpackOptions>
+				<excludes>
+					<exclude>META-INF/ASL2.0</exclude>
+					<exclude>META-INF/DEPENDENCIES</exclude>
+					<exclude>META-INF/LICENSE.txt</exclude>
+					<exclude>META-INF/NOTICE.txt</exclude>
+					<exclude>META-INF/README.txt</exclude>
+				</excludes>
+			</unpackOptions>
 			<scope>provided</scope>
 			<unpack>true</unpack>
 		</dependencySet>