패키지 스크립트 추가

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> </dependencies>
<build> <build>
<finalName>xit-lvis-rest</finalName> <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> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<annotationProcessorPaths> <annotationProcessorPaths>
<path> <path>
<groupId>com.github.therapi</groupId> <groupId>com.github.therapi</groupId>
<artifactId>therapi-runtime-javadoc-scribe</artifactId> <artifactId>therapi-runtime-javadoc-scribe</artifactId>
<version>0.15.0</version> <version>0.15.0</version>
</path> </path>
</annotationProcessorPaths> </annotationProcessorPaths>
</configuration> </configuration>
</plugin> </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> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>maven-war-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>3.3.2</version> <configuration>
<outputDirectory>deploy</outputDirectory>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin> </plugin>
-->
</plugins> </plugins>
</build> </build>

Loading…
Cancel
Save