tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <>
Subject [jira] [Commented] (TOMEE-1842) Stripping version strips not only a version
Date Tue, 21 Jun 2016 11:38:58 GMT


Romain Manni-Bucau commented on TOMEE-1842:

Have to admit that finalName was not handled by design. Pushed a small enhancement (replacing
brutally -version but "" on the final name for the war - of course it ignores case where final
name will not use - but for such cases we are back to the case where the user can override
stripVersions). Let me know if it is better. If not maybe suggest a patch (in the code we
have the artifactId, the finalName, the version if it helps).

> Stripping version strips not only a version
> -------------------------------------------
>                 Key: TOMEE-1842
>                 URL:
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Maven Plugin
>    Affects Versions: 7.0.0
>            Reporter: Andrzej K
>            Assignee: Romain Manni-Bucau
> When eaither flag stripWarVersion, or StripVersion is true and artifact names is, for
example, then plugin strips "\-def" as it looks for first occurence of "\-".
It should rather look for a regex like \[\-\]\d+(.\d+(.\d+)?)?$

This message was sent by Atlassian JIRA

View raw message