blob: 3e6146add2bcd9c699936489b02fc884d05988ef (
plain) (
tree)
|
|
<?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>
|