You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AbstractHelpMojo.LS uses System.getProperty instead of System.lineSeparator() #391
In src/main/java/org/apache/maven/plugins/help/AbstractHelpMojo.java:55:
protected static final String LS = System.getProperty("line.separator");
Should use System.lineSeparator() (Java 7+), which falls back to "\n" if the property is missing. DescribeMojoTest inconsistently uses both System.getProperty("line.separator") (line 88) and System.lineSeparator() (line 110).
Activity
Neil-Tomar commentedon Aug 4, 2026
I’d like to take this issue. I have one doubt: should I change the occurrences in the
src/it/verify.groovyscripts as well?elharo commentedon Aug 4, 2026
probably
[#391] Use System.lineSeparator() instead of System.getProperty(\"lin…