It works here. You are probably using an incompatible plugin, eg try disabling the reports. If you can't get it to work, attach a small test project at http://jira.codehaus.org/browse/MPDF

HTH,
-Lukas


Stephen Cresswell wrote:
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

  • PDF Plugin Stephen Cresswell
    • Re: PDF Plugin Lukas Theussl

Reply via email to