summaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-06-13 16:59:04 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-06-13 16:59:04 +0200
commit80fc431853a7105b2f1921de61d06f0fbd0cc51a (patch)
treed1ebb6a66ea55843a55e5b806ef94d468cf614a6 /pom.xml
parenta0392374957b6ad8d49816916576558cce639c22 (diff)
Add Liquibase.
Change-Id: I95f2e630f03bcf08c5a8fb2dfba80021da350c75
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml47
1 files changed, 43 insertions, 4 deletions
diff --git a/pom.xml b/pom.xml
index f00f01b..906386c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,6 +35,8 @@
<jakarta-jacc-api.version>1.6.1</jakarta-jacc-api.version>
<jna.version>5.5.0</jna.version>
<jsoup.version>1.13.1</jsoup.version>
+ <liquibase.version>3.9.0</liquibase.version>
+ <postgresql.version>42.2.14</postgresql.version>
<rome.version>1.13.0</rome.version>
</properties>
@@ -129,10 +131,6 @@
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
- <artifactId>quarkus-flyway</artifactId>
- </dependency>
- <dependency>
- <groupId>io.quarkus</groupId>
<artifactId>quarkus-hibernate-orm-panache</artifactId>
</dependency>
<dependency>
@@ -145,6 +143,10 @@
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
+ <artifactId>quarkus-liquibase</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>io.quarkus</groupId>
<artifactId>quarkus-oidc</artifactId>
</dependency>
<dependency>
@@ -259,6 +261,43 @@
</configuration>
</plugin>
+ <!-- Liquibase -->
+ <plugin>
+ <groupId>org.liquibase</groupId>
+ <artifactId>liquibase-maven-plugin</artifactId>
+ <version>${liquibase.version}</version>
+ <configuration>
+ <propertyFile>src/main/resources/db/liquibase.properties</propertyFile>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.liquibase.ext</groupId>
+ <artifactId>liquibase-hibernate5</artifactId> <!-- note: I tried hibernate4 release version as well -->
+ <version>${liquibase.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-core</artifactId>
+ <version>${hibernate.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-entitymanager</artifactId>
+ <version>${hibernate.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-envers</artifactId>
+ <version>${hibernate.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>${postgresql.version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+
<!-- Google Java Code Formatter, for enforcing style conventions -->
<plugin>
<groupId>com.diffplug.spotless</groupId>