Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
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".
Of course, you can escape $
{basedir} using \${basedir}, but this seems like it shouldn't be necessary.