<?xml version="1.0" encoding="ISO-8859-1"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>io.github.vasiliygagin</groupId>
        <artifactId>dbunit-parent</artifactId>
        <version>2.10.0</version>
        <relativePath>../dbunit-parent/pom.xml</relativePath>
    </parent>

    <artifactId>dbunit-core</artifactId>
    <packaging>jar</packaging>
    <name>dbUnit Extension</name>
    <description>
        dbUnit is a JUnit extension (also usable from Ant and Maven) targeted
        for database-driven projects that, among other things, puts your
        database into a known state between test runs. This is an excellent way
        to avoid the myriad of problems that can occur when one test case
        corrupts the database and causes subsequent tests to fail or exacerbate
        the damage.
    </description>
    <licenses>
        <license>
            <name>GNU Lesser General Public License, Version 2.1</name>
            <url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <properties>
        <!-- Maven configuration -->
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <project.scm.id>sourceforge</project.scm.id>

        <!-- General values -->
        <compileSource>1.8</compileSource>
        <checkstyle.excludes>org/dbunit/util/concurrent/*.java</checkstyle.excludes>
        <mavenVersion>3.0.4</mavenVersion>

        <!-- Maven plugin versions -->
        <assemblyPluginVersion>3.1.0</assemblyPluginVersion>
        <changelogPluginVersion>2.3</changelogPluginVersion>
        <changesPluginVersion>2.12.1</changesPluginVersion>
        <checkstylePluginVersion>2.17</checkstylePluginVersion>
        <cleanPluginVersion>3.0.0</cleanPluginVersion>
        <compilerPluginVersion>3.7.0</compilerPluginVersion>
        <deployPluginVersion>2.8.2</deployPluginVersion>
        <enforcerPluginVersion>1.4.1</enforcerPluginVersion>
        <failsafePluginVersion>2.21.0</failsafePluginVersion>
        <gpgPluginVersion>1.6</gpgPluginVersion>
        <installPluginVersion>2.5.2</installPluginVersion>
        <jacocoPluginVersion>0.8.3</jacocoPluginVersion>
        <japicmpPluginVersion>0.15.3</japicmpPluginVersion>
        <jarPluginVersion>3.0.2</jarPluginVersion>
        <jdependPluginVersion>2.0</jdependPluginVersion>
        <jxrPluginVersion>2.5</jxrPluginVersion>
        <modernizer-maven-plugin>2.0.0</modernizer-maven-plugin>
        <pmdPluginVersion>3.8</pmdPluginVersion>
        <projectInfoReportsPluginVersion>2.9</projectInfoReportsPluginVersion>
        <propertiesPluginVersion>1.0.0</propertiesPluginVersion>
        <releasePluginVersion>2.5.3</releasePluginVersion>
        <resourcesPluginVersion>3.0.2</resourcesPluginVersion>
        <sitePluginVersion>3.7.1</sitePluginVersion>
        <sourcePluginVersion>3.0.1</sourcePluginVersion>
        <surefirePluginVersion>2.21.0</surefirePluginVersion>
        <versionsMavenPluginVersion>2.8.1</versionsMavenPluginVersion>

        <!-- Framework versions -->
        <gsbaseVersion>2.0.1</gsbaseVersion>
        <junitAddonsVersion>1.4</junitAddonsVersion>
        <mmmockobjectsVersion>1.12.0</mmmockobjectsVersion>
        <mockObjectsVersion>0.09</mockObjectsVersion>
        <poiVersion>4.1.0</poiVersion>
        <xmlParserAPIsVersion>2.6.2</xmlParserAPIsVersion>

        <!-- Database driver versions -->
        <derbyDriverVersion>10.4.1.3</derbyDriverVersion>
        <h2DriverVersion>1.1.118</h2DriverVersion>
        <hsqldbDriverVersion>1.8.0.1</hsqldbDriverVersion>
        <mysqlDriverVersion>5.1.6</mysqlDriverVersion>
        <!-- Oracle JDBC Driver compatible with JDK6, JDK7, and JDK8 -->
        <oracleJ6DriverVersion>11.2.0.4</oracleJ6DriverVersion>
        <!-- Oracle JDBC Driver compatible with JDK8 -->
        <oracleJ8v12DriverVersion>12.2.0.1</oracleJ8v12DriverVersion>
        <!-- Oracle JDBC Driver compatible with JDK8, JDK9,JDK10,and JDK11 -->
        <oracleJ8v18DriverVersion>18.3.0.0</oracleJ8v18DriverVersion>
        <!-- Oracle JDBC Driver compatible with JDK8, JDK9, and JDK11 -->
        <oracleJ8v19DriverVersion>19.3.0.0</oracleJ8v19DriverVersion>
        <!-- Oracle JDBC Driver compatible with JDK10 and JDK11 -->
        <oracleJ10v19DriverVersion>19.3.0.0</oracleJ10v19DriverVersion>
        <oracleXdbVersion>19.3.0.0</oracleXdbVersion>
        <postgresqlDriverVersion>42.3.1</postgresqlDriverVersion>
        <postgisDriverVersion>2021.1.0</postgisDriverVersion>
        <sqlServer41DriverVersion>7.2.1.jre8</sqlServer41DriverVersion>

        <!-- Other versions -->
        <wagonSshVersion>2.10</wagonSshVersion>
    </properties>

    <dependencyManagement>
        <dependencies>
            <!-- databases -->
            <dependency>
                <groupId>org.apache.derby</groupId>
                <artifactId>derby</artifactId>
                <version>${derbyDriverVersion}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.h2database</groupId>
                <artifactId>h2</artifactId>
                <version>${h2DriverVersion}</version>
                <!-- Note that the 1.1.113 version is the last one officially
                built with JDK 1.4 -->
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>hsqldb</groupId>
                <artifactId>hsqldb</artifactId>
                <version>${hsqldbDriverVersion}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>mysql</groupId>
                <artifactId>mysql-connector-java</artifactId>
                <version>${mysqlDriverVersion}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.oracle.database.jdbc</groupId>
                <artifactId>ojdbc6</artifactId>
                <version>${oracleJ6DriverVersion}</version>
                <optional>true</optional>
            </dependency>
            <dependency>
                <groupId>com.oracle.database.jdbc</groupId>
                <artifactId>ojdbc8</artifactId>
                <version>${oracleJ8v19DriverVersion}</version>
                <optional>true</optional>
            </dependency>
            <dependency>
                <groupId>com.oracle.database.jdbc</groupId>
                <artifactId>ojdbc10</artifactId>
                <version>${oracleJ10v19DriverVersion}</version>
                <optional>true</optional>
            </dependency>
            <dependency>
                <groupId>com.oracle.database.xml</groupId>
                <artifactId>xdb</artifactId>
                <version>${oracleXdbVersion}</version>
                <scope>test</scope>
                <optional>true</optional>
            </dependency>
            <dependency>
                <groupId>org.postgresql</groupId>
                <artifactId>postgresql</artifactId>
                <version>${postgresqlDriverVersion}</version>
                <optional>true</optional>
            </dependency>
            <dependency>
                <groupId>net.postgis</groupId>
                <artifactId>postgis-jdbc</artifactId>
                <version>${postgisDriverVersion}</version>
                <optional>true</optional>
            </dependency>
            <dependency>
                <groupId>com.microsoft.sqlserver</groupId>
                <artifactId>mssql-jdbc</artifactId>
                <version>${sqlServer41DriverVersion}</version>
                <scope>test</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <dependencies>

        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-library</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>mockobjects</groupId>
            <artifactId>mockobjects-core</artifactId>
            <version>${mockObjectsVersion}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>mockmaker</groupId>
            <artifactId>mmmockobjects</artifactId>
            <version>${mmmockobjectsVersion}</version>
            <scope>test</scope>
        </dependency>
        <!-- TODO: check why follow dependency is necessary -->
        <dependency>
            <groupId>mockobjects</groupId>
            <artifactId>mockobjects-jdk1.3</artifactId>
            <version>${mockObjectsVersion}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>gsbase</groupId>
            <artifactId>gsbase</artifactId>
            <version>${gsbaseVersion}</version>
            <scope>test</scope>
        </dependency>

        <!-- databases -->
        <!-- compile scope needed for ext package classes -->
        <dependency>
            <groupId>com.h2database</groupId>
            <artifactId>h2</artifactId>
        </dependency>
        <dependency>
            <groupId>hsqldb</groupId>
            <artifactId>hsqldb</artifactId>
        </dependency>
        <dependency>
            <groupId>org.postgresql</groupId>
            <artifactId>postgresql</artifactId>
        </dependency>
        <dependency>
        	<groupId>org.apache.commons</groupId>
        	<artifactId>commons-compress</artifactId>
        	<version>1.18</version>
        </dependency>
    </dependencies>

    <build>
        <defaultGoal>install</defaultGoal>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-assembly-plugin</artifactId>
                    <version>${assemblyPluginVersion}</version>
                    <configuration>
                        <descriptors>
                            <descriptor>assembly.xml</descriptor>
                        </descriptors>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-changelog-plugin</artifactId>
                    <version>${changelogPluginVersion}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-changes-plugin</artifactId>
                    <version>${changesPluginVersion}</version>
                    <executions>
                        <execution>
                            <id>check-changes</id>
                            <phase>verify</phase>
                            <goals>
                                <goal>changes-check</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-checkstyle-plugin</artifactId>
                    <version>${checkstylePluginVersion}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-clean-plugin</artifactId>
                    <version>${cleanPluginVersion}</version>
                </plugin>
<!--                <plugin>-->
<!--                    <groupId>org.apache.maven.plugins</groupId>-->
<!--                    <artifactId>maven-enforcer-plugin</artifactId>-->
<!--                    <version>${enforcerPluginVersion}</version>-->
<!--                    <executions>-->
<!--                        <execution>-->
<!--                            <id>enforce-versions</id>-->
<!--                            <goals>-->
<!--                                <goal>enforce</goal>-->
<!--                            </goals>-->
<!--                        </execution>-->
<!--                    </executions>-->
<!--                    <configuration>-->
<!--                        <rules>-->
<!--                            <requireMavenVersion>-->
<!--                                <version>${mavenVersion}</version>-->
<!--                            </requireMavenVersion>-->
<!--                            <requireJavaVersion>-->
<!--                                <version>${compileSource}</version>-->
<!--                            </requireJavaVersion>-->
<!--                            <requirePluginVersions>-->
<!--                                <phases>compile</phases>-->
<!--                            </requirePluginVersions>-->
<!--                        </rules>-->
<!--                    </configuration>-->
<!--                </plugin>-->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-failsafe-plugin</artifactId>
                    <version>${failsafePluginVersion}</version>
                    <configuration>
                        <redirectTestOutputToFile>true</redirectTestOutputToFile>
                        <encoding>UTF-8</encoding>
                    </configuration>
                    <executions>
                        <execution>
                            <goals>
                                <goal>integration-test</goal>
                                <goal>verify</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.jacoco</groupId>
                    <artifactId>jacoco-maven-plugin</artifactId>
                    <version>${jacocoPluginVersion}</version>
                    <executions>
                        <execution>
                            <goals>
                                <goal>prepare-agent</goal>
                            </goals>
                        </execution>
                        <!--
enable this to generate coverage report HTML files during build (same as site)
            <execution>
              <goals>
                <goal>report</goal>
              </goals>
            </execution>
-->
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>${jarPluginVersion}</version>
                    <configuration>
                        <includes>
                            <include>/LICENSE.txt</include>
                            <include>**</include>
                        </includes>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>jdepend-maven-plugin</artifactId>
                    <version>${jdependPluginVersion}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jxr-plugin</artifactId>
                    <version>${jxrPluginVersion}</version>
                </plugin>
                <plugin>
                    <groupId>org.gaul</groupId>
                    <artifactId>modernizer-maven-plugin</artifactId>
                    <version>${modernizer-maven-plugin}</version>
                    <configuration>
                        <javaVersion>${compileSource}</javaVersion>
                        <!-- TODO enable failOnViolations after fixing
                        failures-->
                        <failOnViolations>false</failOnViolations>
                    </configuration>
                    <executions>
                        <execution>
                            <id>modernizer</id>
                            <phase>verify</phase>
                            <goals>
                                <goal>modernizer</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-pmd-plugin</artifactId>
                    <version>${pmdPluginVersion}</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>properties-maven-plugin</artifactId>
                    <version>${propertiesPluginVersion}</version>
                    <executions>
                        <execution>
                            <phase>validate</phase>
                            <goals>
                                <goal>read-project-properties</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-project-info-reports-plugin</artifactId>
                    <version>${projectInfoReportsPluginVersion}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-site-plugin</artifactId>
                    <version>${sitePluginVersion}</version>
                    <dependencies>
                        <dependency>
                            <groupId>org.apache.maven.wagon</groupId>
                            <artifactId>wagon-ssh</artifactId>
                            <version>${wagonSshVersion}</version>
                        </dependency>
                    </dependencies>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>${surefirePluginVersion}</version>
                    <configuration>
                        <redirectTestOutputToFile>true</redirectTestOutputToFile>
                        <excludes>
                            <exclude>**/Abstract*.java</exclude>
                        </excludes>
                        <includes>
                            <include>**/*Test.java</include>
                        </includes>
                        <systemProperties>
                            <property>
                                <name>dbunit.profile</name>
                                <value>${dbunit.profile}</value>
                            </property>
                            <property>
                                <name>dbunit.profile.driverClass</name>
                                <value>${dbunit.profile.driverClass}</value>
                            </property>
                            <property>
                                <name>dbunit.profile.url</name>
                                <value>${dbunit.profile.url}</value>
                            </property>
                            <property>
                                <name>dbunit.profile.schema</name>
                                <value>${dbunit.profile.schema}</value>
                            </property>
                            <property>
                                <name>dbunit.profile.user</name>
                                <value>${dbunit.profile.user}</value>
                            </property>
                            <property>
                                <name>dbunit.profile.password</name>
                                <value>${dbunit.profile.password}</value>
                            </property>
                            <property>
                                <name>dbunit.profile.unsupportedFeatures</name>
                                <value>${dbunit.profile.unsupportedFeatures}</value>
                            </property>
                            <property>
                                <name>dbunit.profile.ddl</name>
                                <value>${dbunit.profile.ddl}</value>
                            </property>
                            <property>
                                <name>dbunit.profile.multiLineSupport</name>
                                <value>${dbunit.profile.multiLineSupport}</value>
                            </property>
                        </systemProperties>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>versions-maven-plugin</artifactId>
                    <version>${versionsMavenPluginVersion}</version>
                    <configuration>
                        <rulesUri>
                            file:///${project.basedir}/versions-maven-plugin-rules.xml</rulesUri>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>

        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-enforcer-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-failsafe-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.gaul</groupId>
                <artifactId>modernizer-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <version>${jacocoPluginVersion}</version>
                <reportSets>
                    <reportSet>
                        <reports>
                            <!-- select non-aggregate reports -->
                            <report>report</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>
            <plugin>
                <groupId>com.github.siom79.japicmp</groupId>
                <artifactId>japicmp-maven-plugin</artifactId>
                <version>${japicmpPluginVersion}</version>
                <configuration>
                    <parameter>
                        <ignoreMissingClasses>true</ignoreMissingClasses>
                        <ignoreNonResolvableArtifacts>true</ignoreNonResolvableArtifacts>
                        <onlyModified>true</onlyModified>
                        <reportOnlyFilename>true</reportOnlyFilename>
                    </parameter>
                </configuration>
                <reportSets>
                    <reportSet>
                        <id>2.7.3-to-snapshot</id>
                        <reports>
                            <report>cmp-report</report>
                        </reports>
                        <configuration>
                            <parameter>
                                <reportLinkName>2.7.3-to-snapshot</reportLinkName>
                            </parameter>
                            <oldVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.7.3</version>
                                    <type>jar</type>
                                </dependency>
                            </oldVersion>
                            <newVersion>
                                <file>
                                    <path>
                                        ${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
                                </file>
                            </newVersion>
                        </configuration>
                    </reportSet>
                    <reportSet>
                        <id>2.7.2-to-2.7.3</id>
                        <reports>
                            <report>cmp-report</report>
                        </reports>
                        <configuration>
                            <parameter>
                                <reportLinkName>2.7.2-to-2.7.3</reportLinkName>
                            </parameter>
                            <oldVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.7.2</version>
                                    <type>jar</type>
                                </dependency>
                            </oldVersion>
                            <newVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.7.3</version>
                                    <type>jar</type>
                                </dependency>
                            </newVersion>
                        </configuration>
                    </reportSet>
                    <reportSet>
                        <id>2.7.1-to-2.7.2</id>
                        <reports>
                            <report>cmp-report</report>
                        </reports>
                        <configuration>
                            <parameter>
                                <reportLinkName>2.7.1-to-2.7.2</reportLinkName>
                            </parameter>
                            <oldVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.7.1</version>
                                    <type>jar</type>
                                </dependency>
                            </oldVersion>
                            <newVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.7.2</version>
                                    <type>jar</type>
                                </dependency>
                            </newVersion>
                        </configuration>
                    </reportSet>
                    <reportSet>
                        <id>2.7.0-to-2.7.1</id>
                        <reports>
                            <report>cmp-report</report>
                        </reports>
                        <configuration>
                            <parameter>
                                <reportLinkName>2.7.0-to-2.7.1</reportLinkName>
                            </parameter>
                            <oldVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.7.0</version>
                                    <type>jar</type>
                                </dependency>
                            </oldVersion>
                            <newVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.7.1</version>
                                    <type>jar</type>
                                </dependency>
                            </newVersion>
                        </configuration>
                    </reportSet>
                    <reportSet>
                        <id>2.6.0-to-2.7.0</id>
                        <reports>
                            <report>cmp-report</report>
                        </reports>
                        <configuration>
                            <parameter>
                                <reportLinkName>2.6.0-to-2.7.0</reportLinkName>
                            </parameter>
                            <oldVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.6.0</version>
                                    <type>jar</type>
                                </dependency>
                            </oldVersion>
                            <newVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.7.0</version>
                                    <type>jar</type>
                                </dependency>
                            </newVersion>
                        </configuration>
                    </reportSet>
                    <reportSet>
                        <id>2.5.4-to-2.6.0</id>
                        <reports>
                            <report>cmp-report</report>
                        </reports>
                        <configuration>
                            <parameter>
                                <reportLinkName>2.5.4-to-2.6.0</reportLinkName>
                            </parameter>
                            <oldVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.5.4</version>
                                    <type>jar</type>
                                </dependency>
                            </oldVersion>
                            <newVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.6.0</version>
                                    <type>jar</type>
                                </dependency>
                            </newVersion>
                        </configuration>
                    </reportSet>
                    <reportSet>
                        <id>2.5.3-to-2.5.4</id>
                        <reports>
                            <report>cmp-report</report>
                        </reports>
                        <configuration>
                            <parameter>
                                <reportLinkName>2.5.3-to-2.5.4</reportLinkName>
                            </parameter>
                            <oldVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.5.3</version>
                                    <type>jar</type>
                                </dependency>
                            </oldVersion>
                            <newVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.5.4</version>
                                    <type>jar</type>
                                </dependency>
                            </newVersion>
                        </configuration>
                    </reportSet>
                    <reportSet>
                        <id>2.5.2-to-2.5.3</id>
                        <reports>
                            <report>cmp-report</report>
                        </reports>
                        <configuration>
                            <parameter>
                                <reportLinkName>2.5.2-to-2.5.3</reportLinkName>
                            </parameter>
                            <oldVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.5.2</version>
                                    <type>jar</type>
                                </dependency>
                            </oldVersion>
                            <newVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.5.3</version>
                                    <type>jar</type>
                                </dependency>
                            </newVersion>
                        </configuration>
                    </reportSet>
                    <reportSet>
                        <id>2.5.1-to-2.5.2</id>
                        <reports>
                            <report>cmp-report</report>
                        </reports>
                        <configuration>
                            <parameter>
                                <reportLinkName>2.5.1-to-2.5.2</reportLinkName>
                            </parameter>
                            <oldVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.5.1</version>
                                    <type>jar</type>
                                </dependency>
                            </oldVersion>
                            <newVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.5.2</version>
                                    <type>jar</type>
                                </dependency>
                            </newVersion>
                        </configuration>
                    </reportSet>
                    <reportSet>
                        <id>2.5.0-to-2.5.1</id>
                        <reports>
                            <report>cmp-report</report>
                        </reports>
                        <configuration>
                            <parameter>
                                <reportLinkName>2.5.0-to-2.5.1</reportLinkName>
                            </parameter>
                            <oldVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.5.0</version>
                                    <type>jar</type>
                                </dependency>
                            </oldVersion>
                            <newVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.5.1</version>
                                    <type>jar</type>
                                </dependency>
                            </newVersion>
                        </configuration>
                    </reportSet>
                    <reportSet>
                        <id>2.4.9-to-2.5.0</id>
                        <reports>
                            <report>cmp-report</report>
                        </reports>
                        <configuration>
                            <parameter>
                                <reportLinkName>2.4.9-to-2.5.0</reportLinkName>
                            </parameter>
                            <oldVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.4.9</version>
                                    <type>jar</type>
                                </dependency>
                            </oldVersion>
                            <newVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.5.0</version>
                                    <type>jar</type>
                                </dependency>
                            </newVersion>
                        </configuration>
                    </reportSet>
                    <reportSet>
                        <id>2.4.8-to-2.4.9</id>
                        <reports>
                            <report>cmp-report</report>
                        </reports>
                        <configuration>
                            <parameter>
                                <reportLinkName>2.4.8-to-2.4.9</reportLinkName>
                            </parameter>
                            <oldVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.4.8</version>
                                    <type>jar</type>
                                </dependency>
                            </oldVersion>
                            <newVersion>
                                <dependency>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>2.4.9</version>
                                    <type>jar</type>
                                </dependency>
                            </newVersion>
                        </configuration>
                    </reportSet>
                </reportSets>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jxr-plugin</artifactId>
                <version>${jxrPluginVersion}</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-report-plugin</artifactId>
                <version>${surefirePluginVersion}</version>
                <reportSets>
                    <reportSet>
                        <id>tests</id>
                        <reports>
                            <report>report-only</report>
                        </reports>
                    </reportSet>
                    <reportSet>
                        <id>integration-tests</id>
                        <reports>
                            <report>failsafe-report-only</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-project-info-reports-plugin</artifactId>
                <version>${projectInfoReportsPluginVersion}</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
                <version>${checkstylePluginVersion}</version>
                <configuration>
                    <configLocation>${basedir}/checkstyle.xml</configLocation>
                    <argLine>-Xmx512m -Xms128m</argLine>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-pmd-plugin</artifactId>
                <version>${pmdPluginVersion}</version>
                <configuration>
                    <linkXref>true</linkXref>
                    <sourceEncoding>utf-8</sourceEncoding>
                    <minimumTokens>100</minimumTokens>
                    <targetJdk>${compileSource}</targetJdk>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jdepend-maven-plugin</artifactId>
                <version>${jdependPluginVersion}</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <configuration>
                    <quiet>true</quiet>
                    <tags>
                        <tag>
                            <name>TODO</name>
                            <placement>a</placement>
                            <head>To do:</head>
                        </tag>
                    </tags>
                    <!--
            see https://sourceforge.net/p/dbunit/code.git/merge-requests/25/
            FIXME remove -Xdoclint:none after JavaDoc cleanup.
          -->
                    <additionalparam>-Xdoclint:none</additionalparam>
                    <doclint>none</doclint>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-changes-plugin</artifactId>
                <version>${changesPluginVersion}</version>
                <configuration>
                    <smtpHost>localhost</smtpHost>
                    <smtpPort implementation="java.lang.Integer">25</smtpPort>
                    <introduction>If you are reading this, the maintainer forgot
                        to describe what's the purpose of this release!!!</introduction>
                    <toAddresses>
                        <toAddress implementation="java.lang.String">
                            dbunit-developer@lists.sourceforge.net</toAddress>
                        <toAddress implementation="java.lang.String">
                            dbunit-user@lists.sourceforge.net</toAddress>
                    </toAddresses>
                    <urlDownload>http://dbunit.sourceforge.net/repos.html</urlDownload>
                    <issueLinkTemplatePerSystem>
                        <sfbugs><![CDATA[https://sourceforge.net/p/dbunit/bugs/%ISSUE%]]></sfbugs>
                        <sffeatures><![CDATA[https://sourceforge.net/p/dbunit/feature-requests/%ISSUE%]]></sffeatures>
                        <sfplugintickets><![CDATA[https://sourceforge.net/p/dbunit/plugintickets/%ISSUE%]]></sfplugintickets>
                        <sfmerges><![CDATA[https://sourceforge.net/p/dbunit/code.git/merge-requests/%ISSUE%]]></sfmerges>
                    </issueLinkTemplatePerSystem>
                </configuration>
                <reportSets>
                    <reportSet>
                        <reports>
                            <report>changes-report</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>
        </plugins>
    </reporting>

    <profiles>
        <profile>
            <!-- include this profile when running ITs to skip unit tests and
            more -->
            <id>it-config</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.gaul</groupId>
                        <artifactId>modernizer-maven-plugin</artifactId>
                        <version>${modernizer-maven-plugin}</version>
                        <configuration>
                            <skip>true</skip>
                        </configuration>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <configuration>
                            <skipTests>true</skipTests>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>derby</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>properties-maven-plugin</artifactId>
                        <configuration>
                            <urls>
                                <url>
                                    file:///${basedir}/src/test/resources/derby-dbunit.properties</url>
                            </urls>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
            <dependencies>
                <dependency>
                    <groupId>org.apache.derby</groupId>
                    <artifactId>derby</artifactId>
                </dependency>
                <dependency>
                    <groupId>com.oracle.database.jdbc</groupId>
                    <artifactId>ojdbc8</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>hsqldb</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>properties-maven-plugin</artifactId>
                        <configuration>
                            <urls>
                                <url>
                                    file:///${basedir}/src/test/resources/hsqldb-dbunit.properties</url>
                            </urls>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
            <dependencies>
                <dependency>
                    <groupId>com.oracle.database.jdbc</groupId>
                    <artifactId>ojdbc8</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>h2</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>properties-maven-plugin</artifactId>
                        <configuration>
                            <urls>
                                <url>
                                    file:///${basedir}/src/test/resources/h2-dbunit.properties</url>
                            </urls>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
            <dependencies>
                <dependency>
                    <groupId>com.h2database</groupId>
                    <artifactId>h2</artifactId>
                </dependency>
                <dependency>
                    <groupId>com.oracle.database.jdbc</groupId>
                    <artifactId>ojdbc8</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <!-- FIXME needs driver and other properties set -->
            <id>oracle-default</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>com.oracle.database.jdbc</groupId>
                    <artifactId>ojdbc8</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <!-- "original" OracleDataTypeFactory (NOT 10g) with Oracle 11 JDBC
            driver for Java 6-8 -->
            <id>oracle-ojdbc6</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>properties-maven-plugin</artifactId>
                        <configuration>
                            <urls>
                                <url>
                                    file:///${basedir}/src/test/resources/oracle6-dbunit.properties</url>
                            </urls>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
            <dependencies>
                <dependency>
                    <groupId>com.oracle.database.jdbc</groupId>
                    <artifactId>ojdbc6</artifactId>
                </dependency>
                <dependency>
                    <groupId>com.oracle.database.xml</groupId>
                    <artifactId>xdb</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <!-- "original" OracleDataTypeFactory (NOT 10g) with Oracle 11 JDBC
            driver for Java 8 -->
            <id>oracle-ojdbc8</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>properties-maven-plugin</artifactId>
                        <configuration>
                            <urls>
                                <url>
                                    file:///${basedir}/src/test/resources/oracle-dbunit.properties</url>
                            </urls>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
            <dependencies>
                <dependency>
                    <groupId>com.oracle.database.jdbc</groupId>
                    <artifactId>ojdbc8</artifactId>
                </dependency>
                <dependency>
                    <groupId>com.oracle.database.xml</groupId>
                    <artifactId>xdb</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <!-- "newer" Oracle10DataTypeFactory with current Oracle 11 JDBC
            driver for Java 8 -->
            <id>oracle10-ojdbc8</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>properties-maven-plugin</artifactId>
                        <configuration>
                            <urls>
                                <url>
                                    file:///${basedir}/src/test/resources/oracle10-dbunit.properties</url>
                            </urls>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
            <dependencies>
                <dependency>
                    <groupId>com.oracle.database.jdbc</groupId>
                    <artifactId>ojdbc8</artifactId>
                </dependency>
                <dependency>
                    <groupId>com.oracle.database.xml</groupId>
                    <artifactId>xdb</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <!-- "newer" Oracle10DataTypeFactory with older Oracle 11 JDBC
            driver for Java 8 -->
            <id>oracle10-ojdbc8v12</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>properties-maven-plugin</artifactId>
                        <configuration>
                            <urls>
                                <url>
                                    file:///${basedir}/src/test/resources/oracle10-dbunit.properties</url>
                            </urls>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
            <dependencies>
                <dependency>
                    <groupId>com.oracle.database.jdbc</groupId>
                    <artifactId>ojdbc8</artifactId>
                    <version>${oracleJ8v12DriverVersion}</version>
                    <optional>true</optional>
                </dependency>
                <dependency>
                    <groupId>com.oracle.database.xml</groupId>
                    <artifactId>xdb</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <!-- "newer" Oracle10DataTypeFactory with current Oracle 11 JDBC
            driver for Java 10 -->
            <id>oracle10-ojdbc10</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>properties-maven-plugin</artifactId>
                        <configuration>
                            <urls>
                                <url>
                                    file:///${basedir}/src/test/resources/oracle10-dbunit.properties</url>
                            </urls>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
            <dependencies>
                <dependency>
                    <groupId>com.oracle.database.jdbc</groupId>
                    <artifactId>ojdbc10</artifactId>
                </dependency>
                <dependency>
                    <groupId>com.oracle.database.xml</groupId>
                    <artifactId>xdb</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>postgresql</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>properties-maven-plugin</artifactId>
                        <configuration>
                            <urls>
                                <url>
                                    file:///${basedir}/src/test/resources/postgresql-dbunit.properties</url>
                            </urls>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
            <dependencies>
                <dependency>
                    <groupId>org.postgresql</groupId>
                    <artifactId>postgresql</artifactId>
                </dependency>
                <dependency>
                    <groupId>com.oracle.database.jdbc</groupId>
                    <artifactId>ojdbc8</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>mysql</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>properties-maven-plugin</artifactId>
                        <configuration>
                            <urls>
                                <url>
                                    file:///${basedir}/src/test/resources/mysql-dbunit.properties</url>
                            </urls>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
            <dependencies>
                <dependency>
                    <groupId>mysql</groupId>
                    <artifactId>mysql-connector-java</artifactId>
                </dependency>
                <dependency>
                    <groupId>com.oracle.database.jdbc</groupId>
                    <artifactId>ojdbc8</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>mssql41</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>properties-maven-plugin</artifactId>
                        <configuration>
                            <urls>
                                <url>
                                    file:///${basedir}/src/test/resources/mssql41-dbunit.properties</url>
                            </urls>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
            <dependencies>
                <dependency>
                    <groupId>com.microsoft.sqlserver</groupId>
                    <artifactId>mssql-jdbc</artifactId>
                </dependency>
                <dependency>
                    <groupId>com.oracle.database.jdbc</groupId>
                    <artifactId>ojdbc8</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>mssql2019</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>properties-maven-plugin</artifactId>
                        <configuration>
                            <urls>
                                <url>
                                    file:///${basedir}/src/test/resources/mssql2019-dbunit.properties</url>
                            </urls>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
            <dependencies>
                <dependency>
                    <groupId>com.microsoft.sqlserver</groupId>
                    <artifactId>mssql-jdbc</artifactId>
                </dependency>
                <dependency>
                    <groupId>com.oracle.database.jdbc</groupId>
                    <artifactId>ojdbc8</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>db2</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>properties-maven-plugin</artifactId>
                        <configuration>
                            <urls>
                                <url>
                                    file:///${basedir}/src/test/resources/db2-dbunit.properties</url>
                            </urls>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
            <!-- JH_TODO: db2 dependencies -->
            <dependencies>
                <dependency>
                    <groupId>com.oracle.database.jdbc</groupId>
                    <artifactId>ojdbc8</artifactId>
                </dependency>
            </dependencies>
        </profile>
    </profiles>
</project>
