2018-08-22 15:04:26 +08:00
|
|
|
<?xml version="1.0"?>
|
2019-10-12 09:49:49 +08:00
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-10-24 18:06:28 +08:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
|
|
xmlns="http://maven.apache.org/POM/4.0.0">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>io.github.dunwu</groupId>
|
|
|
|
<artifactId>db-middleware-flyway</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>DB :: Middleware :: Flyway</name>
|
2018-08-22 15:04:26 +08:00
|
|
|
|
2019-10-24 18:06:28 +08:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
|
|
</properties>
|
2018-08-22 15:04:26 +08:00
|
|
|
|
2019-10-24 18:06:28 +08:00
|
|
|
<dependencies>
|
|
|
|
<!-- db begin -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
<artifactId>flyway-core</artifactId>
|
|
|
|
<version>5.1.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>1.4.197</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- db end -->
|
|
|
|
</dependencies>
|
2018-08-22 15:04:26 +08:00
|
|
|
|
2019-10-24 18:06:28 +08:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
<artifactId>flyway-maven-plugin</artifactId>
|
|
|
|
<version>5.1.4</version>
|
|
|
|
<configuration>
|
|
|
|
<url>jdbc:h2:file:./target/io/github/dunwu/db/middleware</url>
|
|
|
|
<user>sa</user>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>1.4.197</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2018-08-22 15:04:26 +08:00
|
|
|
</project>
|