You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by GitBox <gi...@apache.org> on 2021/06/08 13:33:05 UTC

[GitHub] [karaf] dmfs opened a new pull request #1388: Fix version parsing

dmfs opened a new pull request #1388:
URL: https://github.com/apache/karaf/pull/1388


   Make the first group of the regexp non-greedy to ensure it won't swallow
   the build meta data part. In particular, with a greedy first group it
   swallows everything up to the last dash that's followed by a
   digit, something that's quite common in SNAPSHOT builds.
   As a result a name like `foobar-1.0.0-PR-4-SNAPSHOT.jar` was parsed into
   version `4.0.0-SNAPSHOT`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [karaf] jbonofre merged pull request #1388: Fix version parsing

Posted by GitBox <gi...@apache.org>.
jbonofre merged pull request #1388:
URL: https://github.com/apache/karaf/pull/1388


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org