ci: maven 설정 fix

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

@ -21,20 +21,6 @@
<springdoc.swagger>1.6.3</springdoc.swagger> <springdoc.swagger>1.6.3</springdoc.swagger>
<mapstruct.version>1.4.2.Final</mapstruct.version> <mapstruct.version>1.4.2.Final</mapstruct.version>
<lombok.version>1.18.20</lombok.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> </properties>
<dependencies> <dependencies>
@ -219,27 +205,6 @@
<artifactId>springdoc-openapi-ui</artifactId> <artifactId>springdoc-openapi-ui</artifactId>
<version>${springdoc.swagger}</version> <version>${springdoc.swagger}</version>
</dependency> </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> <dependency>
<groupId>com.google.code.gson</groupId> <groupId>com.google.code.gson</groupId>
@ -270,6 +235,21 @@
</dependencies> </dependencies>
<build> <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> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -357,18 +337,6 @@
<skipTests>true</skipTests> <skipTests>true</skipTests>
</configuration> </configuration>
</plugin> </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> </plugins>
</build> </build>
@ -379,37 +347,13 @@
<activeByDefault>true</activeByDefault> <activeByDefault>true</activeByDefault>
</activation> </activation>
<properties> <properties>
<spring.profiles.active>local</spring.profiles.active> <env>local</env>
<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>
</properties> </properties>
</profile> </profile>
<profile> <profile>
<id>prod</id> <id>prod</id>
<properties> <properties>
<spring.profiles.active>prod</spring.profiles.active> <env>prod</env>
<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>
</properties> </properties>
</profile> </profile>
</profiles> </profiles>

Loading…
Cancel
Save