1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: Fix wrong junit patch in Compiler test.
The compiler testcase sets an absolute path to junit's jar file
version 3.8.1 even though the pom.xml file now depends on 4.12
(4.x on Debian).
.
This patch fixes it and set the fixed path to a current junit jar
file.
Author: Tiago Stürmer Daitx <tiago.daitx@ubuntu.com>
Last-Update: 2017-09-08
--- a/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java
+++ b/src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java
@@ -425,7 +425,7 @@
String localRepository = System.getProperty( "localRepository" );
if ( localRepository != null )
{
- artifactFile = new File( localRepository, "junit/junit/3.8.1/junit-3.8.1.jar" );
+ artifactFile = new File( localRepository, "junit/junit/4.x/junit-4.x.jar" );
}
else
{
|