File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 296
296
<scope >test</scope >
297
297
</dependency >
298
298
<dependency >
299
- <groupId >com.github.stefanbirkner </groupId >
300
- <artifactId >system-rules </artifactId >
301
- <version >1.19.0 </version >
299
+ <groupId >uk.org.webcompere </groupId >
300
+ <artifactId >system-stubs-junit4 </artifactId >
301
+ <version >2.1.3 </version >
302
302
<scope >test</scope >
303
303
</dependency >
304
304
</dependencies >
469
469
<doclint >-missing</doclint >
470
470
<links >
471
471
<!-- link>http://java.sun.com/j2se/${maven.compiler.source}/docs/api/</link-->
472
- <link >http ://slf4j.org/api/</link >
473
- <link >http ://commons.apache.org/lang/api-release/</link >
474
- <link >http ://commons.apache.org/io /api-release/</link >
475
- <link >http ://junit.sourceforge.net/ javadoc/</link >
472
+ <link >https ://slf4j.org/api/</link >
473
+ <link >https ://commons.apache.org/proper/commons- lang/javadocs /api-release/</link >
474
+ <link >https ://commons.apache.org/proper/commons-io/javadocs /api-release/</link >
475
+ <link >https ://junit.org/junit4/ javadoc/latest /</link >
476
476
</links >
477
477
<!-- additionalparam>-nopackagediagram</additionalparam-->
478
478
<!-- additionalparam>-sourceclasspath ${project.build.outputDirectory}</additionalparam-->
769
769
</build >
770
770
</profile >
771
771
</profiles >
772
- </project >
772
+ </project >
Original file line number Diff line number Diff line change 10
10
import org .apache .maven .toolchain .Toolchain ;
11
11
import org .junit .Rule ;
12
12
import org .junit .Test ;
13
- import org .junit . contrib . java . lang . system . EnvironmentVariables ;
13
+ import uk . org .webcompere . systemstubs . rules . EnvironmentVariablesRule ;
14
14
15
15
public class JavaLocatorTest {
16
16
17
- @ Rule public final EnvironmentVariables environmentVariables = new EnvironmentVariables ();
17
+ @ Rule public final EnvironmentVariablesRule environmentVariables = new EnvironmentVariablesRule ();
18
18
19
19
@ Test
20
20
public void shouldReturnNotNullWhenJavaIsNotAvailableOnCommandLineAndJavaHomeIsPresent () {
You can’t perform that action at this time.
0 commit comments