liquibase from maven plugin

This commit is contained in:
uPagge 2021-03-08 18:01:48 +03:00
parent 66b87d8014
commit 33bd0d8d94
No known key found for this signature in database
GPG Key ID: 964B40928E4C9088
3 changed files with 14 additions and 1 deletions

View File

@ -54,6 +54,14 @@
<build>
<plugins>
<plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>4.2.0</version>
<configuration>
<propertyFile>src/main/resources/liquibase.properties</propertyFile>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>

View File

@ -5,4 +5,4 @@ spring:
driver-class-name: org.postgresql.Driver
password: 121314Ma
liquibase:
change-log: classpath:db/changelog/db.changelog-master.xml
enabled: false

View File

@ -0,0 +1,5 @@
url=jdbc:postgresql://localhost:5432/liquibase_example
username=postgres
password=
driver=org.postgresql.Driver
changeLogFile=src/main/resources/db/changelog/db.changelog-master.xml