You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andrew Geery <an...@gmail.com> on 2011/01/21 18:10:07 UTC

pdf plugin broken in maven3?

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: pdf plugin broken in maven3?

Posted by Andrew Geery <an...@gmail.com>.
Thanks for the link; I knew it had to be something like that.

Anyway, the new plugin did work.

Thanks
Andrew

On Mon, Jan 24, 2011 at 3:51 PM, Lukas Theussl <lt...@apache.org> wrote:
>
> http://maven.apache.org/guides/development/guide-testing-development-plugins.html
>
> HTH,
> -Lukas
>
>
> Andrew Geery wrote:
>>
>> I don't see 1.2-SNAPSHOT in the main repository -- what repository
>> should I be pointing at?
>>
>> Thanks
>> Andrew
>>
>> On Fri, Jan 21, 2011 at 2:53 PM, Lukas Theussl<lt...@apache.org>
>>  wrote:
>>>
>>> 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: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: pdf plugin broken in maven3?

Posted by Lukas Theussl <lt...@apache.org>.
http://maven.apache.org/guides/development/guide-testing-development-plugins.html

HTH,
-Lukas


Andrew Geery wrote:
> I don't see 1.2-SNAPSHOT in the main repository -- what repository
> should I be pointing at?
>
> Thanks
> Andrew
>
> On Fri, Jan 21, 2011 at 2:53 PM, Lukas Theussl<lt...@apache.org>  wrote:
>>
>> 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: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: pdf plugin broken in maven3?

Posted by Olivier Lamy <ol...@apache.org>.
Hello,
Use this one : https://repository.apache.org/content/groups/snapshots-group/

2011/1/24 Andrew Geery <an...@gmail.com>:
> I don't see 1.2-SNAPSHOT in the main repository -- what repository
> should I be pointing at?
>
> Thanks
> Andrew
>
> On Fri, Jan 21, 2011 at 2:53 PM, Lukas Theussl <lt...@apache.org> wrote:
>>
>> 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: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>



-- 
Olivier Lamy
http://twitter.com/olamy
http://www.linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: pdf plugin broken in maven3?

Posted by Andrew Geery <an...@gmail.com>.
I don't see 1.2-SNAPSHOT in the main repository -- what repository
should I be pointing at?

Thanks
Andrew

On Fri, Jan 21, 2011 at 2:53 PM, Lukas Theussl <lt...@apache.org> wrote:
>
> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: pdf plugin broken in maven3?

Posted by Lukas Theussl <lt...@apache.org>.
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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org