-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpom.xml
104 lines (96 loc) · 4.37 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?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>
<parent>
<groupId>com.backbase.goldensample</groupId>
<artifactId>backbase-golden-sample</artifactId>
<version>3.0.0-SNAPSHOT</version>
</parent>
<artifactId>database</artifactId>
<packaging>pom</packaging>
<modules>
<module>product-db</module>
<module>review-db</module>
</modules>
<properties>
<liquibase-maven-plugin.version>4.21.1</liquibase-maven-plugin.version>
<maven-assembly-plugin.version>3.5.0</maven-assembly-plugin.version>
<blimp-maven-plugin.version>0.16.5</blimp-maven-plugin.version>
<blimp-lint-rules.version>0.1.0</blimp-lint-rules.version>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.backbase.oss</groupId>
<artifactId>blimp-maven-plugin</artifactId>
<version>${blimp-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>lint</goal>
<goal>generate</goal>
<goal>assemble</goal>
</goals>
</execution>
</executions>
<configuration>
<changeLogFile>db/changelog/db.changelog-persistence.xml</changeLogFile>
<databases>
<database>mssql</database>
<database>mysql</database>
<database>oracle</database>
</databases>
<stripComments>true</stripComments>
<lintProperties>
<!--
This property is needed because of the parameterized inclusions, i.e.
<sqlFile path="../support-files/${db.type}/1_1_0_01_product_table_data.sql"/>
It doesn't have any meaning for linter, its purpose is to help the Liquibase
parser to load the changeset.
-->
<db.type>mysql</db.type>
</lintProperties>
<rules>blimp-lint-rules.yml</rules>
<failOnSeverity>ERROR</failOnSeverity>
</configuration>
<dependencies>
<dependency>
<groupId>com.backbase.backend</groupId>
<artifactId>blimp-lint-rules</artifactId>
<version>${blimp-lint-rules.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>db/generated-sql/**</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<executions>
<execution>
<id>liquibase-zip</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>${project.basedir}/../assembly/liquibase.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>