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

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

Robert, I see the same output. But as you can see yourself, the debug output of 
the compiler plugin says source/target 1.6 and effective-pom does not carry the 
very same information in the configuration section. The description of the 
effective-pom goal says
bq. Displays the effective POM as an XML for this build, with the active 
profiles factored in.

As far as I can see, the build system does not inject that kind of information 
back to the XPP3Dom object. This cannot be fixed in the help plugin itself 
though the documention of the goal should be altered to reflect this limitation.
                
> 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

        

Reply via email to