You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Massol (JIRA)" <ji...@codehaus.org> on 2006/07/10 21:43:21 UTC
[jira] Created: (MCLOVER-44) Do not run quality check plugins on
clovered sources as they'll generate lots of errors
Do not run quality check plugins on clovered sources as they'll generate lots of errors
---------------------------------------------------------------------------------------
Key: MCLOVER-44
URL: http://jira.codehaus.org/browse/MCLOVER-44
Project: Maven 2.x Clover Plugin
Type: Bug
Versions: 2.2
Reporter: Vincent Massol
Assigned to: Vincent Massol
Priority: Critical
For example, if you have checkstyle:check configured in your project, running clover instrumentation will lead to the clover plugin analyzing the clovered sources (clover modifies sources to add clover statements) thus generating tons of violations even though your code is correct...
The same will happen for any *:check goal (PMD, findbugs, etc).
Somehow we need to find a way not to run those plugins when the clover forked lifecycle executes...
<private note>Mike, I think this is what you were trying to tell me and I was not understanding... Now I've been hit by it too... :-)</private note>
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MCLOVER-44) Do not run quality check plugins on
clovered sources as they'll generate lots of errors
Posted by "Vincent Massol (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCLOVER-44?page=comments#action_77382 ]
Vincent Massol commented on MCLOVER-44:
---------------------------------------
Just an update to say that I still haven't a solution for fixing this... :-(
I've tried several times to talk to the core Maven dev team but the best answer I got is that it'll be fixed sometime in the far future...
Any suggestion would be most welcome
Thanks
-Vincent
> Do not run quality check plugins on clovered sources as they'll generate lots of errors
> ---------------------------------------------------------------------------------------
>
> Key: MCLOVER-44
> URL: http://jira.codehaus.org/browse/MCLOVER-44
> Project: Maven 2.x Clover Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Vincent Massol
> Assigned To: Vincent Massol
> Priority: Critical
>
> For example, if you have checkstyle:check configured in your project, running clover instrumentation will lead to the clover plugin analyzing the clovered sources (clover modifies sources to add clover statements) thus generating tons of violations even though your code is correct...
> The same will happen for any *:check goal (PMD, findbugs, etc).
> Somehow we need to find a way not to run those plugins when the clover forked lifecycle executes...
> <private note>Mike, I think this is what you were trying to tell me and I was not understanding... Now I've been hit by it too... :-)</private note>
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MCLOVER-44) Do not run quality check plugins on
clovered sources as they'll generate lots of errors
Posted by "John Allen (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCLOVER-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101937 ]
John Allen commented on MCLOVER-44:
-----------------------------------
This is a nasty problem isnt it and one we're suffering from too. can you maybe change the classifier or package type or something when you're running the clover stuff and the other plugins can key off that (ie ignore if not equal to type jar?). this all smells of an endemic problem re customising lifecycles, maybe you can use completely different phase names and default plugin mappings? I expect im talking rubbish but you know what i mean:)
> Do not run quality check plugins on clovered sources as they'll generate lots of errors
> ---------------------------------------------------------------------------------------
>
> Key: MCLOVER-44
> URL: http://jira.codehaus.org/browse/MCLOVER-44
> Project: Maven 2.x Clover Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Vincent Massol
> Assignee: Vincent Massol
> Priority: Critical
>
> For example, if you have checkstyle:check configured in your project, running clover instrumentation will lead to the clover plugin analyzing the clovered sources (clover modifies sources to add clover statements) thus generating tons of violations even though your code is correct...
> The same will happen for any *:check goal (PMD, findbugs, etc).
> Somehow we need to find a way not to run those plugins when the clover forked lifecycle executes...
> <private note>Mike, I think this is what you were trying to tell me and I was not understanding... Now I've been hit by it too... :-)</private note>
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MCLOVER-44) Do not run quality check plugins on
clovered sources as they'll generate lots of errors
Posted by "Mike Perham (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCLOVER-44?page=comments#action_69449 ]
Mike Perham commented on MCLOVER-44:
------------------------------------
Hahaha. Game over, you lose.
Yep, that's what I meant. In our case it was CPD detecting a massive amount of cut/paste (due to the clover code being duplicated in every class).
> Do not run quality check plugins on clovered sources as they'll generate lots of errors
> ---------------------------------------------------------------------------------------
>
> Key: MCLOVER-44
> URL: http://jira.codehaus.org/browse/MCLOVER-44
> Project: Maven 2.x Clover Plugin
> Type: Bug
> Versions: 2.2
> Reporter: Vincent Massol
> Assignee: Vincent Massol
> Priority: Critical
>
>
> For example, if you have checkstyle:check configured in your project, running clover instrumentation will lead to the clover plugin analyzing the clovered sources (clover modifies sources to add clover statements) thus generating tons of violations even though your code is correct...
> The same will happen for any *:check goal (PMD, findbugs, etc).
> Somehow we need to find a way not to run those plugins when the clover forked lifecycle executes...
> <private note>Mike, I think this is what you were trying to tell me and I was not understanding... Now I've been hit by it too... :-)</private note>
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira