Skip to content

Commit 21d8c31

Browse files
authored
Merge pull request #2270 from adamretter/hotfix/startconfig-xmldb-api-jar-5.0.0
(5.0.0) Fix a regression with loading the XML:DB API Jar via bin/startup
2 parents f473d74 + 3c2b69c commit 21d8c31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/exist/start/LatestFileResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public String getResolvedFileName(final String filename) {
8080

8181
final String artifactId = Pattern.quote(uptoToken.substring(uptoToken.lastIndexOf(File.separatorChar) + 1));
8282
final String suffix = Pattern.quote(fileinfo[1]);
83-
final String patternString = '^' + artifactId + "(?:(?:[0-9]+(?:(?:\\.|_)[0-9]+)*)(?:-SNAPSHOT)?(?:-[0-9a-f]{7})?)" + suffix + '$';
83+
final String patternString = '^' + artifactId + "(?:(?:[0-9]+(?:(?:\\.|_)[0-9]+)*)(?:-SNAPSHOT)?(?:-patched)?(?:-[0-9a-f]{7})?)" + suffix + '$';
8484
final Pattern pattern = Pattern.compile(patternString);
8585
final Matcher matcher = pattern.matcher("");
8686

0 commit comments

Comments
 (0)