We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20f8cca commit c2ff43dCopy full SHA for c2ff43d
1 file changed
scripts/dist.py
@@ -29,7 +29,12 @@ def checkMavenVersion():
29
match = re.search(MAVEN_VERSION_REGEX, mvn_path)
30
if match == None:
31
print("\nCannot determine mvn version from its path location: " + mvn_path)
32
- exit(1)
+# might happen depending on installation path... instead of crashing immediately,
33
+# we try to build, as it might be the correct version... if not, it will fail anyway
34
+# TODO ideally, should rather use "mvn -v" to determine the version number...
35
+# although it would be bit tricky to implement (so not super important)
36
+ return True
37
+# exit(1)
38
39
mvn_txt = match.group()
40
mvn_version = mvn_txt.split(".")
0 commit comments