-
Notifications
You must be signed in to change notification settings - Fork 10
/
assembly-binary-date.xml
48 lines (48 loc) · 1.76 KB
/
assembly-binary-date.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
<?xml version="1.0" encoding="utf-8"?>
<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">
<!-- 产生zip文件的名字 -->
<id>binary-${buliddate}</id>
<formats>
<format>zip</format>
</formats>
<!-- 将全部依赖放到/lib目录下 -->
<dependencySets>
<dependencySet>
<outputDirectory>/lib</outputDirectory>
</dependencySet>
</dependencySets>
<!-- 目录打包路径和排除路径配置 -->
<fileSets>
<fileSet>
<!-- 打包根目录文件夹内容 -->
<directory>${basedir}</directory>
<includes>
<include>config/**</include>
<include>bin/**</include>
<include>upload/**</include>
<include>hk/**</include>
<include>upgrade/**</include>
<include>temp/</include>
<include>shell/**</include>
<include>common/**</include>
<include>deploy/**</include>
<include>lib/**</include>
<!-- <include>src/main/java/**</include> <include>src/main/resources/**</include>
<include>src/test/java/**</include> <include>src/test/resources/**</include> -->
</includes>
<!-- 排除根目录文件夹内容 -->
<excludes>
<exclude>target/**</exclude>
<exclude>.settings/**</exclude>
<exclude>.classpath</exclude>
<exclude>.project</exclude>
</excludes>
</fileSet>
<!-- 打包工程中/src/main/webaap文件夹内容到部署路径的根目录/webapp路径 <fileSet> <directory>${basedir}/src/main/resources/static/csvweb</directory>
<outputDirectory>/static/csvweb</outputDirectory> <includes> <include>**</include>
</includes> </fileSet> -->
</fileSets>
</assembly>