tomee-commits mailing list archives

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

    [ https://issues.apache.org/jira/browse/TOMEE-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15341614#comment-15341614
] 

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: https://issues.apache.org/jira/browse/TOMEE-1842
>             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, bar.foo:abc-def 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
(v6.3.4#6332)

Mime
View raw message