|
|
|
@ -0,0 +1,45 @@
|
|
|
|
|
<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>release</id>
|
|
|
|
|
<formats>
|
|
|
|
|
<format>zip</format>
|
|
|
|
|
</formats>
|
|
|
|
|
<includeBaseDirectory>false</includeBaseDirectory>
|
|
|
|
|
<!-- <dependencySets>-->
|
|
|
|
|
<!-- <dependencySet>-->
|
|
|
|
|
<!-- <outputDirectory>/</outputDirectory>-->
|
|
|
|
|
<!-- <useProjectArtifact>true</useProjectArtifact>-->
|
|
|
|
|
<!-- <unpack>false</unpack>-->
|
|
|
|
|
<!-- <scope>runtime</scope>-->
|
|
|
|
|
<!-- </dependencySet>-->
|
|
|
|
|
<!-- <dependencySet>-->
|
|
|
|
|
<!-- <outputDirectory>/</outputDirectory>-->
|
|
|
|
|
<!-- <useProjectArtifact>true</useProjectArtifact>-->
|
|
|
|
|
<!-- <unpack>false</unpack>-->
|
|
|
|
|
<!-- <scope>system</scope>-->
|
|
|
|
|
<!-- </dependencySet>-->
|
|
|
|
|
<!-- </dependencySets>-->
|
|
|
|
|
<dependencySets>
|
|
|
|
|
<dependencySet>
|
|
|
|
|
<!-- 不使用项目的artifact,第三方jar不要解压,打包进zip文件的lib目录 -->
|
|
|
|
|
<useProjectArtifact>false</useProjectArtifact>
|
|
|
|
|
<outputDirectory>lib</outputDirectory>
|
|
|
|
|
<unpack>false</unpack>
|
|
|
|
|
</dependencySet>
|
|
|
|
|
</dependencySets>
|
|
|
|
|
<fileSets>
|
|
|
|
|
<!-- 把项目的配置文件,打包进zip文件的config目录 -->
|
|
|
|
|
<fileSet>
|
|
|
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
|
|
|
<outputDirectory>conf</outputDirectory>
|
|
|
|
|
</fileSet>
|
|
|
|
|
<fileSet>
|
|
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
|
|
<outputDirectory></outputDirectory>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>*.jar</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</fileSet>
|
|
|
|
|
</fileSets>
|
|
|
|
|
</assembly>
|