forked from dreadknot/dbdeploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
45 lines (41 loc) · 1.95 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
<project xmlns="http:https://maven.apache.org/POM/4.0.0" xmlns:xsi="http:https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:https://maven.apache.org/POM/4.0.0 http:https://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>dbdeploy-test</artifactId>
<groupId>com.dbdeploy</groupId>
<version>1.0-SNAPSHOT</version>
<name>dbdeploy Maven example</name>
<description>Tests Dbdeploy Plugin</description>
<properties>
<dbdeploy.version>3.0M3</dbdeploy.version>
<mysql.connector.version>5.1.18</mysql.connector.version>
<cglib.version>2.2.2</cglib.version>
<dbdeploy.user>root</dbdeploy.user>
<dbdeploy.password></dbdeploy.password>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.dbdeploy</groupId>
<artifactId>maven-dbdeploy-plugin</artifactId>
<version>3.0M3</version>
<configuration>
<scriptdirectory>sql</scriptdirectory>
<driver>com.mysql.jdbc.Driver</driver>
<url>jdbc:mysql:https://192.168.50.200:3306/mydb</url>
<userid>${dbdeploy.user}</userid>
<password>${dbdeploy.password}</password>
<dbms>mysql</dbms>
<outputfile>${basedir}/target/dbdeploy.sql</outputfile>
<undoOutputfile>undo.sql</undoOutputfile>
</configuration>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.connector.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>