[ https://issues.apache.org/jira/browse/MNG-8423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17904914#comment-17904914 ]
Tamas Cservenak commented on MNG-8423: -------------------------------------- Also related, explaining some of the rationale https://cstamas.org/blog/2024/09/handling-sensitive-data-in-maven/ > mvnenc --enc has no help > ------------------------ > > Key: MNG-8423 > URL: https://issues.apache.org/jira/browse/MNG-8423 > Project: Maven > Issue Type: Bug > Affects Versions: 4.0.0-rc-1 > Reporter: James Nord > Priority: Minor > > the options to `mvnenv --enc` are undocumented in the CLI. > > h3. steps to reproduce > * run {{mvnenc}} to work out what you need to do to setup password encrption > * note you are prompted to run {{mvnenc -h}} to get help as the options are > not correct > * inspect the help > * note that {{--enc}} is listed but sub options are not > * run `mvnenc --enc -h` to try and get more info > h3. Expected results > * you get some more help about the sepcific options to mvn --enc > h3. Actual results > * you get the generic help page > h4. Notes > {{mvnenc.cmd -enc}} gives you some goals (?!) to run and tells you to run -h. > but I have to infer what these goals do > the same also applies for the goals... eg `mvnenc --enc init` will fail when > run again and then reveal the existance of the `-force` flag which is not > discoverable by other means -- This message was sent by Atlassian Jira (v8.20.10#820010)