[ http://jira.codehaus.org/browse/MOJO-601?page=all ]

Dan Tran closed MOJO-601.
-------------------------

      Assignee: Dan Tran
    Resolution: Fixed

correct handling is to declare sourceData as File type to that ${basedir} is 
automatically injected.  Fixed

> DbUnit plugin fails to resolve data files when run from top-level directory
> ---------------------------------------------------------------------------
>
>                 Key: MOJO-601
>                 URL: http://jira.codehaus.org/browse/MOJO-601
>             Project: Mojo
>          Issue Type: Bug
>          Components: dbunit
>            Reporter: Matt Raible
>         Assigned To: Dan Tran
>
> If you're using a single-module project with Maven 2, you can specify the 
> sourceData property as follows:
> <sourceData>src/test/resources/sample-data.xml</sourceData>
> However, if you have a multi-module project, it seems you need to do:
> <sourceData>${basedir}src/test/resources/sample-data.xml</sourceData>
> Normally, this isn't an issue.  However, when you create an archetype with 
> the ${basedir} property, it gets translated to the current directory when 
> running "mvn archetype:create".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to