You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2013/01/01 16:03:13 UTC
[jira] (MPIR-264) JDK Rev not determined when Maven 2 is building
the site
Michael Osipov created MPIR-264:
-----------------------------------
Summary: JDK Rev not determined when Maven 2 is building the site
Key: MPIR-264
URL: https://jira.codehaus.org/browse/MPIR-264
Project: Maven 2.x Project Info Reports Plugin
Issue Type: Bug
Components: summary
Affects Versions: 2.6
Environment: Maven 2.2.1, Maven 3.0.3, Site Plugin 3.2
Reporter: Michael Osipov
Attachments: patch-jdkrev.patch
When the site is built with Maven 2, JDK Rev remains empty, when Maven 3 builds the site, everything is fine.
I have configured source and target to 1.6 explicitly in my parent pom.
After a code review, I have discovered that how the compiler plugin config is retrieved it does not work for Maven 2 but for Maven 3 only. Luckily the JavaDoc plugin requires the same information and has working code (AbstractJavadocMojo#getPluginParameter). I have adapted the source code and patched the MPIR plugin. Now I am able to display JDK Rev with both Maven versions.
Patch has been applied against tags/2.6
This is somewhat related to MJAVADOC-310 and MPIR-263
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MPIR-264) JDK Rev not determined when Maven 2 is building
the site
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MPIR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MPIR-264.
-----------------------------
Resolution: Fixed
applied http://svn.apache.org/r1438575
Thanks !
> JDK Rev not determined when Maven 2 is building the site
> --------------------------------------------------------
>
> Key: MPIR-264
> URL: https://jira.codehaus.org/browse/MPIR-264
> Project: Maven 2.x Project Info Reports Plugin
> Issue Type: Bug
> Components: summary
> Affects Versions: 2.6
> Environment: Maven 2.2.1, Maven 3.0.3, Site Plugin 3.2
> Reporter: Michael Osipov
> Assignee: Olivier Lamy
> Fix For: 2.7
>
> Attachments: patch-jdkrev.patch
>
>
> When the site is built with Maven 2, JDK Rev remains empty, when Maven 3 builds the site, everything is fine.
> I have configured source and target to 1.6 explicitly in my parent pom.
> After a code review, I have discovered that how the compiler plugin config is retrieved it does not work for Maven 2 but for Maven 3 only. Luckily the JavaDoc plugin requires the same information and has working code (AbstractJavadocMojo#getPluginParameter). I have adapted the source code and patched the MPIR plugin. Now I am able to display JDK Rev with both Maven versions.
> Patch has been applied against tags/2.6
> This is somewhat related to MJAVADOC-310 and MPIR-263
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MPIR-264) JDK Rev not determined when Maven 2 is building
the site
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MPIR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy updated MPIR-264:
------------------------------
Fix Version/s: 2.7
Assignee: Olivier Lamy
> JDK Rev not determined when Maven 2 is building the site
> --------------------------------------------------------
>
> Key: MPIR-264
> URL: https://jira.codehaus.org/browse/MPIR-264
> Project: Maven 2.x Project Info Reports Plugin
> Issue Type: Bug
> Components: summary
> Affects Versions: 2.6
> Environment: Maven 2.2.1, Maven 3.0.3, Site Plugin 3.2
> Reporter: Michael Osipov
> Assignee: Olivier Lamy
> Fix For: 2.7
>
> Attachments: patch-jdkrev.patch
>
>
> When the site is built with Maven 2, JDK Rev remains empty, when Maven 3 builds the site, everything is fine.
> I have configured source and target to 1.6 explicitly in my parent pom.
> After a code review, I have discovered that how the compiler plugin config is retrieved it does not work for Maven 2 but for Maven 3 only. Luckily the JavaDoc plugin requires the same information and has working code (AbstractJavadocMojo#getPluginParameter). I have adapted the source code and patched the MPIR plugin. Now I am able to display JDK Rev with both Maven versions.
> Patch has been applied against tags/2.6
> This is somewhat related to MJAVADOC-310 and MPIR-263
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira