You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2016/06/13 16:22:21 UTC

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

     [ https://issues.apache.org/jira/browse/TOMEE-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau resolved TOMEE-1842.
---------------------------------------
    Resolution: Won't Fix

With all the naming conventions we can't guess the good shame. It is actually common to have something not matching your regex so current impl is the more convenient default (in term of users).

Side note: closing since it is possible to configure the context/name explicitly and I'm sure we can fix your case and break current and future users as mentionned.

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