- add target to gitignore
- add profiles to pom.xml
This commit is contained in:
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Maven / build output
|
||||||
|
target/
|
||||||
|
|
||||||
|
# IDE / workspace files
|
||||||
|
.idea/
|
||||||
|
*.iml
|
||||||
|
.vscode/
|
||||||
|
|
||||||
|
# OS artifacts
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
24
pom.xml
24
pom.xml
@ -113,4 +113,28 @@
|
|||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>local</id>
|
||||||
|
<properties>
|
||||||
|
<spring.profiles.active>local</spring.profiles.active>
|
||||||
|
<spring-boot.run.profiles>local</spring-boot.run.profiles>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>dev</id>
|
||||||
|
<properties>
|
||||||
|
<spring.profiles.active>dev</spring.profiles.active>
|
||||||
|
<spring-boot.run.profiles>dev</spring-boot.run.profiles>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>prd</id>
|
||||||
|
<properties>
|
||||||
|
<spring.profiles.active>prd</spring.profiles.active>
|
||||||
|
<spring-boot.run.profiles>prd</spring-boot.run.profiles>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
Reference in New Issue
Block a user