You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2023/01/01 12:48:00 UTC

[jira] [Commented] (MNG-6973) Document certain user properties in "mvn --help"

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

Slawomir Jaranowski commented on MNG-6973:
------------------------------------------

Maven 3.8.7:
{code:java}
mvn --help
...
 -c,--lax-checksums                     Warn if checksums don't match
    --color <arg>                       Defines the color mode of the
                                        output. Supported are 'auto',

{code}
looks strange, but {{--color}} option works, maybe property {{style.color}} is redundant

> Document certain user properties in "mvn --help"
> ------------------------------------------------
>
>                 Key: MNG-6973
>                 URL: https://issues.apache.org/jira/browse/MNG-6973
>             Project: Maven
>          Issue Type: Improvement
>          Components: Command Line, Documentation: Guides
>    Affects Versions: 3.6.3
>            Reporter: Konrad Windszus
>            Priority: Major
>
> There are some user properties which can be used to influence behaviour of Maven which is not described via {{mvn --help}}:
> # {{maven.repo.local}} (https://github.com/apache/maven/blame/5739b12aa9fc03bdd9eb6482b7a75f98a3c1ba6e/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java#L1603)
> # {{style.color}} https://github.com/apache/maven/blame/5739b12aa9fc03bdd9eb6482b7a75f98a3c1ba6e/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java#L503
> I haven't found any documentation around those anywhere but I consider both useful enough to be documented with {{--help}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)