Can I just add it to the dependencies section of the pom, or is there a way to add it to specific dependencies of this plugin?
Regards, Rik 2006/3/14, Wayne Fay <[EMAIL PROTECTED]>: > > Root cause: > > java.lang.NoClassDefFoundError: org/jaxen/JaxenException > > Its trying to build and use an XPath and it can't find the org.jaxen > library in your classpath. Add it to your dependencies, at least for > this report. > > Wayne > > > On 3/14/06, Rik Bosman <[EMAIL PROTECTED]> wrote: > > Hi to All, > > > > Adding the following snippet to the reporting section of my pom results > in a > > stacktrace: > > Configuring the treshold specifically also fails. > > Maven 2.0.2 > > > > Any suggestions? > > > > Rik > > > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>findbugs-maven-plugin</artifactId> > > <version>1.0-SNAPSHOT</version> > > </plugin> > > > > [INFO] Generate "Maven FindBugs Report" report. > > [INFO] No threshold provided, using default threshold. > > Jaws uses plugin: \C:\Documents and > > Settings\BosmanGH\.m2\repository\findbugs\coreplugin\0.9.3\coreplugin- > > 0.9.3.jar > > [INFO] > > > ---------------------------------------------------------------------------- > > [ERROR] FATAL ERROR > > [INFO] > > > ---------------------------------------------------------------------------- > > [INFO] org/jaxen/JaxenException > > [INFO] > > > ---------------------------------------------------------------------------- > > [INFO] Trace > > java.lang.NoClassDefFoundError: org/jaxen/JaxenException > > at org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230) > > at org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207) > > at org.dom4j.tree.AbstractNode.valueOf(AbstractNode.java:189) > > at edu.umd.cs.findbugs.PluginLoader.init(PluginLoader.java:125) > > at edu.umd.cs.findbugs.PluginLoader.<init>(PluginLoader.java:88) > > at edu.umd.cs.findbugs.DetectorFactoryCollection.loadPlugins( > > DetectorFactoryCollection.java:188) > > at edu.umd.cs.findbugs.DetectorFactoryCollection.<init>( > > DetectorFactoryCollection.java:52) > > at edu.umd.cs.findbugs.DetectorFactoryCollection.instance( > > DetectorFactoryCollection.java:73) > > at edu.umd.cs.findbugs.config.UserPreferences.enableAllDetectors( > > UserPreferences.java:314) > > at org.codehaus.mojo.findbugs.FindBugsMojo.initialiseFindBugs( > > FindBugsMojo.java:312) > > at org.codehaus.mojo.findbugs.FindBugsMojo.executeReport( > FindBugsMojo.java > > :254) > > at org.apache.maven.reporting.AbstractMavenReport.generate( > > AbstractMavenReport.java:98) > > at org.apache.maven.plugins.site.SiteMojo.generateReportsPages( > > SiteMojo.java:1055) > > at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:397) > > at org.apache.maven.plugin.DefaultPluginManager.executeMojo( > > DefaultPluginManager.java:415) > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( > > DefaultLifecycleExecutor.java:531) > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle > > (DefaultLifecycleExecutor.java:472) > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( > > DefaultLifecycleExecutor.java:451) > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures > > (DefaultLifecycleExecutor.java:303) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( > > DefaultLifecycleExecutor.java:270) > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( > > DefaultLifecycleExecutor.java:139) > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke( > > NativeMethodAccessorImpl.java:39) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > > DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > > at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java > :430) > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > [INFO] > > > -------------------------------------------------------------------------- > > > > >
