프로파일 다시 수정
This commit is contained in:
parent
3b43714416
commit
fad9c29a55
32
pom.xml
32
pom.xml
|
|
@ -213,6 +213,22 @@
|
||||||
<profile>
|
<profile>
|
||||||
<id>dev</id>
|
<id>dev</id>
|
||||||
<build>
|
<build>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<excludes>
|
||||||
|
<exclude>application-*.properties</exclude>
|
||||||
|
<exclude>dev/application.properties</exclude>
|
||||||
|
<exclude>live/**</exclude>
|
||||||
|
</excludes>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources/dev</directory>
|
||||||
|
<includes>
|
||||||
|
<include>application.properties</include>
|
||||||
|
</includes>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
|
@ -229,6 +245,22 @@
|
||||||
<profile>
|
<profile>
|
||||||
<id>live</id>
|
<id>live</id>
|
||||||
<build>
|
<build>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<excludes>
|
||||||
|
<exclude>application-*.properties</exclude>
|
||||||
|
<exclude>dev/**</exclude>
|
||||||
|
<exclude>live/application.properties</exclude>
|
||||||
|
</excludes>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources/live</directory>
|
||||||
|
<includes>
|
||||||
|
<include>application.properties</include>
|
||||||
|
</includes>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
spring.config.import=classpath:dev/db.properties
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
spring.config.import=classpath:live/db.properties
|
|
||||||
Loading…
Reference in New Issue