Skip to content

Commit f429ccf

Browse files
committed
Update pom.xml maven-enforcer-plugin to check the Elasticsearch version number in docker-compose.yml
1 parent 8c3564d commit f429ccf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

es/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
esVersion = "${es.version}";
7878
print("Scanning "+filename+" for " + esVersion);
7979

80-
docker = Pattern.compile("elasticsearch:(\\d.\\d\\d.\\d)");
81-
kibana = Pattern.compile("kibana:(\\d.\\d\\d.\\d)");
80+
docker = Pattern.compile("elasticsearch:(\\d\\d+.\\d\\d+.\\d\\d+)");
81+
kibana = Pattern.compile("kibana:(\\d\\d+.\\d\\d+.\\d\\d+)");
8282
patterns = new Pattern[]{ docker, kibana};
8383

8484
String baseDir = new File(java.net.URI.create("${project.baseUri}")).getAbsolutePath().toString();

0 commit comments

Comments
 (0)