maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve Boutemy (JIRA)" <j...@codehaus.org>
Subject [jira] (MPH-90) help:effective-pom does not show full effective-pom
Date Sat, 02 Feb 2013 08:45:13 GMT

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

Herve Boutemy edited comment on MPH-90 at 2/2/13 2:44 AM:
----------------------------------------------------------

I think you expect things from effective pom that is not feasible: you expect normalization.
But the effective pom is not normalized: plugin takes parameter values from multiple source:
see [PluginParameterExpressionEvaluator|http://maven.apache.org/ref/3.1-SNAPSHOT/maven-core/apidocs/org/apache/maven/plugin/PluginParameterExpressionEvaluator.html]
for complete information

to me, there is no bug in help:effective-pom but wrong expectations

and I don't see how we could code your expectations, since we would have to mimic PluginParameterExpressionEvaluator+default
plugin parameter expressions
                
      was (Author: hboutemy):
    I think you expect things from effective pom that is not feasible: you expect normalization.
But the effective pom is not normalized: plugin takes parameter values from multiple source:
see [PluginParameterExpressionEvaluator|http://maven.apache.org/ref/3.1-SNAPSHOT/maven-core/apidocs/org/apache/maven/plugin/PluginParameterExpressionEvaluator.html]
for complete information

to me, there is no bug in help:effective-pom but wrong expectations

and I don't see how we could code your expectations, since we would have to mimic PluginParameterExpressionEvaluator
                  
> 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

        

Mime
View raw message