You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Andrzej K (JIRA)" <ji...@apache.org> on 2016/06/15 07:54:09 UTC

[jira] [Commented] (TOMEE-1842) Stripping version strips not only a version

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

Andrzej K commented on TOMEE-1842:
----------------------------------

As you wish, however in your case, it should be, imho, written VERY clearly in a documentation. Because now it does funny things when looking from outside. (from a user perspective)

> 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
>
> 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)