I am very pragmatic when it comes to Maven, since not everything works as you might expect.
I'd add it to your plugin dependency directly, file a bug report, watch the bug, and when it is eventually resolved, remove the plugin dependency. Wayne On 3/19/06, Subhash Chandran <[EMAIL PROTECTED]> wrote: > Adding it to my dependency will not work. My application compile classpath > will not be available to the javancss plugin. Yes, I can add it to the > javancss maven plugin pom.xml. But if the same is done by the maintainers of > javancss maven plugin, it will benefit all. > > While writing this mail, I searched Jira for an existing issue, and it has > already been filed here: > > http://jira.codehaus.org/browse/MOJO-339 > > It is yet to be fixed. > > Regards, > Subhash. > > On 3/20/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > > > add jaxen as a dependency to your pom > > or directly to the plugin itself > > > > <dependency> > > <groupId>jaxen</groupId> > > <artifactId>jaxen</artifactId> > > <version>1.1-beta-8</version> > > <scope>compile</scope> > > </dependency> > > > > Wayne > > > > > > On 3/19/06, Subhash Chandran <[EMAIL PROTECTED]> wrote: > > > My pom.xml has: > > > > > > <plugin> > > > <groupId>org.codehaus.mojo</groupId> > > > <artifactId>javancss-maven-plugin</artifactId> > > > <version>2.0-alpha1-SNAPSHOT</version> > > > </plugin> > > > > > > I get this Exception when running this report: > > > > > > [INFO] Generate "JavaNCSS Report" report. > > > [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.selectNodes(AbstractNode.java:164) > > > at > > > org.codehaus.mojo.javancss.NcssReportGenerator.doMainPackageAnalysis( > > > NcssReportGenerator.java:129) > > > > > > -- > > > Regards, > > > Subhash Chandran S > > > > > > Cross platform OpenSource Java based file encryption software: > > > http://www.WizTools.org/project/WizCrypt/ > > > > > > > > > > > > -- > Regards, > Subhash Chandran S > > Cross platform OpenSource Java based file encryption software: > http://www.WizTools.org/project/WizCrypt/ > >