maven-findbugs-plugin gets dependency's path in wrong way
---------------------------------------------------------

         Key: MAVEN-1618
         URL: http://jira.codehaus.org/browse/MAVEN-1618
     Project: maven
        Type: Bug
    Versions: 1.0.2    
 Environment: Maven ver. 1.0.2, maven-findbugs-plugin ver. 0.8.4
    Reporter: Krystian Nowak
 Attachments: emptyExcludeFilter.xml, plugin.jelly, project.properties

There should be lib.dependency.type instead of lib.type in plugin.jelly while 
constructing auxClasspath entries for findbugs ant task. Therefore while 
running findbugs report, following example errors appear on the screen:

"[findbugs] edu.umd.cs.findbugs.ba.DataflowAnalysisException: Repository lookup 
failure: java.lang.ClassNotFoundException: Exception while looking forclass 
net.sf.hibernate.Session: java.io.IOException: Couldn't find: 
net.sf.hibernate.Session.class"

As an attachment I sent correct plugin.jelly with additional enchancement - 
exclude filter usage as a file defined by the maven.findbugs.excludeFilter 
variable and required files (plugin.properties and 
plugin-resources/emptyExcludeFilter.xml).

-- 
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, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to