2020-07-17 04:54:38 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-05-10 10:35:39 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2020-07-17 04:54:38 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2020-08-01 16:37:30 -04:00
|
|
|
<artifactId>flyway-repair</artifactId>
|
2020-07-17 04:54:38 -04:00
|
|
|
<name>flyway-repair</name>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<description>Flyway Repair Demo</description>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
2023-12-25 11:10:07 -05:00
|
|
|
<artifactId>parent-boot-3</artifactId>
|
2020-07-17 04:54:38 -04:00
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2023-12-25 11:10:07 -05:00
|
|
|
<relativePath>../../parent-boot-3</relativePath>
|
2020-07-17 04:54:38 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
<artifactId>flyway-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
<artifactId>flyway-maven-plugin</artifactId>
|
2023-12-17 11:29:54 -05:00
|
|
|
<version>${flyway-maven-plugin.version}</version>
|
2020-07-17 04:54:38 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>h2</id>
|
2020-07-17 09:13:57 -04:00
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
2020-07-17 04:54:38 -04:00
|
|
|
<properties>
|
2020-07-17 09:13:57 -04:00
|
|
|
<spring-boot.run.profiles>h2</spring-boot.run.profiles>
|
2020-07-17 04:54:38 -04:00
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>postgres</id>
|
|
|
|
<properties>
|
2020-07-17 09:13:57 -04:00
|
|
|
<spring-boot.run.profiles>postgres</spring-boot.run.profiles>
|
2020-07-17 04:54:38 -04:00
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2020-07-17 09:13:57 -04:00
|
|
|
<properties>
|
|
|
|
<flyway.configFiles>src/main/resources/application-${spring-boot.run.profiles}.properties</flyway.configFiles>
|
2023-12-25 11:10:07 -05:00
|
|
|
<flyway-maven-plugin.version>10.4.0</flyway-maven-plugin.version>
|
|
|
|
<java.version>17</java.version>
|
|
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
|
|
<maven.compiler.target>17</maven.compiler.target>
|
2020-07-17 09:13:57 -04:00
|
|
|
</properties>
|
|
|
|
|
2021-05-10 10:35:39 -04:00
|
|
|
</project>
|