aboutsummaryrefslogtreecommitdiff
path: root/other/java/hdfs-over-ftp/src/main/resources/assembly.xml
diff options
context:
space:
mode:
Diffstat (limited to 'other/java/hdfs-over-ftp/src/main/resources/assembly.xml')
-rw-r--r--other/java/hdfs-over-ftp/src/main/resources/assembly.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/other/java/hdfs-over-ftp/src/main/resources/assembly.xml b/other/java/hdfs-over-ftp/src/main/resources/assembly.xml
new file mode 100644
index 000000000..84fef56f8
--- /dev/null
+++ b/other/java/hdfs-over-ftp/src/main/resources/assembly.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">
+
+ <id>package</id>
+ <formats>
+ <!-- 指定打包格式,支持的打包格式有zip、tar、tar.gz (or tgz)、tar.bz2 (or tbz2)、jar、dir、war,可以同时指定多个打包格式 -->
+ <format>tar.gz</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+
+ <fileSets>
+ <fileSet>
+ <directory>src/main/resources</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>application.yml</include>
+ <include>logback-spring.xml</include>
+ <include>users.properties</include>
+ <include>kafka-producer.properties</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${project.build.directory}</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>*.jar</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ <dependencySets>
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>lib</outputDirectory>
+ <scope>runtime</scope>
+ <unpack>false</unpack>
+ </dependencySet>
+ </dependencySets>
+</assembly>