elharo opened a new pull request, #530:
URL: https://github.com/apache/maven-ear-plugin/pull/530
Fixes #521
When the classifier is whitespace-only (e.g. " "), the existing code:
```java
if (classifier.trim().length() > 0 && !classifier.startsWith("-")) {
```
evaluates to false (since trim produces an empty string), so neither branch
applies and the raw whitespace string is used in the filename, producing
filenames like `myApp .ear`.
This fix trims the classifier before processing and treats
empty/whitespace-only classifiers the same as null.
--
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]