Skip to content

Commit a46ab7c

Browse files
committed
Fix version replacement in pom.xml
1 parent e6dbbbc commit a46ab7c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,9 +999,13 @@
999999
</includes>
10001000
<replacements>
10011001
<replacement>
1002-
<token>dbchat-.*\.jar</token>
1002+
<token>dbchat-(?:[0-9]+(?:\.[0-9]+)*)(-[a-z\-]+\.jar)</token>
10031003
<value>dbchat-${project.version}.jar</value>
10041004
</replacement>
1005+
<replacement>
1006+
<token>dbchat-(?:[0-9]+(?:\.[0-9]+)*)(-[a-z\-]+\.jar)</token>
1007+
<value>dbchat-${project.version}$1</value>
1008+
</replacement>
10051009
</replacements>
10061010
</configuration>
10071011
</execution>

0 commit comments

Comments
 (0)