aboutsummaryrefslogtreecommitdiff
path: root/src/main/assembly/distribution.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/assembly/distribution.xml')
-rw-r--r--src/main/assembly/distribution.xml69
1 files changed, 69 insertions, 0 deletions
diff --git a/src/main/assembly/distribution.xml b/src/main/assembly/distribution.xml
new file mode 100644
index 0000000..3e6146a
--- /dev/null
+++ b/src/main/assembly/distribution.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * (C) Copyright IBM Corp. 2017
+ *
+ * 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>bin</id>
+
+ <formats>
+ <format>tgz</format>
+ <format>zip</format>
+ </formats>
+
+ <includeBaseDirectory>true</includeBaseDirectory>
+ <baseDirectory>${artifactId}-kernel-${version}</baseDirectory>
+
+ <fileSets>
+
+ <!-- Add the text files to the top-level directroy -->
+ <fileSet>
+ <includes>
+ <include>LICENSE</include>
+ <include>NOTICE</include>
+ <include>kernel.json</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>python</directory>
+ <outputDirectory>python</outputDirectory>
+ <includes>
+ <include>setup.py</include>
+ <include>toree_gateway_kernel.py</include>
+ </includes>
+ </fileSet>
+
+ <fileSet>
+ <directory>src/main/resources</directory>
+ <outputDirectory>conf</outputDirectory>
+ <includes>
+ <include>log4j.properties</include>
+ <include>profile.json.template</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+
+ <files>
+ <file>
+ <source>target/${artifactId}-${project.version}-jar-with-dependencies.jar</source>
+ <outputDirectory>lib</outputDirectory>
+ </file>
+ </files>
+</assembly> \ No newline at end of file