-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathassembly.xml
65 lines (59 loc) · 1.75 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>distribution</id>
<formats>
<format>tar.gz</format>
<!--<format>zip</format>-->
</formats>
<fileSets>
<!-- 脚本 -->
<fileSet>
<directory>${basedir}/bin</directory>
<outputDirectory>bin</outputDirectory>
<includes>
<include>startup.bat</include>
<include>startup.sh</include>
<include>shutdown.sh</include>
</includes>
<fileMode>0755</fileMode>
</fileSet>
<!-- jdbc.properties, logback.xml -->
<fileSet>
<directory>${basedir}/src/main/resources/</directory>
<outputDirectory>conf</outputDirectory>
<includes>
<include>messages*.properties</include>
<include>version</include>
</includes>
</fileSet>
<!-- INSTALL,README,change.log -->
<fileSet>
<directory>${basedir}</directory>
<outputDirectory></outputDirectory>
<includes>
<include>README.md</include>
<include>CHANGE.log</include>
</includes>
</fileSet>
<!-- 依赖jar包 -->
<fileSet>
<directory>${basedir}/libs</directory>
<outputDirectory>libs</outputDirectory>
<includes>
<include>*.jar</include>
</includes>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>libs</outputDirectory>
<excludes>
<exclude>junit:junit</exclude>
</excludes>
</dependencySet>
</dependencySets>
<includeBaseDirectory>true</includeBaseDirectory>
<baseDirectory>${project.name}-${project.version}</baseDirectory>
</assembly>