[
http://jira.codehaus.org/browse/MFINDBUGS-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=233865#action_233865
]
Olivier Lamy commented on MFINDBUGS-119:
----------------------------------------
I have some issues with moving its to invoker plugin.
I don't understand this one
[http://svn.codehaus.org/mojo/trunk/mojo/findbugs-maven-plugin/src/it/basic-1/validate.groovy].
If I look in the code FindBugsMojo.groovy.
{noformat}
boolean canGenerateReport() {
def canGenerate = false
log.debug("Inside canGenerateReport..... skip " + skip + ",
classFilesDirectory.exists() " + classFilesDirectory.exists());
if ( !skip && classFilesDirectory.exists() ) {
classFilesDirectory.eachFileRecurse {
if ( it.name.contains('.class') )
canGenerate = true
}
}
{noformat}
So it's normal to not having reports because the it doesn't have any sources.
I don't understand this assert :
{noformat}
assert new File(basedir, 'target/site/findbugs.html').exists()
{noformat}
And it's similar for some others
{noformat}
[ERROR] The following builds failed:
[ERROR] * basic-1\pom.xml
[ERROR] * basic-2\pom.xml
[ERROR] * basic-3\pom.xml
[ERROR] * check\pom.xml
[ERROR] * check-continue\pom.xml
[ERROR] * check-multi\pom.xml
[ERROR] * check-multi-continue\pom.xml
[ERROR] * check-timeout\pom.xml
[ERROR] * effort-max\pom.xml
[ERROR] * effort-min\pom.xml
[ERROR] * encoding-utf8\pom.xml
[ERROR] * excludeFile\pom.xml
[ERROR] * experimental\pom.xml
[ERROR] * includeFile\pom.xml
[ERROR] * multi\pom.xml
[ERROR] * omitVisitors\pom.xml
[ERROR] * onlyAnalyze\pom.xml
[ERROR] * pluginList\pom.xml
[ERROR] * relaxed\pom.xml
[ERROR] * site-default\pom.xml
[ERROR] * site-french\pom.xml
[ERROR] * site-spanish\pom.xml
[ERROR] * test-1\pom.xml
[ERROR] * threshold-experimental\pom.xml
[ERROR] * threshold-high\pom.xml
[ERROR] * threshold-low\pom.xml
[ERROR] * visitors\pom.xml
{noformat}
Sure I can commit my changes. But the build will failed due to this.
As I'm newbie with plugin : WDYT ?
> Update to GMaven 1.3
> --------------------
>
> Key: MFINDBUGS-119
> URL: http://jira.codehaus.org/browse/MFINDBUGS-119
> Project: Maven 2.x FindBugs Plugin
> Issue Type: Improvement
> Affects Versions: 2.3.2
> Reporter: Garvin LeClaire
> Assignee: Garvin LeClaire
> Fix For: 2.3.2
>
>
> This is a prerequisite to functioning with Maven-3.
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email