[prev in list] [next in list] [prev in thread] [next in thread]
List: maven-dev
Subject: [jira] Commented: (MPPMD-14) PMD should run on unit tests
From: "Wim Deblauwe (JIRA)" <jira () codehaus ! org>
Date: 2005-03-30 12:31:45
Message-ID: 33164981.1112185905582.JavaMail.jira () beaver ! codehaus ! org
[Download RAW message or body]
[ http://jira.codehaus.org/browse/MPPMD-14?page=comments#action_31436 ]
Wim Deblauwe commented on MPPMD-14:
-----------------------------------
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}"/>
<j:if test="${addtestdir == 'true'}">
<ant:echo>Including unit test directory: \
${pom.build.unitTestSourceDirectory}</ant:echo> <fileset \
dir="${pom.build.unitTestSourceDirectory}"/> </j:if>
> PMD should run on unit tests
> ----------------------------
>
> Key: MPPMD-14
> URL: http://jira.codehaus.org/browse/MPPMD-14
> Project: maven-pmd-plugin
> Type: Improvement
> Reporter: Kenneth Leider
> Attachments: plugin.jelly.patch, pmd-tests.zip
>
>
> Right now the only files under "pom.build.sourceDirectory" are checked. It would \
> be nice is source under "pom.build.unitTestSourceDirectory" could be checked as \
> well.
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic