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] [Resolved] (TOMEE-1842) Stripping version strips not only a version
Date Mon, 13 Jun 2016 16:22:21 GMT

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

Mime
View raw message