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

Romain Manni-Bucau updated TOMEE-1842:
--------------------------------------
    Comment: was deleted

(was: 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
>            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)

Reply via email to