Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 575189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:54:48+00:00 2026-05-13T13:54:48+00:00

dbunit-maven-plugin 1.0-SNAPSHOT release supported expressing multiple src files under sources tag, how do you

  • 0

dbunit-maven-plugin 1.0-SNAPSHOT release supported expressing multiple src files under sources tag, how do you do the same on 1.0-beta-3 version which supports only a single src tag

             <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>dbunit-maven-plugin</artifactId>
                <version>${dbunit-maven-plugin.version}</version>

                <executions>
                    <execution>
                        <id>populate sample data</id>
                        <phase>process-test-resources</phase>
                        <goals>
                            <goal>operation</goal>
                        </goals>
                        <configuration>
                            <format>flat</format>
                            <sources>
                                <source>src/main/resources/seeddata.xml</source>
                                <source>src/test/resources/testdata.xml</source>
                            </sources>
                            <skip>${db.dataset.skip}</skip>
                        </configuration>
                    </execution>
                </executions>
           </plugin>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T13:54:49+00:00Added an answer on May 13, 2026 at 1:54 pm

    This improvement is due to MBUNIT-3 which is indeed posterior to the release of 1.0-beta-3. So if you want this feature, either use the 1.0-SNAPSHOT or apply the change in r10226 yourself on the 1.0-beta-3 branch (get the patch for the diffs, apply it and compile your version of 1.0-beta3-patched).

    But to be honest, I don’t really get why you don’t use 1.0-SNAPSHOT. If using a SNAPSHOT is a problem, just build a version with a fixed version number.

    Update: Surprisingly, it appears that the SNAPSHOT version of the dbunit-maven-plugin is not published in the codehaus snapshot repository. So, you’ll have to checkout the sources and build it yourself to use it. To do so, run the following commands:

    svn checkout http://svn.codehaus.org/mojo/trunk/mojo/dbunit-maven-plugin/ dbunit-maven-plugin
    cd dbunit-maven-plugin
    mvn install
    

    It is really strange that the plugin is not available in the snapshot repository, I’m 100% sure it used to be.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've seen some people use the maven-sql-plugin to do this. But it seems like
I'm getting a NullPointerException from Maven Surefire plugin. It occurs only on a test
I am having a strange DB2 issue when I run DBUnit tests. My DBUnit
I wrote a simple tool to generate a DBUnit XML dataset using queries that
I just realized that DBUnit doesn't create tables by itself (see How do I
I use DbUnit for unit-testing of my DAO objects. It works great so far.
I am using DbUnit together with Unitils, which works great most of the time.
I've used DbUnit but after playing about with the Play Framework recently I've found
I am trying to use DBUnit with plain JDBC and HSQLDB, and can't quite
I have a big multi-module Maven project with thousands of tests. Each test loads

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.