aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-15 15:45:39 +0300
committerGravatar Vitaly Takmazov2022-12-15 15:45:39 +0300
commitaa90e6ca91d42af291458a8730d5a03c60f9dd33 (patch)
tree01b707c57c464f7e74253468ecc49cc34bc3dde4 /pom.xml
parentea4910a937f2e9310ad328bc47237662f8bcbd2c (diff)
Use /application.yml to override default environment
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml31
1 files changed, 10 insertions, 21 deletions
diff --git a/pom.xml b/pom.xml
index 46db86f0..dfa333b1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -132,7 +132,6 @@
<artifactId>mariadb-java-client</artifactId>
<scope>runtime</scope>
</dependency>
-
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
@@ -266,6 +265,15 @@
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.0.0</version>
</dependency>
+ <dependency>
+ <groupId>org.postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.flywaydb</groupId>
+ <artifactId>flyway-mysql</artifactId>
+ </dependency>
</dependencies>
<build>
<pluginManagement>
@@ -365,23 +373,10 @@
<id>mysql</id>
<properties>
<activatedProperties>mysql</activatedProperties>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.flywaydb</groupId>
- <artifactId>flyway-mysql</artifactId>
- </dependency>
- </dependencies>
+ </properties>
</profile>
<profile>
<id>postgres</id>
- <dependencies>
- <dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
<properties>
<activatedProperties>postgres</activatedProperties>
</properties>
@@ -403,11 +398,5 @@
</dependency>
</dependencies>
</profile>
- <profile>
- <id>local</id>
- <properties>
- <activatedProperties>local</activatedProperties>
- </properties>
- </profile>
</profiles>
</project>