패키지 스크립트 추가

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,40 +80,44 @@
</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>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>com.github.therapi</groupId>
<artifactId>therapi-runtime-javadoc-scribe</artifactId>
<version>0.15.0</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<outputDirectory>deploy</outputDirectory>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>com.github.therapi</groupId>
<artifactId>therapi-runtime-javadoc-scribe</artifactId>
<version>0.15.0</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.2</version>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<outputDirectory>deploy</outputDirectory>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
-->
</plugins>
</build>

Loading…
Cancel
Save