|
This CVS patch will add a fileset including the tests (pom.build.unitTestSourceDirectory), only if the properties points to a valid directory. Regards,
Sebastian Esponda made changes - 15/Oct/04 04:52 PM
We needed PMD to analyze our tests sources, so we did some changes: Plugin.jelly: If ${pom.build.unitTestSourceDirectory} points to a valid directory, a second fileset is included in pmd ant task. In the zip file I’m including: New plugin.jelly ... just in case you find it useful (hope so) Regards,
Sebastian Esponda made changes - 19/Oct/04 12:58 PM
Got the same problem, hopefully this makes it into the next release. Maybe we should have a property called 'maven.pmd.includetestdir' to tweak this behaviour. You need something like this to do it: <j:set var="addtestdir" value="${maven.pmd.includetestdir}"/> Fixed, but in a different way. See property maven.pmd.check.tests
Carlos Sanchez made changes - 04/Aug/05 04:04 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Right!...It would be nice. I've temporary edited plugin.jelly and duplicated the fileset section with:
<fileset dir="${pom.build.unitTestSourceDirectory}" ...
...
Regards!