I see that Garvin LeClaire found the problem...was the snapshot updated ?

When I use findbugs-maven-plugin-1.0-20061206.002303-8.jar I get:
The following classes needed for analysis were missing:
 javax.portlet.GenericPortlet
 javax.portlet.PortletRequest
 javax.portlet.Portlet
 javax.portlet.PortletResponse
 javax.portlet.PortletException

even though I have defined:
  <dependency>
     <groupId>javax.portlet</groupId>
     <artifactId>portlet-api</artifactId>
     <version>1.0</version>
     <scope>provided</scope><!-- Prevents addition to war file -->
   </dependency>

But when I try the latest
findbugs-maven-plugin-1.1-20070218.155031-1.jar I get a stack trace
that starts with:

java.lang.Error: Unresolved compilation problems:
       The import org.apache cannot be resolved
       The import org.apache cannot be resolved
       The import org.apache cannot be resolved
       The import org.apache cannot be resolved
       ...
       ...
       ...
       The method getProject() is undefined for the type FindBugsMojo
       FindBugs cannot be resolved to a type

at org.codehaus.mojo.findbugs.FindBugsMojo.<init>(FindBugsMojo.java:35)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        ...
        ...

-Steve More

I have located the problem.  It looks to be in a Maven call the Findbugs
plugin is using.
--
Regards,
Garvin LeClaire

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to