-
Notifications
You must be signed in to change notification settings - Fork 7
/
pom.xml
48 lines (48 loc) · 1.99 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>flywayMigration</groupId>
<artifactId>com.codecentric</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<flyway.version>4.0.3</flyway.version>
<postgres.driver.version>9.2-1002.jdbc4</postgres.driver.version>
<database.url>jdbc:postgresql://localhost:5432/flywaydemo</database.url>
<database.user>flywaydemo</database.user>
<database.password>flywaydemo</database.password>
</properties>
<dependencies>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<version>${flyway.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-maven-plugin</artifactId>
<version>${flyway.version}</version>
<configuration>
<sqlMigrationSeparator>__</sqlMigrationSeparator>
<locations>
<location>filesystem:src/main/resources/flyway/migrations</location>
</locations>
<url>${database.url}</url>
<user>${database.user}</user>
<password>${databese.password}</password>
</configuration>
<dependencies>
<dependency>
<groupId>postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgres.driver.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>