패키지 스크립트 추가

master
mjkhan21 5 months ago
parent 67b9d8079a
commit 611c7d8684

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="lvis">
<property name="resources" value="src/main/resources" />
<property name="deploy" value="deploy" />
<target name="lvis">
<copy todir="${deploy}/intf-conf">
<fileset dir="${resources}/intf-conf" />
</copy>
<copy file="${resources}/application.yml" todir="${deploy}" />
<antcall target="compress" />
</target>
<target name="compress">
<delete file="xit-lvis-rest.zip" />
<zip destfile="xit-lvis-rest.zip" basedir="${deploy}" compress="true" />
</target>
</project>

@ -80,6 +80,17 @@
</dependencies>
<build>
<finalName>xit-lvis-rest</finalName>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
<excludes>
<exclude>intf-conf/*.*</exclude>
<exclude>application.yml</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -107,13 +118,6 @@
</excludes>
</configuration>
</plugin>
<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.2</version>
</plugin>
-->
</plugins>
</build>

Loading…
Cancel
Save