Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Do not use M2_HOME, which refers to the Maven 2 install directory #28

Merged
merged 1 commit into from Oct 25, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Do not use M2_HOME, which refers to the Maven 2 install directory
Fixes #23
  • Loading branch information
Artur- committed Apr 6, 2017
commit 81898ea3f9fd11b5878fe00b340b6732e1452bd2
Expand Up @@ -11,10 +11,7 @@ public class VadinJarFinder {

public static String get(String moduleName, String version)
throws IOException {
String m2 = System.getenv("M2_HOME");
if (m2 == null) {
m2 = System.getenv("HOME") + "/.m2";
}
String m2 = System.getenv("HOME") + "/.m2";

final String m2repositoryFolder = m2 + "/repository";

Expand Down