Maven Repository - POM file for Database dbunit 2.5.0 2.5.0

Summary

dbUnit Extension.

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 ....

Declaration

Here is the list of declaration for dbunit. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.dbunit</groupId>
   <artifactId>dbunit</artifactId>
   <version>2.5.0</version>
</dependency>

If you think this Maven repository POM file listing for dbunit is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.





License

Name:GNU Lesser General Public License, Version 2.1
URL: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt.

Depends on

The dbunit-2.5.0 has 17 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.

CategoryArtifactDepended By Count
Logslf4j-api 1.7.7
The slf4j API
568
Logjcl-over-slf4j 1.7.7
JCL 1.1.1 implemented over SLF4J
41
Loglogback-classic 1.1.2
logback-classic module
162
JUnitjunit 4.11
JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java.
2031
Data Structurecommons-collections 3.2.1
Types that extend and augment the Java Collections Framework.
419
XML Graphicspoi 3.2-FINAL
Apache POI - Java API To Access Microsoft Format Files
11
Librarygsbase 2.0.1
A collection of java utility classes
30
Filecommons-io 1.4
Commons-IO contains utility classes, stream implementations, file filters, file comparators and endian classes.
444

Plugin

The following plugins are used in the dbunit-2.5.0.jar

  1. cobertura-maven-plugin
  2. jdepend-maven-plugin
  3. maven-assembly-plugin
  4. maven-changes-plugin
  5. maven-checkstyle-plugin
  6. maven-compiler-plugin
  7. maven-enforcer-plugin
  8. maven-failsafe-plugin
  9. maven-jar-plugin
  10. maven-javadoc-plugin
  11. maven-jxr-plugin
  12. maven-pmd-plugin
  13. maven-project-info-reports-plugin
  14. maven-surefire-plugin
  15. maven-surefire-report-plugin
  16. sql-maven-plugin




Packages

The following packages are defined in the dbunit-2.5.0.jar

org.dbunit
org.dbunit.ant
org.dbunit.assertion
org.dbunit.database
org.dbunit.database.search
org.dbunit.database.statement
org.dbunit.dataset
org.dbunit.dataset.common.handlers
org.dbunit.dataset.csv
org.dbunit.dataset.datatype
org.dbunit.dataset.excel
org.dbunit.dataset.filter
org.dbunit.dataset.sqlloader
org.dbunit.dataset.stream
org.dbunit.dataset.xml
org.dbunit.ext.db2
org.dbunit.ext.h2
org.dbunit.ext.hsqldb
org.dbunit.ext.mckoi
org.dbunit.ext.mssql
org.dbunit.ext.mysql
org.dbunit.ext.netezza
org.dbunit.ext.oracle
org.dbunit.ext.postgresql
org.dbunit.operation
org.dbunit.util
org.dbunit.util.concurrent
org.dbunit.util.fileloader
org.dbunit.util.search
org.dbunit.util.xml




POM File Source

Here is the content of the POM file.

