51 lines
1.9 KiB
XML
51 lines
1.9 KiB
XML
<assembly xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.0.0.xsd">
|
|
<id>package-component</id>
|
|
<formats>
|
|
<format>zip</format>
|
|
</formats>
|
|
<includeBaseDirectory>false</includeBaseDirectory>
|
|
|
|
<fileSets>
|
|
<fileSet>
|
|
<directory>target/${project.parent.name}-db-scripts/META-INF/db-scripts</directory>
|
|
<outputDirectory>script</outputDirectory>
|
|
</fileSet>
|
|
</fileSets>
|
|
|
|
<!-- 根据实际需要的文件来拷贝 -->
|
|
<!--
|
|
<files>
|
|
<file>
|
|
<source>src/META-INF/application-xxx.properties</source>
|
|
<outputDirectory>config</outputDirectory>
|
|
<destName>application-comp-${project.parent.name}.properties</destName>
|
|
<lineEnding>unix</lineEnding>
|
|
</file>
|
|
<file>
|
|
<source>src/META-INF/assembly/resources/meta.json</source>
|
|
<outputDirectory />
|
|
<lineEnding>unix</lineEnding>
|
|
</file>
|
|
<file>
|
|
<source>target/${project.parent.name}_app.zip</source>
|
|
<outputDirectory>frontend</outputDirectory>
|
|
</file>
|
|
</files>
|
|
-->
|
|
|
|
<dependencySets>
|
|
<dependencySet>
|
|
<includes>
|
|
<!-- 默认是除了boot外的其他构件包 -->
|
|
<include>${project.groupId}:${project.groupId}.${project.parent.name}.api</include>
|
|
<include>${project.groupId}:${project.groupId}.${project.parent.name}.core</include>
|
|
<include>${project.groupId}:${project.groupId}.${project.parent.name}.model</include>
|
|
</includes>
|
|
<outputDirectory>backend/${project.parent.name}_lib</outputDirectory>
|
|
<unpack>false</unpack>
|
|
</dependencySet>
|
|
</dependencySets>
|
|
|
|
</assembly> |