On 2/23/07, Garvin LeClaire <[EMAIL PROTECTED]> wrote:
There has not been any 1.1-SNAPSHOT version published to the repository. I take it you checked out the latest code from SVN and did a local install. If this is true you may need to clean your local repository.
I see files dated 2/18/2007 in the following url: http://snapshots.repository.codehaus.org/org/codehaus/mojo/findbugs-maven-plugin/1.1-SNAPSHOT/ -Steve
On 2/21/07, Stephen More <[EMAIL PROTECTED]> wrote: > > 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 > >
--------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
