I haven't actually tried with maven 3 but as I understand from Olivier's comments at MPDF-41, it should work apart from the reports inclusion. I have just re-deployed the current 1.2-SNAPSHOT, if you can test it, I will attempt a release next week (I was planning to release it during the Xmas holydays but Santa Claus brought me another toy...)

Thanks,
-Lukas


Andrew Geery wrote:
Is the PDF plugin expected to work in Maven3?  I see this bug report
[http://jira.codehaus.org/browse/MPDF-41], but it doesn't look like
there has been a new release [or even that the issue has been
resolved].  Does anyone know the timing for a new release?

Thanks
Andrew

# mvn -v
Apache Maven 3.0.2 (r1056850; 2011-01-08 19:58:10-0500)
Java version: 1.6.0_20, vendor: Sun Microsystems Inc.
Java home: /usr/java/jdk1.6.0_20/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.9-42.elsmp", arch: "i386", family: "unix"

# mvn pdf:pdf
...
[INFO] --- maven-pdf-plugin:1.1:pdf (default-cli) @ test ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.750s
[INFO] Finished at: Fri Jan 21 11:58:52 EST 2011
[INFO] Final Memory: 11M/110M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-pdf-plugin:1.1:pdf (default-cli) on
project test: Execution default-cli of goal
org.apache.maven.plugins:maven-pdf-plugin:1.1:pdf failed: An API
incompatibility was encountered while executing
org.apache.maven.plugins:maven-pdf-plugin:1.1:pdf:
java.lang.NoSuchMethodError:
org.apache.maven.plugin.PluginManager.verifyReportPlugin(Lorg/apache/maven/model/ReportPlugin;Lorg/apache/maven/project/MavenProject;Lorg/apache/maven/execution/MavenSession;)Lorg/apache/maven/plugin/descriptor/PluginDescriptor;

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


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

Reply via email to