You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
String mavenHome = System.getProperty("maven.home");
if (mavenHome == null || mavenHome.isEmpty()) {
//FIXME: currently not set; using hard coded path? Need to reconsider how to set it?
mavenHome = "/Users/khmarbaise/tools/maven";
}
String mvnLocation = mavenHome + "/bin/mvn";
if (OS.WINDOWS.isCurrentOs()) {
mvnLocation += ".cmd";
}
The obvious thing here is of course that I use a hard coded path of my own machine which has to be removed and replaced with a search via PATH. Furthermore the mvnLocation should be checked via the PATH.
The text was updated successfully, but these errors were encountered:
Currently I'm using the following code
The obvious thing here is of course that I use a hard coded path of my own machine which has to be removed and replaced with a search via
PATH
. Furthermore themvnLocation
should be checked via thePATH
.The text was updated successfully, but these errors were encountered: