Has anyone got the PDF plugin working with Maven 2.2.1?

            <plugin>

                <groupId>org.apache.maven.plugins</groupId>

                <artifactId>maven-site-plugin</artifactId>

                <version>2.2</version>

            </plugin>

           <plugin>

                <groupId>org.apache.maven.plugins</groupId>

                <artifactId>maven-pdf-plugin</artifactId>

                <version>1.1</version>

                <executions>

                    <execution>

                        <id>pdf</id>

                        <phase>site</phase>

                        <goals>

                            <goal>pdf</goal>

                        </goals>

                        <configuration>

                            <outputDirectory>
${project.reporting.outputDirectory}</outputDirectory>

                        </configuration>

                    </execution>

                </executions>

            </plugin>

Results in

Caused by: java.lang.NoSuchMethodException:
org.apache.maven.doxia.sink.Sink.toString()
at java.lang.Class.getMethod(Class.java:1605)
at
org.apache.maven.plugins.pdf.PdfMojo$SinkDelegate.invoke(PdfMojo.java:1935)

Cheers,

S

Reply via email to