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
Null classifier produces trailing dash in output filename #65
When an artifact has a null classifier and the mapping expression uses @{classifier}@ (e.g. DEFAULT_FILE_NAME_MAPPING_CLASSIFIER), the output filename contains a trailing dash:
maven-test-lib-1.0-.jar
^ trailing dash
This happens because DashClassifierValueSource sets classifier to "" when the classifier is null (DashClassifierValueSource.java:69).
The @{dashClassifier?}@ variant handles this correctly (produces empty string with no dash), making the non-? variant inconsistent.
Expected behavior
Users of DEFAULT_FILE_NAME_MAPPING_CLASSIFIER likely expect that a null classifier either omits the classifier segment entirely, or at least does not leave a dangling dash.
Activity
Fix trailing dash in DEFAULT_FILE_NAME_MAPPING_CLASSIFIER when classi…