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 2014/11/01 18:28:10 UTC

[jira] (MPIR-263) JDK Rev not correctly determined if compile source is an interpolated property

    [ https://jira.codehaus.org/browse/MPIR-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=355386#comment-355386 ] 

Michael Osipov commented on MPIR-263:
-------------------------------------

If no one is opposed, I would use {{maven.compiler.target}} instead of querying the compiler plugin because this does not always work due to the statically generated Maven model. Target cannot be reliably read from compiler plugin.

> JDK Rev not correctly determined if compile source is an interpolated property
> ------------------------------------------------------------------------------
>
>                 Key: MPIR-263
>                 URL: https://jira.codehaus.org/browse/MPIR-263
>             Project: Maven Project Info Reports Plugin
>          Issue Type: Bug
>          Components: summary
>    Affects Versions: 2.6
>         Environment: Maven 2.2.1 and 3.0.3
>            Reporter: Michael Osipov
>
> If you define {{maven.compiler.source}} in the {{<properties>}} section or per command line, that value is not taken into account in report generation. The source and target version is retrieved from the static model.
> I have filed a similar issue with the JavaDoc Pluing MJAVADOC-310.
> If someone could use an interpolated model that would solve the issue. At least this should be in the FAQ list.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)