<?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 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>7</version>
  </parent>

  <groupId>org.dbunit</groupId>
  <artifactId>dbunit</artifactId>
  <version>2.5.0</version>
  <packaging>jar</packaging>
  <name>dbUnit Extension</name>
  <url>http://dbunit.sourceforge.net</url>
  <inceptionYear>2002</inceptionYear>
  <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.5</compileSource>
    <checkstyle.excludes>org/dbunit/util/concurrent/*.java</checkstyle.excludes>
    <mavenVersion>3.0.4</mavenVersion>

    <!-- Maven plugin versions -->
    <assemblyPluginVersion>2.4</assemblyPluginVersion>
    <changelogPluginVersion>2.2</changelogPluginVersion>
    <changesPluginVersion>2.10</changesPluginVersion>
    <checkstylePluginVersion>2.12.1</checkstylePluginVersion>
    <cleanPluginVersion>2.5</cleanPluginVersion>
    <coberturaPluginVersion>2.6</coberturaPluginVersion>
    <compilerPluginVersion>3.1</compilerPluginVersion>
    <deployPluginVersion>2.8.1</deployPluginVersion>
    <enforcerPluginVersion>1.3.1</enforcerPluginVersion>
    <failsafePluginVersion>2.17</failsafePluginVersion>
    <gpgPluginVersion>1.5</gpgPluginVersion>
    <installPluginVersion>2.5.1</installPluginVersion>
    <jarPluginVersion>2.4</jarPluginVersion>
    <javadocPluginVersion>2.9.1</javadocPluginVersion>
    <jdependPluginVersion>2.0-beta-2</jdependPluginVersion>
    <jxrPluginVersion>2.4</jxrPluginVersion>
    <pmdPluginVersion>3.0.1</pmdPluginVersion>
    <projectInfoReportsPluginVersion>2.7</projectInfoReportsPluginVersion>
    <releasePluginVersion>2.5</releasePluginVersion>
    <resourcesPluginVersion>2.6</resourcesPluginVersion>
    <sitePluginVersion>3.3</sitePluginVersion>
    <sqlPluginVersion>1.5</sqlPluginVersion>
    <surefirePluginVersion>2.17</surefirePluginVersion>

    <!-- Framework versions --> 
    <junitVersion>4.11</junitVersion>
    <logbackVersion>1.1.2</logbackVersion>
    <slf4jVersion>1.7.7</slf4jVersion>
    
    <!-- Other versions --> 
    <wagonSshVersion>2.6</wagonSshVersion>
  </properties>

  <prerequisites>
    <maven>${mavenVersion}</maven>
  </prerequisites>

  <scm>
    <connection>scm:git:http://git.code.sf.net/p/dbunit/code.git</connection>
    <developerConnection>scm:git:https://git.code.sf.net/p/dbunit/code.git</developerConnection>
    <url>http://sourceforge.net/p/dbunit/code.git/ci/master/tree/</url>
  </scm>
  <issueManagement>
    <system>SourceForge</system>
    <!-- old: <url>http://sourceforge.net/tracker/?group_id=47439</url> -->
    <url>http://sourceforge.net/p/dbunit/bugs/</url>
    <!-- features; how to have both? <url>http://sourceforge.net/p/dbunit/feature-requests/</url> -->
  </issueManagement>
  <ciManagement>
    <system>parabuild</system>
    <url><![CDATA[http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=30]]></url>
    <notifiers>
      <notifier>
        <type>mail</type>
        <sendOnError>true</sendOnError>
        <sendOnFailure>false</sendOnFailure>
        <sendOnSuccess>false</sendOnSuccess>
        <sendOnWarning>false</sendOnWarning>
        <configuration>
          <address>gommma@users.sourceforge.net</address>
        </configuration>
      </notifier>
    </notifiers>
  </ciManagement>

  <mailingLists>
    <mailingList>
      <name>dbUnit User List</name>
      <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</subscribe>
      <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-user</unsubscribe>
      <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-user</archive>
    </mailingList>
    <mailingList>
      <name>dbUnit Developer List</name>
      <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</subscribe>
      <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-developer</unsubscribe>
      <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-developer</archive>
    </mailingList>
    <mailingList>
      <name>dbUnit SVN Commit List</name>
      <subscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</subscribe>
      <unsubscribe>http://lists.sourceforge.net/lists/listinfo/dbunit-commit</unsubscribe>
      <archive>http://sourceforge.net/mailarchive/forum.php?forum_name=dbunit-commit</archive>
    </mailingList>
  </mailingLists>

  <!--
     - Who are the developers for the project, in order of recent activity.
    -->
  

  <contributors>
    <contributor>
      <name>Klas Axel</name>
      <roles>
        <role>HsqldbDataTypeFactory</role>
      </roles>
    </contributor>
    <contributor>
      <name>Erik Price</name>
      <roles>
        <role>DatabaseSequenceOperation</role>
      </roles>
    </contributor>
    <contributor>
      <name>Jeremy Stein</name>
      <roles>
        <role>InsertIndentityOperation</role>
      </roles>
    </contributor>
    <contributor>
      <name>Keven Kizer</name>
      <roles>
        <role>Early guinea pig</role>
      </roles>
    </contributor>
    <contributor>
      <name>Mike Bresnahan</name>
      <roles>
        <role>DbUnit evangelist</role>
      </roles>
    </contributor>
    <contributor>
      <name>Andres Almiray</name>
      <email>aalmiray@users.sourceforge.net</email>
      <roles>
        <role>IDatabaseTester creator</role>
      </roles>
    </contributor>
    <contributor>
      <name>Darryl Pierce</name>
      <email>mcpierceaim@users.sourceforge.net</email>
      <roles>
        <role>SQLServer uniqueidentifier column type</role>
      </roles>
    </contributor>
  </contributors>


  <dependencies>

    <!--
      TODO: check which dependencies could marked as optional. For
      instance, ant is optional because it's only necessary for the
      dbunit Ant tasks.
    -->

    <!-- TODO: add exclusion for dependencies that include xerces/xalan -->

    <!-- LOGGING -->
    <!-- NOTE: must list slf4j first to override other logger frameworks -->
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>${slf4jVersion}</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>jcl-over-slf4j</artifactId>
      <version>${slf4jVersion}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-classic</artifactId>
      <version>${logbackVersion}</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>hsqldb</groupId>
      <artifactId>hsqldb</artifactId>
      <version>1.8.0.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>${junitVersion}</version>
    </dependency>
    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
      <version>3.2.1</version>
    </dependency>
    <dependency>
      <groupId>ant</groupId>
      <artifactId>ant</artifactId>
      <version>1.5.4</version>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.apache.poi</groupId>
      <artifactId>poi</artifactId>
      <version>3.2-FINAL</version>
      <exclusions>
        <exclusion>
          <artifactId>log4j</artifactId>
          <groupId>log4j</groupId>
        </exclusion>
        <exclusion>
          <artifactId>commons-logging</artifactId>
          <groupId>commons-logging</groupId>
        </exclusion>
      </exclusions>
      <optional>true</optional>
    </dependency>

    <dependency>
      <groupId>org.apache.ant</groupId>
      <artifactId>ant-testutil</artifactId>
      <version>1.7.0</version>
      <optional>true</optional>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit-addons</groupId>
      <artifactId>junit-addons</artifactId>
      <version>1.4</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>mockobjects</groupId>
      <artifactId>mockobjects-core</artifactId>
      <version>0.07</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>mockmaker</groupId>
      <artifactId>mmmockobjects</artifactId>
      <version>1.12.0</version>
      <scope>test</scope>
    </dependency>
    <!-- TODO: check why follow dependency is necessary -->
    <dependency>
      <groupId>mockobjects</groupId>
      <artifactId>mockobjects-jdk1.3</artifactId>
      <version>0.07</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.h2database</groupId>
      <artifactId>h2</artifactId>
      <version>1.1.113</version>
      <!-- Note that the 1.1.113 version is the last one officially built with JDK 1.4 -->
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>gsbase</groupId>
      <artifactId>gsbase</artifactId>
      <version>2.0.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>1.4</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>xerces</groupId>
      <artifactId>xmlParserAPIs</artifactId>
      <version>2.6.2</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <build>
    <defaultGoal>install</defaultGoal>
    <pluginManagement>
      <plugins>
       <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-assembly-plugin</artifactId>
          <version>${assemblyPluginVersion}</version>
        </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>
        </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.codehaus.mojo</groupId>
          <artifactId>cobertura-maven-plugin</artifactId>
          <version>${coberturaPluginVersion}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>${compilerPluginVersion}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-deploy-plugin</artifactId>
          <version>${deployPluginVersion}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-enforcer-plugin</artifactId>
          <version>${enforcerPluginVersion}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-failsafe-plugin</artifactId>
          <version>${failsafePluginVersion}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-gpg-plugin</artifactId>
          <version>${gpgPluginVersion}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-install-plugin</artifactId>
          <version>${installPluginVersion}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jar-plugin</artifactId>
          <version>${jarPluginVersion}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>${javadocPluginVersion}</version>
        </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.apache.maven.plugins</groupId>
          <artifactId>maven-pmd-plugin</artifactId>
          <version>${pmdPluginVersion}</version>
        </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-release-plugin</artifactId>
          <version>${releasePluginVersion}</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-resources-plugin</artifactId>
          <version>${resourcesPluginVersion}</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>sql-maven-plugin</artifactId>
          <version>${sqlPluginVersion}</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>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <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>
          </systemProperties>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-failsafe-plugin</artifactId>
        <configuration>
          <encoding>UTF-8</encoding>
          <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>
          </systemProperties>
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>integration-test</goal>
              <goal>verify</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>${compileSource}</source>
          <target>${compileSource}</target>
          <compilerVersion>${compileSource}</compilerVersion>
          <debug>true</debug>
          <fork>true</fork>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <includes>
            <include>/LICENSE.txt</include>
            <include>**</include>
          </includes>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
        <configuration>
          <descriptors>
            <descriptor>assembly.xml</descriptor>
          </descriptors>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>sql-maven-plugin</artifactId>
        <configuration>
          <driver>${dbunit.profile.driverClass}</driver>
          <url>${dbunit.profile.url}</url>
          <username>${dbunit.profile.user}</username>
          <password>${dbunit.profile.password}</password>
        </configuration>
        <dependencies>
          <dependency>
            <groupId>hsqldb</groupId>
            <artifactId>hsqldb</artifactId>
            <version>1.8.0.1</version>
          </dependency>
          <dependency>
            <groupId>com.oracle</groupId>
            <artifactId>ojdbc14</artifactId>
            <version>10.2.0.4.0</version>
          </dependency>
          <dependency>
            <groupId>postgresql</groupId>
            <artifactId>postgresql</artifactId>
            <version>8.4-701.jdbc3</version>
          </dependency>
          <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>5.1.6</version>
          </dependency>
          <dependency>
            <groupId>org.apache.derby</groupId>
            <artifactId>derby</artifactId>
            <version>10.4.1.3</version>
          </dependency>
          <dependency>
            <groupId>com.h2database</groupId>
            <artifactId>h2</artifactId>
            <version>1.1.118</version>
          </dependency>
        </dependencies>
        <executions>
          <execution>
            <id>sql-ddl</id>
            <phase>pre-integration-test</phase>
            <goals>
              <goal>execute</goal>
            </goals>
            <configuration>
              <srcFiles>
                <srcFile>src/test/resources/sql/${dbunit.profile.ddl}</srcFile>
              </srcFiles>
              <onError>continue</onError>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <executions>
          <execution>
            <id>enforce-versions</id>
            <goals>
              <goal>enforce</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <rules>
            <!--
            Links to rules:
              1) http://maven.apache.org/enforcer/enforcer-rules/index.html
              2) http://mojo.codehaus.org/extra-enforcer-rules/
            -->
            <requireMavenVersion>
              <version>${mavenVersion}</version>
            </requireMavenVersion>
            <requireJavaVersion>
              <version>${compileSource}</version>
            </requireJavaVersion>
            <requirePluginVersions>
              <phases>compile</phases>
            </requirePluginVersions>
          </rules>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <reporting>
    <plugins>
      <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>
            <configuration>
              <outputName>surefire-report</outputName>
              <reportsDirectories>
                <reportsDirectory>target/surefire-reports</reportsDirectory>
              </reportsDirectories>
            </configuration>
          </reportSet>
          <reportSet>
            <id>integration-tests</id>
            <reports>
              <report>report-only</report>
            </reports>
            <configuration>
              <outputName>failsafe-report</outputName>
              <reportsDirectories>
                <reportsDirectory>target/failsafe-reports</reportsDirectory>
              </reportsDirectories>
            </configuration>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>${projectInfoReportsPluginVersion}</version>
      </plugin>
      <!--
        <plugin> <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId> </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>
        <version>${javadocPluginVersion}</version>
        <configuration>
          <quiet>true</quiet>
          <stylesheet>maven</stylesheet>
          <tags>
            <tag>
              <name>TODO</name>
              <placement>a</placement>
              <head>To do:</head>
            </tag>
          </tags>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
        <version>2.1</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://sourceforge.net/project/showfiles.php?group_id=47439</urlDownload>
          <issueLinkTemplate><![CDATA[http://sourceforge.net/support/tracker.php?aid=%ISSUE%]]></issueLinkTemplate>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
              <report>changes-report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
    </plugins>
  </reporting>

  <distributionManagement>
    <!-- distribution repos specified in parent -->
    <site>
      <id>sourceforge</id>
      <url>scp://shell.sourceforge.net/home/project-web/dbunit/htdocs</url>
    </site>
  </distributionManagement>

  <profiles>
    <profile>
      <id>official</id>
      <!-- JH_TODO: it would be better to "chain" these from the default profile.  But it appears this isn't possible with Maven. -->
      <properties>
        <dbunit.profile>hsqldb</dbunit.profile>
        <dbunit.profile.driverClass>org.hsqldb.jdbcDriver</dbunit.profile.driverClass>
        <dbunit.profile.url>jdbc:hsqldb:mem:.</dbunit.profile.url>
        <dbunit.profile.schema>PUBLIC</dbunit.profile.schema>
        <dbunit.profile.user>sa</dbunit.profile.user>
        <dbunit.profile.password />
        <dbunit.profile.unsupportedFeatures>BLOB,CLOB,SCROLLABLE_RESULTSET,INSERT_IDENTITY,TRUNCATE_TABLE,SDO_GEOMETRY</dbunit.profile.unsupportedFeatures>
        <dbunit.profile.ddl>empty.sql</dbunit.profile.ddl> <!-- DDL in HypersonicEnvironment -->
      </properties>
      <dependencies>
        <dependency>
          <groupId>javax.sql</groupId>
          <artifactId>jdbc-stdext</artifactId>
          <version>2.0</version>
          <optional>true</optional>
        </dependency>
        <dependency>
          <groupId>com.oracle</groupId>
          <artifactId>ojdbc14</artifactId>
          <version>10.2.0.4.0</version>
          <optional>true</optional>
        </dependency>
      </dependencies>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-compiler-plugin</artifactId>
              <configuration>
                <source>${compileSource}</source>
                <target>${compileSource}</target>
                <compilerVersion>${compileSource}</compilerVersion>
                <debug>true</debug>
                <fork>true</fork>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>

      <reporting>
        <plugins>
          <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-javadoc-plugin</artifactId>
            <version>${javadocPluginVersion}</version>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>cobertura-maven-plugin</artifactId>
            <version>${coberturaPluginVersion}</version>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-changes-plugin</artifactId>
            <version>${changesPluginVersion}</version>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-changelog-plugin</artifactId>
            <version>${changelogPluginVersion}</version>
          </plugin>
        </plugins>
      </reporting>
    </profile>
    <profile>
      <id>oracle-default</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <dependencies>
        <dependency>
          <groupId>com.oracle</groupId>
          <artifactId>ojdbc14</artifactId>
          <version>10.2.0.4.0</version>
          <optional>true</optional>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>hsqldb</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <properties>
        <dbunit.profile>hsqldb</dbunit.profile>
        <dbunit.profile.driverClass>org.hsqldb.jdbcDriver</dbunit.profile.driverClass>
        <dbunit.profile.url>jdbc:hsqldb:mem:.</dbunit.profile.url>
        <dbunit.profile.schema>PUBLIC</dbunit.profile.schema>
        <dbunit.profile.user>sa</dbunit.profile.user>
        <dbunit.profile.password />
        <dbunit.profile.unsupportedFeatures>BLOB,CLOB,SCROLLABLE_RESULTSET,INSERT_IDENTITY,TRUNCATE_TABLE,SDO_GEOMETRY</dbunit.profile.unsupportedFeatures>
        <dbunit.profile.ddl>empty.sql</dbunit.profile.ddl> <!-- DDL in HypersonicEnvironment -->
      </properties>
    </profile>
    <!-- "original" OracleDataTypeFactory (NOT 10g) with Oracle 10 JDBC driver for Java 1.4 -->
    <profile>
      <id>oracle-ojdbc14</id>
      <properties>
        <dbunit.profile>oracle</dbunit.profile>
        <dbunit.profile.driverClass>oracle.jdbc.OracleDriver</dbunit.profile.driverClass>
        <dbunit.profile.url>jdbc:oracle:thin:@localhost:1521:ORCL</dbunit.profile.url>
        <dbunit.profile.schema>DBUNIT</dbunit.profile.schema>
        <dbunit.profile.user>dbunit</dbunit.profile.user>
        <dbunit.profile.password>dbunit</dbunit.profile.password>
        <dbunit.profile.unsupportedFeatures>INSERT_IDENTITY,SCROLLABLE_RESULTSET</dbunit.profile.unsupportedFeatures>
        <dbunit.profile.ddl>oracle.sql</dbunit.profile.ddl>
      </properties>
      <dependencies>
        <dependency>
          <groupId>com.oracle</groupId>
          <artifactId>ojdbc14</artifactId>
          <version>10.2.0.4.0</version>
          <optional>true</optional>
        </dependency>
      </dependencies>
    </profile>
    <!-- "original" OracleDataTypeFactory (NOT 10g) with Oracle 11 JDBC driver for Java 6 -->
    <profile>
      <id>oracle-ojdbc6</id>
      <properties>
        <dbunit.profile>oracle</dbunit.profile>
        <dbunit.profile.driverClass>oracle.jdbc.OracleDriver</dbunit.profile.driverClass>
        <dbunit.profile.url>jdbc:oracle:thin:@localhost:1521:ORCL</dbunit.profile.url>
        <dbunit.profile.schema>DBUNIT</dbunit.profile.schema>
        <dbunit.profile.user>dbunit</dbunit.profile.user>
        <dbunit.profile.password>dbunit</dbunit.profile.password>
        <dbunit.profile.unsupportedFeatures>INSERT_IDENTITY,SCROLLABLE_RESULTSET</dbunit.profile.unsupportedFeatures>
        <dbunit.profile.ddl>oracle.sql</dbunit.profile.ddl>
      </properties>
      <dependencies>
        <dependency>
          <groupId>com.oracle</groupId>
          <artifactId>ojdbc6</artifactId>
          <version>11.1.0.7.0</version>
          <optional>true</optional>
        </dependency>
      </dependencies>
    </profile>
    <!-- "newer" Oracle10DataTypeFactory with Oracle 10 JDBC driver for Java 1.4 -->
    <profile>
      <id>oracle10-ojdbc14</id>
      <properties>
        <dbunit.profile>oracle10</dbunit.profile>
        <dbunit.profile.driverClass>oracle.jdbc.OracleDriver</dbunit.profile.driverClass>
        <dbunit.profile.url>jdbc:oracle:thin:@localhost:1521:ORCL</dbunit.profile.url>
        <dbunit.profile.schema>DBUNIT</dbunit.profile.schema>
        <dbunit.profile.user>dbunit</dbunit.profile.user>
        <dbunit.profile.password>dbunit</dbunit.profile.password>
        <dbunit.profile.unsupportedFeatures>INSERT_IDENTITY,SCROLLABLE_RESULTSET</dbunit.profile.unsupportedFeatures>
        <dbunit.profile.ddl>oracle.sql</dbunit.profile.ddl>
      </properties>
      <dependencies>
        <dependency>
          <groupId>com.oracle</groupId>
          <artifactId>ojdbc14</artifactId>
          <version>10.2.0.4.0</version>
          <optional>true</optional>
        </dependency>
      </dependencies>
    </profile>
    <!-- "newer" Oracle10DataTypeFactory with Oracle 11 JDBC driver for Java 6 -->
    <profile>
      <id>oracle10-ojdbc6</id>
      <properties>
        <dbunit.profile>oracle10</dbunit.profile>
        <dbunit.profile.driverClass>oracle.jdbc.OracleDriver</dbunit.profile.driverClass>
        <dbunit.profile.url>jdbc:oracle:thin:@localhost:1521:ORCL</dbunit.profile.url>
        <dbunit.profile.schema>DBUNIT</dbunit.profile.schema>
        <dbunit.profile.user>dbunit</dbunit.profile.user>
        <dbunit.profile.password>dbunit</dbunit.profile.password>
        <dbunit.profile.unsupportedFeatures>INSERT_IDENTITY,SCROLLABLE_RESULTSET</dbunit.profile.unsupportedFeatures>
        <dbunit.profile.ddl>oracle.sql</dbunit.profile.ddl>
      </properties>
      <dependencies>
        <dependency>
          <groupId>com.oracle</groupId>
          <artifactId>ojdbc6</artifactId>
          <version>11.1.0.7.0</version>
          <optional>true</optional>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>postgresql</id>
      <properties>
        <dbunit.profile>postgresql</dbunit.profile>
        <dbunit.profile.driverClass>org.postgresql.Driver</dbunit.profile.driverClass>
        <dbunit.profile.url>jdbc:postgresql://localhost/dbunit</dbunit.profile.url>
        <dbunit.profile.schema>public</dbunit.profile.schema>
        <dbunit.profile.user>dbunit</dbunit.profile.user>
        <dbunit.profile.password>dbunit</dbunit.profile.password>
        <dbunit.profile.unsupportedFeatures>INSERT_IDENTITY,CLOB,BLOB,SCROLLABLE_RESULTSET,SDO_GEOMETRY</dbunit.profile.unsupportedFeatures>
        <dbunit.profile.ddl>postgresql.sql</dbunit.profile.ddl>
      </properties>
      <dependencies>
        <dependency>
          <groupId>postgresql</groupId>
          <artifactId>postgresql</artifactId>
          <version>8.4-701.jdbc3</version>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>mysql</id>
      <properties>
        <dbunit.profile>mysql</dbunit.profile>
        <dbunit.profile.driverClass>com.mysql.jdbc.Driver</dbunit.profile.driverClass>
        <dbunit.profile.url>jdbc:mysql://localhost:3306/dbunit</dbunit.profile.url>
        <dbunit.profile.schema />
        <dbunit.profile.user>dbunit</dbunit.profile.user>
        <dbunit.profile.password>dbunit</dbunit.profile.password>
        <dbunit.profile.unsupportedFeatures>BLOB,CLOB,SCROLLABLE_RESULTSET,INSERT_IDENTITY,SDO_GEOMETRY</dbunit.profile.unsupportedFeatures>
        <dbunit.profile.ddl>mysql.sql</dbunit.profile.ddl>
      </properties>
      <dependencies>
        <dependency>
          <groupId>mysql</groupId>
          <artifactId>mysql-connector-java</artifactId>
          <version>5.1.6</version>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>mssql</id>
      <properties>
        <dbunit.profile>mssql</dbunit.profile>
        <dbunit.profile.driverClass>com.microsoft.jdbc.sqlserver.SQLServerDriver</dbunit.profile.driverClass>
        <dbunit.profile.url>jdbc:microsoft:sqlserver://localhost\\dbunit:1433;DatabaseName=dbunit;SelectMethod=cursor</dbunit.profile.url>
        <dbunit.profile.schema>dbo</dbunit.profile.schema>
        <dbunit.profile.user>dbunit</dbunit.profile.user>
        <dbunit.profile.password>dbunit</dbunit.profile.password>
        <dbunit.profile.unsupportedFeatures>BLOB,CLOB,SCROLLABLE_RESULTSET,SDO_GEOMETRY</dbunit.profile.unsupportedFeatures>
        <dbunit.profile.ddl>mssql.sql</dbunit.profile.ddl>
      </properties>
      <!-- JH_TODO: mssql dependencies -->
    </profile>
    <profile>
      <id>db2</id>
      <properties>
        <dbunit.profile>db2</dbunit.profile>
        <dbunit.profile.driverClass>TODO</dbunit.profile.driverClass>
        <dbunit.profile.url>TODO</dbunit.profile.url>
        <dbunit.profile.schema>TODO</dbunit.profile.schema>
        <dbunit.profile.user>TODO</dbunit.profile.user>
        <dbunit.profile.password>TODO</dbunit.profile.password>
        <dbunit.profile.unsupportedFeatures>TODO</dbunit.profile.unsupportedFeatures>
        <dbunit.profile.ddl>db2xml.sql</dbunit.profile.ddl>
      </properties>
      <!-- JH_TODO: db2 dependencies -->
    </profile>
    <profile>
      <id>derby</id>
      <properties>
        <dbunit.profile>derby</dbunit.profile>
        <dbunit.profile.driverClass>org.apache.derby.jdbc.EmbeddedDriver</dbunit.profile.driverClass>
        <dbunit.profile.url>jdbc:derby:target/derby_db;create=true</dbunit.profile.url>
        <dbunit.profile.schema>APP</dbunit.profile.schema>
        <dbunit.profile.user>APP</dbunit.profile.user>
        <dbunit.profile.password>APP</dbunit.profile.password>
        <dbunit.profile.unsupportedFeatures>VARBINARY,BLOB,CLOB,TRANSACTION,SCROLLABLE_RESULTSET,INSERT_IDENTITY,TRUNCATE_TABLE,SDO_GEOMETRY</dbunit.profile.unsupportedFeatures>
        <dbunit.profile.ddl>empty.sql</dbunit.profile.ddl> <!-- DDL in DerbyEnvironment -->
      </properties>
      <dependencies>
        <dependency>
          <groupId>org.apache.derby</groupId>
          <artifactId>derby</artifactId>
          <version>10.4.1.3</version>
          <scope>test</scope>
        </dependency>
      </dependencies>
    </profile>
    <profile>
      <id>h2</id>
      <properties>
        <dbunit.profile>h2</dbunit.profile>
        <dbunit.profile.driverClass>org.h2.Driver</dbunit.profile.driverClass>
        <dbunit.profile.url>jdbc:h2:target/h2/test</dbunit.profile.url>
        <dbunit.profile.schema>PUBLIC</dbunit.profile.schema>
        <dbunit.profile.user>sa</dbunit.profile.user>
        <dbunit.profile.password />
        <dbunit.profile.unsupportedFeatures>BLOB,CLOB,SCROLLABLE_RESULTSET,INSERT_IDENTITY,TRUNCATE_TABLE,SDO_GEOMETRY</dbunit.profile.unsupportedFeatures>
        <dbunit.profile.ddl>empty.sql</dbunit.profile.ddl> <!-- DDL in H2Environment -->
      </properties>
      <dependencies>
        <dependency>
           <groupId>com.h2database</groupId>
           <artifactId>h2</artifactId>
           <version>1.1.118</version>
       </dependency>
      </dependencies>
    </profile>
  </profiles>

</project>