Skip to content

Commit a8fe6e2

Browse files
author
André Pinto
committed
Fixes #76. By using Maven's recommended ${java.home} property instead of ${env.JAVA_HOME} we make sure it is available in all environments.
1 parent 8ba4985 commit a8fe6e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cougar-test/cougar-client-code-tests/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
<groupId>com.sun</groupId>
125125
<artifactId>tools</artifactId>
126126
<scope>system</scope>
127-
<systemPath>${env.JAVA_HOME}/lib/tools.jar</systemPath>
127+
<systemPath>${java.home}/../lib/tools.jar</systemPath>
128128
<version>${java.version}</version>
129129
</dependency>
130130

cougar-test/cougar-test-utils/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<groupId>com.sun</groupId>
4545
<artifactId>tools</artifactId>
4646
<scope>system</scope>
47-
<systemPath>${env.JAVA_HOME}/lib/tools.jar</systemPath>
47+
<systemPath>${java.home}/../lib/tools.jar</systemPath>
4848
<version>${java.version}</version>
4949
</dependency>
5050

0 commit comments

Comments
 (0)