KEYCLOAK-9793 Fix regex for build-helper-maven-plugin

This commit is contained in:
Martin Kanis 2019-04-25 14:44:22 +02:00 committed by Hynek Mlnařík
parent 429863e83b
commit 4e09794e80

View file

@ -1663,7 +1663,7 @@
<configuration> <configuration>
<name>product.filename.version</name> <name>product.filename.version</name>
<value>${product.rhsso.version}</value> <value>${product.rhsso.version}</value>
<regex>^(\d+\.\d+).*$</regex> <regex>^(\d+(\.\d+)?).*?$</regex>
<replacement>$1</replacement> <replacement>$1</replacement>
<failIfNoMatch>true</failIfNoMatch> <failIfNoMatch>true</failIfNoMatch>
</configuration> </configuration>