Skip to content

Commit c2ff43d

Browse files
committed
fix
1 parent 20f8cca commit c2ff43d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

scripts/dist.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@ def checkMavenVersion():
2929
match = re.search(MAVEN_VERSION_REGEX, mvn_path)
3030
if match == None:
3131
print("\nCannot determine mvn version from its path location: " + mvn_path)
32-
exit(1)
32+
# 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)
3338

3439
mvn_txt = match.group()
3540
mvn_version = mvn_txt.split(".")

0 commit comments

Comments
 (0)