forked from wangkuanzzu/wanxin-anbo-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathassembly.xml
48 lines (45 loc) · 1.35 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
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>application</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>${project.basedir}/config</directory>
<outputDirectory>/config</outputDirectory>
<includes>
<include>application.properties</include>
<include>application-${package.environment}.properties</include>
<include>log4j2-${package.environment}.xml</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/scripts</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>start-${package.environment}.sh</include>
<include>stop.sh</include>
</includes>
<filtered>true</filtered>
<fileMode>0755</fileMode>
</fileSet>
<fileSet>
<directory>src/main/resources</directory>
<outputDirectory>logs</outputDirectory>
<fileMode>0755</fileMode>
<excludes>
<exclude>**/*</exclude>
</excludes>
</fileSet>
<fileSet>
<directory>${project.build.directory}</directory>
<outputDirectory>/lib</outputDirectory>
<includes>
<include>*.jar</include>
</includes>
</fileSet>
</fileSets>
</assembly>