|
|
|
@ -667,6 +667,13 @@
|
|
|
|
|
-->
|
|
|
|
|
<!-- ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory에러 방지 -->
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.jasypt/jasypt -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jasypt</groupId>
|
|
|
|
|
<artifactId>jasypt-spring31</artifactId>
|
|
|
|
|
<version>1.9.3</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
@ -674,8 +681,47 @@
|
|
|
|
|
<defaultGoal>install</defaultGoal>
|
|
|
|
|
<directory>${basedir}/target</directory>
|
|
|
|
|
<finalName>fims</finalName>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>*.properties</include>
|
|
|
|
|
<include>*-${env}.xml</include>
|
|
|
|
|
<include>**/${env}/*</include>
|
|
|
|
|
<include>message/**/*</include>
|
|
|
|
|
<include>spring/*.xml</include>
|
|
|
|
|
<include>spring/*/*.xml</include>
|
|
|
|
|
<include>spring/service/cache/*.xml</include>
|
|
|
|
|
<include>sqlmapper/**/*</include>
|
|
|
|
|
<include>validator/**/*</include>
|
|
|
|
|
</includes>
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
<pluginManagement>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>copy-resources</id>
|
|
|
|
|
<!-- here the phase you need -->
|
|
|
|
|
<phase>validate</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<outputDirectory>${basedir}/target/dockerfile</outputDirectory>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/docker</directory>
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
|
|
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
|
|
|
@ -914,5 +960,29 @@
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</reporting>
|
|
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
<!-- default : local configuration -->
|
|
|
|
|
<profile>
|
|
|
|
|
<id>local</id>
|
|
|
|
|
<properties>
|
|
|
|
|
<env>local</env>
|
|
|
|
|
</properties>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
|
|
<!-- dev configuration -->
|
|
|
|
|
<profile>
|
|
|
|
|
<id>dev</id>
|
|
|
|
|
<properties>
|
|
|
|
|
<env>dev</env>
|
|
|
|
|
</properties>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
</profile>
|
|
|
|
|
</profiles>
|
|
|
|
|
</project>
|
|
|
|
|
|
|
|
|
|