Repository: incubator-systemml
Updated Branches:
  refs/heads/master e8fd0fd6b -> 6e13dd3b1


[SYSTEMML-663] Remove redundant standalone tar.gz and zip artifacts

Remove compile-scoped dependencies from standalone lib directory
since they exist in the SystemML jar.

Closes #144.


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

Branch: refs/heads/master
Commit: 6e13dd3b10332472f805b5982e71b6580e7b9081
Parents: e8fd0fd
Author: Deron Eriksson <[email protected]>
Authored: Mon May 9 16:23:36 2016 -0700
Committer: Deron Eriksson <[email protected]>
Committed: Mon May 9 16:23:36 2016 -0700

----------------------------------------------------------------------
 src/assembly/standalone.xml | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/6e13dd3b/src/assembly/standalone.xml
----------------------------------------------------------------------
diff --git a/src/assembly/standalone.xml b/src/assembly/standalone.xml
index c58c77b..01463a7 100644
--- a/src/assembly/standalone.xml
+++ b/src/assembly/standalone.xml
@@ -152,17 +152,21 @@
        <!-- Include all the libraries needed to run in standalone mode. -->
        <dependencySets>
                <dependencySet>
-                       <includes>
-                               <include>*:antlr*</include>
-                               <include>*:wink-json4j*</include>
-                       </includes>
-                       <outputDirectory>./lib</outputDirectory>
-                       <scope>compile</scope>
+                       <excludes>
+                               <exclude>*:${artifactId}*</exclude> <!-- 
exclude from base dir -->
+                               <!-- Exclude compile-scoped dependencies since 
they are in main artifact jar -->
+                               <exclude>*:antlr4-annotations*</exclude>
+                               <exclude>*:antlr4-runtime*</exclude>
+                               <exclude>*:guava*</exclude>
+                               <exclude>*:org.abego.treelayout.core*</exclude>
+                               <exclude>*:wink-json4j*</exclude>
+                       </excludes>
                </dependencySet>
 
                <dependencySet>
                        <includes>
                                <include>*:${artifactId}*</include>
+                               <include>*:antlr4*</include>
                                <include>*:avro*</include>
                                <include>*:commons-cli*</include>
                                <include>*:commons-collections*</include>

Reply via email to