Tarun4201 commented on PR #13348: URL: https://github.com/apache/maven/pull/13348#issuecomment-6289774767
he primary use case (as reported in MNG-7927) occurs when a plugin defines a non-empty Java default for a parameter—such as a comma-separated list of targets/options (e.g. docClassesToTargets = "article,report,book" in latex-maven-plugin) or a prefix/suffix. When users want to disable that default or provide no targets in their POM, they configure an empty element (<docClassesToTargets/> or <docClassesToTargets></docClassesToTargets>). Previously, Maven ignored empty elements and silently kept the non-empty default, making it impossible to clear. Setting it to "" allows users to explicitly override non-empty defaults. I have simplified the documentation in maven.mdo to focus on this user-facing intent and removed the distracting references to non-string scalar types. -- 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]
