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/02/01 09:58:16 UTC

[jira] (MPH-90) help:effective-pom does not show full effective-pom

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

Michael Osipov commented on MPH-90:
-----------------------------------

I was referring to the JavaDoc of this class: http://maven.apache.org/ref/2.0.11/maven-project/apidocs/org/apache/maven/project/MavenProject.html

I would add: Please note that configuration set through expressions are not reflected in the configuration section and only if -X is called.

Something link. Folks should know that if they set maven.compiler.target = xxx or anything expression-based it won't be written out ot the effective pom.
                
> help:effective-pom does not show full effective-pom
> ---------------------------------------------------
>
>                 Key: MPH-90
>                 URL: https://jira.codehaus.org/browse/MPH-90
>             Project: Maven 2.x Help Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>         Environment: Maven 2.2.1 and Maven 3.0.3
>            Reporter: Michael Osipov
>            Assignee: Robert Scholte
>         Attachments: compiler-debug.png, effective-pom.log, pom.xml, target-option.png
>
>
> When I define something like this in my POM:
> {code:xml}
> <properties>
>   <maven.compiler.source>1.6</maven.compiler.source>
>   <maven.compiler.target>1.6</maven.compiler.target>
> </properties>
> {code}
> the compiler plugin picks this up but this settings is not reflected in the {{Model}} and not written out as part of the effective POM.
> Either this is fixed within the system or the docs of this plugin need to mention this clearly.
> This is related to MJAVADOC-310 and MPIR-263.
> I a workaround for now by passing those properties to the plugin but this does not solve this problem.

--
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