[ http://jira.codehaus.org/browse/MOJO-601?page=comments#action_83328 ]
Matt Raible commented on MOJO-601:
----------------------------------
Of course, you can escape ${basedir} using \${basedir}, but this seems like it
shouldn't be necessary.
> 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
> Reporter: Matt Raible
>
> 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