Problems resolving pluginList
-----------------------------

                 Key: MFINDBUGS-134
                 URL: http://jira.codehaus.org/browse/MFINDBUGS-134
             Project: Maven 2.x FindBugs Plugin
          Issue Type: Bug
    Affects Versions: 2.3.1
         Environment: Ubuntu 9.10, Intel i5, JDK 1.5, Maven 2.2
            Reporter: Krzysztof Kalisiak


I wanted to use my own detectors so as suggested in 
http://mojo.codehaus.org/findbugs-maven-plugin/usage.html 
findbugs maven plugin was configured with use of pluginList property

<pluginList>myDetectors.jar, yourDetedtors.jar</pluginList>

However findbugs uses File.pathSeparator as delimiter which is colon
http://findbugs.googlecode.com/svn/branches/1.3.9/findbugs/src/java/edu/umd/cs/findbugs/FindBugsCommandLine.java
 - line 136 
In that case findbugs have problem reading these plugins and detectors cannot 
be loaded.

When colon is used instead of comma in finbugs-maven-plugin configuration i.e. 
<pluginList>detectors1.jar: detectors2jar</pluginList>
then maven-findbugs-plugin tries to resolve a dependency described by single 
value of pluginList property and throws error like this 
ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An error has occurred in FindBugs Report report generation.

Embedded error: Could not find resource 'detectors1.jar: detectors2jar'. 



-- 
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


Reply via email to