|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<assembly
|
|
|
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">
|
|
|
<id>package</id>
|
|
|
<formats>
|
|
|
<format>zip</format>
|
|
|
</formats>
|
|
|
<includeBaseDirectory>true</includeBaseDirectory>
|
|
|
<fileSets>
|
|
|
<!-- 把项目相关的说明文件,打包进zip文件的根目录 -->
|
|
|
<fileSet>
|
|
|
<directory>${project.basedir}</directory>
|
|
|
<outputDirectory>/</outputDirectory>
|
|
|
<includes>
|
|
|
<include>README*</include>
|
|
|
<include>LICENSE*</include>
|
|
|
<include>NOTICE*</include>
|
|
|
<include>build.info</include>
|
|
|
</includes>
|
|
|
</fileSet>
|
|
|
|
|
|
<fileSet>
|
|
|
<directory>${project.basedir}/config</directory>
|
|
|
<outputDirectory>config</outputDirectory>
|
|
|
<includes>
|
|
|
<include>*.properties</include>
|
|
|
<include>ireport/*.jasper</include>
|
|
|
</includes>
|
|
|
</fileSet>
|
|
|
|
|
|
<!-- 把项目自己编译出来的jar文件,打包进zip文件的根目录 -->
|
|
|
<fileSet>
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
<outputDirectory>/</outputDirectory>
|
|
|
<includes>
|
|
|
<include>*.jar</include>
|
|
|
</includes>
|
|
|
</fileSet>
|
|
|
</fileSets>
|
|
|
</assembly> |
|
|
\ No newline at end of file |
...
|
...
|
|