<dependency>
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<version>${dbunitVersion}</version>
<scope>test</scope>
</dependency>
Of course, set the correct version - either set a property as in the example or edit it directly.
dbUnit releases are in Maven Central Releases.
dbUnit snapshots are in Maven Central Snapshots. Note that Central purges snapshots after 90 days.
To use it, define the repository:
<repository>
<id>central-snapshots</id>
<name>Central Snapshots</name>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
Note: it is a better practice to add the repo to your artifact manager, such as Nexus, or define in settings.xml, rather than add the repo to a POM.
Official Maven documentation on repositories in settings.xml: https://maven.apache.org/settings.html#Repositories
Stack Overflow answer showing the Sonatype OSS Snapshot repo definition in settings.xml: http://stackoverflow.com/questions/7715321/how-to-download-snapshot-version-from-maven-snapshot-repository#7717234