You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Abel Salgado Romero (JIRA)" <ji...@apache.org> on 2016/07/17 18:44:20 UTC

[jira] [Commented] (MINVOKER-208) Documentation about invoker properties related to usage of options/parameters should be improved

    [ https://issues.apache.org/jira/browse/MINVOKER-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15381456#comment-15381456 ] 

Abel Salgado Romero commented on MINVOKER-208:
----------------------------------------------

mavenOpts explanation is correct but can lead to confusion because no alternative to pass environment variables is shown.
Adding additional explanation and example to goals should be enough.

Current text says:
{{# A comma or space separated list of goals/phases to execute, may}}
{{# specify an empty list to execute the default goal of the IT project}}
{{invoker.goals = clean install}}


This is the proposed alternative:
{{# A comma or space separated list of goals/phases to execute, may}}
{{# specify an empty list to execute the default goal of the IT project.}}
{{# Environment variables used by maven plugins can be added here}}
{{invoker.goals = clean install -Dplugin.variable=value}}


> Documentation about invoker properties related to usage of options/parameters should be improved 
> -------------------------------------------------------------------------------------------------
>
>                 Key: MINVOKER-208
>                 URL: https://issues.apache.org/jira/browse/MINVOKER-208
>             Project: Maven Invoker Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Karl Heinz Marbaise
>            Priority: Blocker
>             Fix For: 3.0.0
>
>
> The documentation http://maven.apache.org/plugins/maven-invoker-plugin/run-mojo.html#invokerPropertiesFile needed to be improved about usage of things like {{-DWhatEver}} that those things should be done with {{invoker.goals=..}} instead of {{invoker.mavenOpts=...}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)