On Wed, Feb 11, 2015 at 5:55 PM, Davide Giannella <[email protected]> wrote: > On 11/02/2015 12:19, Robert Munteanu wrote: >> We could probably raise an enhancement request which allows >> restricting the versions considered, such as 'no qualifiers', or a >> regexp-based validation or ... Robert > We could enhance the `comparisonVersion` to actually be a regex. Which > in our specific use case could be then translated into something like: > '/^\d+\.\d+\.\d+$/'. > > if in the comparisonVersion you won't surround the value with '/' it > means no regex.
With a patch, anything is possible :-) But bear in mind that right now this is a version range [1] so regexps would not work out of the box. Robert [1]: https://github.com/apache/felix/blob/3e2ff037e3c7542b06eca437edce0643e1f1b76d/bundleplugin/src/main/java/org/apache/felix/bundleplugin/baseline/AbstractBaselinePlugin.java#L442-L450 -- Sent from my (old) computer
