ci: maven 설정 fix

main
Jonguk. Lim 3 months ago
parent 4f9b1c717c
commit 1f01212ba5

@ -21,20 +21,6 @@
<springdoc.swagger>1.6.3</springdoc.swagger>
<mapstruct.version>1.4.2.Final</mapstruct.version>
<lombok.version>1.18.20</lombok.version>
<package.include.base>
resource/**,
WEB-INF/jsp/**,
WEB-INF/META-INF/**,
WEB-INF/classes/application.yml,
WEB-INF/classes/config/*.yml,
WEB-INF/classes/**/ens/*.class,
WEB-INF/classes/**/ens/core/**,
WEB-INF/classes/**/ens/batch/**/EnsScheduler.class,
WEB-INF/classes/**/ens/modules/*.class,
</package.include.base>
<package.exclude.base>
WEB-INF/classes/**/ens/modules/example/**,
</package.exclude.base>
</properties>
<dependencies>
@ -219,27 +205,6 @@
<artifactId>springdoc-openapi-ui</artifactId>
<version>${springdoc.swagger}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.springdoc</groupId>-->
<!-- <artifactId>springdoc-openapi-security</artifactId>-->
<!-- <version>${springdoc.swagger}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.springdoc</groupId>-->
<!-- <artifactId>springdoc-openapi-data-rest</artifactId>-->
<!-- <version>${springdoc.swagger}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.springdoc</groupId>-->
<!-- <artifactId>springdoc-openapi-webmvc-core</artifactId>-->
<!-- <version>${springdoc.swagger}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.springdoc</groupId>-->
<!-- <artifactId>springdoc-openapi-javadoc</artifactId>-->
<!-- <version>${springdoc.swagger}</version>-->
<!-- </dependency>-->
<dependency>
<groupId>com.google.code.gson</groupId>
@ -270,6 +235,21 @@
</dependencies>
<build>
<defaultGoal>install</defaultGoal>
<directory>${basedir}/target</directory>
<finalName>${project.name}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>application.yml</include>
<include>application-${env}.yml</include>
<include>config/*.yml</include>
<include>mybatis-mapper/**/*</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
@ -357,18 +337,6 @@
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<packagingIncludes>${packageIncludesByProfile}</packagingIncludes>
<packagingExcludes>${packageExcludesByProfile}</packagingExcludes>
</configuration>
</plugin>
</plugins>
</build>
@ -379,37 +347,13 @@
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<spring.profiles.active>local</spring.profiles.active>
<packageIncludesByProfile>
${package.include.base}
WEB-INF/classes/**/ens/batch/**,
WEB-INF/classes/**/ens/modules/**,
<!-- WEB-INF/classes/**/ens/biz/iup/**,-->
WEB-INF/classes/application-local.yml,
</packageIncludesByProfile>
<packageExcludesByProfile>
</packageExcludesByProfile>
<env>local</env>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<spring.profiles.active>prod</spring.profiles.active>
<packageIncludesByProfile>
${package.include.base}
WEB-INF/classes/**/ens/modules/**,
<!-- WEB-INF/classes/**/ens/modules/common/**,-->
<!-- WEB-INF/classes/**/ens/modules/kkomydoc/**,-->
<!-- WEB-INF/classes/**/ens/modules/nvsigntalk/**,-->
WEB-INF/classes/**/ens/biz/iup/**,
WEB-INF/classes/application-prod.yml,
WEB-INF/classes/mybatis-mapper/**,
</packageIncludesByProfile>
<packageExcludesByProfile>
${package.exclude.base}
WEB-INF/classes/**/ens/batch/**/EnsScheduler.class,
WEB-INF/classes/**/ens/biz/iup/alimtalk/**,
</packageExcludesByProfile>
<env>prod</env>
</properties>
</profile>
</profiles>

Loading…
Cancel
Save