Dear Maven users,

I recently tried adding the findbugs mojo to our build. It seems fairly happy
except it is failing to find a lot of dependency classes. My configuration in
the top level pom looks like:

<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>findbugs-maven-plugin</artifactId>
  <version>1.1.1</version>
  <configuration>
    <xmlOutput>true</xmlOutput>
    <xmlOutputDirectory>.</xmlOutputDirectory>
    <threshold>Normal</threshold>
    <effort>Max</effort>
    <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
    <includeFilterFile>findbugs-include.xml</includeFilterFile>
    <onlyAnalyze>com.ubs.*</onlyAnalyze>
    <relaxed>false</relaxed>
    <debug>true</debug>
  </configuration>
</plugin>

...and the errors reported look like:

[INFO] There are Errors
[INFO] Printing Errors
[INFO] Printing Missing classes
The following classes needed for analysis were missing:
  org.apache.commons.lang.exception.NestableException
  org.apache.log4j.Logger
  javax.jms.ExceptionListener
  javax.jms.JMSException
  javax.jms.ConnectionFactory
  javax.jms.Destination
  javax.jms.Connection
  ...


I grepped through the archives and have seen this crop up once or twice before
but no resolutions were posted. Can you suggest any advice?

Regards,

Matt

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.
        
E-mails are not encrypted and cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses.  The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission.  
If verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities 
or related financial instruments.

UBS Limited is a company registered in England & Wales under company
number 2035362, whose registered office is at 1 Finsbury Avenue,
London, EC2M 2PP, United Kingdom.

UBS AG (London Branch) is registered as a branch of a foreign company
under number BR004507, whose registered office is at
1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

UBS Clearing and Execution Services Limited is a company registered
in England & Wales under company number 03123037, whose registered
office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to