Affects Version/s: 1.6, 1.7
Fix Version/s: 1.7
Number of attachments :
It is possible to specify a directory
into which maven copies the specified
test resources. According to the schema
and the current implementation, it is
absolutly legal to have constructs like
the following in the project.xml:
<!-- Unit test classes -->
<!-- unit test resources -->
Such a block will map TESTDATA-1/** to target/test-classes/DIRECTORY-1
and TESTDATA-2/** to target/test-classes/DIRECTORY-2.
The plugin does assume that all test resources should be copied to
target/test-classes (or whatever directory $
Such an assumption is incorrect.
The problem applies to a number of generated ant targets, for
example to compile, to compile-tests, to internal-test...