-
Notifications
You must be signed in to change notification settings - Fork 0
/
assembly.xml
46 lines (46 loc) · 1.32 KB
/
assembly.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<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>dist</id>
<formats>
<format>tar.gz</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>src/main/resources/bin</directory>
<outputDirectory>simple-server/</outputDirectory>
<includes>
<include>run.sh</include>
</includes>
<fileMode>755</fileMode>
</fileSet>
<fileSet>
<directory>target</directory>
<outputDirectory>simple-server/</outputDirectory>
<includes>
<include>${project.artifactId}*.jar</include>
</includes>
<excludes>
<exclude>*-sources.jar</exclude>
<exclude>*-javadoc.jar</exclude>
</excludes>
</fileSet>
<fileSet>
<directory>src/main/resources/</directory>
<outputDirectory>simple-server/</outputDirectory>
<includes>
<include>*.properties</include>
<include>*.xml</include>
</includes>
</fileSet>
<fileSet>
<directory>src/main/resources/files</directory>
<outputDirectory>simple-server/etc/files</outputDirectory>
<includes>
<include>*.*</include>
</includes>
</fileSet>
</fileSets>
</assembly>