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 2015/11/19 21:46:47 UTC

[05/50] [abbrv] incubator-systemml git commit: [SYSML-360] Add source distribution

[SYSML-360] Add source distribution


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

Branch: refs/heads/master
Commit: 140171e7aec5283dc91d6f036f32a3c40591631a
Parents: caa01da
Author: Luciano Resende <lr...@apache.org>
Authored: Tue Oct 27 20:18:30 2015 -0700
Committer: Luciano Resende <lr...@apache.org>
Committed: Tue Oct 27 20:18:30 2015 -0700

----------------------------------------------------------------------
 pom.xml                 | 12 +++++++++++
 src/assembly/source.xml | 51 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/140171e7/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ed0d510..8bb7b8d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -170,6 +170,18 @@
 						</configuration>
 					</execution>
 					<execution>
+						<id>create-source-distribution-assembly</id>
+						<phase>package</phase>
+						<goals>
+							<goal>single</goal>
+						</goals>
+						<configuration>
+							<descriptors>
+								<descriptor>src/assembly/source.xml</descriptor>
+							</descriptors>
+						</configuration>
+					</execution>
+					<execution>
 						<id>create-cluster-binary-distribution-assembly</id>
 						<phase>package</phase>
 						<goals>

http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/140171e7/src/assembly/source.xml
----------------------------------------------------------------------
diff --git a/src/assembly/source.xml b/src/assembly/source.xml
new file mode 100644
index 0000000..8267e86
--- /dev/null
+++ b/src/assembly/source.xml
@@ -0,0 +1,51 @@
+<!--
+ * (C) Copyright IBM Corp. 2010, 2015
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
+<assembly
+        xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+    <id>src</id>
+    <formats>
+        <format>tar.gz</format>
+        <format>zip</format>
+    </formats>
+
+    <includeBaseDirectory>true</includeBaseDirectory>
+    <baseDirectory>system-ml-${version}</baseDirectory>
+
+
+    <fileSets>
+        <fileSet>
+            <directory>${basedir}/..</directory>
+            <outputDirectory></outputDirectory>
+            <excludes>
+                <exclude>**/.*</exclude>
+                <exclude>**/.*/**</exclude>
+                <exclude>**/*.log</exclude>
+                <exclude>**/target</exclude>
+                <exclude>**/target/**/*</exclude>
+                <exclude>**/maven-eclipse.xml</exclude>
+                <exclude>**/dependency-reduced-pom.xml</exclude>
+                <exclude>modules/web-javascript-dojo/src/main/resources/dojo/**</exclude>
+                <exclude>samples/learning-more/binding-jsonrpc/calculator-webapp/src/main/webapp/dojo/**</exclude>
+                <exclude>unreleased</exclude>
+                <exclude>unreleased/**</exclude>
+            </excludes>
+        </fileSet>
+    </fileSets>
+
+</assembly>