Hi,
I'm trying to change the resources directory for tests and so I
created the following build section in my POM:
<build>
<sourceDirectory>.</sourceDirectory>
<testSourceDirectory>.</testSourceDirectory>
<resources>
<resource>
<directory>resources</directory>
</resource>
</resources>
<testResources>
<resource>
<directory>resources</directory>
</resource>
</testResources>
</build>
As you can see the testResources section is identical to the
resources section except for the name. However when I
run m2 install I get the following error:
[INFO] Reason: Failed to parse model from file '/Users/dev/projects/
source-tree/pom.xml'.
Error: 'TEXT must be immediately followed by END_TAG and not
START_TAG (position: START_TAG seen ...<resource>\n
<directory>... @18:20) '
This error goes away if I delete the testResources section. As far as
I can tell I'm using the syntax specified on the plugin descriptor page.
Thanks
- Ashley
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]