Helpdesk dev, prod 배포환경 분리
All checks were successful
Main-Build / build-and-push (push) Successful in 1m17s

This commit is contained in:
2025-12-10 13:27:49 +09:00
parent bc58f8629e
commit 858a9e18cb
6 changed files with 447 additions and 55 deletions

60
pom.xml
View File

@@ -700,4 +700,64 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>dev</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>process-resources</phase>
<configuration>
<target>
<copy
file="${basedir}/src/main/resources/egovframework/egovProps/globals-dev.properties"
tofile="${project.build.outputDirectory}/egovframework/egovProps/globals.properties"
overwrite="true"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>prod</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>process-resources</phase>
<configuration>
<target>
<copy
file="${basedir}/src/main/resources/egovframework/egovProps/globals-prod.properties"
tofile="${project.build.outputDirectory}/egovframework/egovProps/globals.properties"
overwrite="true"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>