Re: Maven3 LinkageError in maven report

2012-01-05 Thread Gerhard Wipplinger
I'm already using getSink(), but I wanted to put a sink between the provided sink and multiple doxia parsers. I thought it's useful if multiple pages has to be aggregated to one page and some extra work has to be done, e.g. resolve links to anchors between different different source documents (in t

Re: Maven3 LinkageError in maven report

2012-01-05 Thread Olivier Lamy
Hello, I wonder why you create a sink ? If your mojo extends AbstractMavenReport just use getSink(). 2012/1/5 Gerhard Wipplinger : > Hi, > > I tried to create a maven report using some kind of a filter sink: > > public class DoxiaTestMojo extends AbstractMavenReport { > > ... > >  @Override >  p

Maven3 LinkageError in maven report

2012-01-05 Thread Gerhard Wipplinger
Hi, I tried to create a maven report using some kind of a filter sink: public class DoxiaTestMojo extends AbstractMavenReport { ... @Override protected void executeReport(Locale locale) throws MavenReportException { org.apache.maven.doxia.sink.Sink s = new SinkAdapter() {