akashchamp opened a new pull request, #253: URL: https://github.com/apache/maven-artifact-plugin/pull/253
Closes #250 ## What and why The diagnostic hint for a reference repository is intended for users to copy into a shell. Quote repository and artifact values, including embedded apostrophes, and use option terminators so user-controlled values remain individual operands in the suggested commands. ## Validation - Added a regression test covering apostrophes, spaces, shell delimiters, and command-substitution text in both values. - Manually exercised the production helper with those values: the probe received each value as one argument and left a sentinel file unchanged. - `mvn verify` - `mvn -Prun-its verify` (16/16 scenarios) ## Checklist - [x] This pull request addresses one issue. - [x] The description explains what changes, how, and why. - [x] The commit has a meaningful subject and body. - [x] Added a behavioral unit test. - [x] Ran `mvn verify`. - [x] Ran `mvn -Prun-its verify`. - [x] I hereby declare this contribution to be licenced under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
