-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.xml
40 lines (40 loc) · 1.32 KB
/
package.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
<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>package</id>
<formats>
<format>tar.gz</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>src/main/bin</directory>
<excludes>
<exclude>ServerStarter.class</exclude>
</excludes>
<outputDirectory>/</outputDirectory>
</fileSet>
<fileSet>
<directory>src/main/config</directory>
<outputDirectory>/</outputDirectory>
</fileSet>
</fileSets>
<files>
<file>
<source>src/main/bin/ServerStarter.class</source>
<outputDirectory>libs</outputDirectory>
</file>
</files>
<dependencySets>
<!-- <dependencySet>
<outputDirectory>/</outputDirectory>
<scope>runtime</scope>
</dependencySet> -->
<dependencySet>
<useProjectArtifact>true</useProjectArtifact> <!-- 当前项目构件是否包含在这个依赖集合里 -->
<outputDirectory>libs</outputDirectory> <!-- 将scope为runtime的依赖包打包到lib目录下 -->
<scope>runtime</scope>
</dependencySet>
</dependencySets>
</assembly>