From a9c531519108a1c3bf9b8971807d226bfe7a3f98 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Tue, 18 Aug 2020 09:13:33 +0200 Subject: [PATCH] Fix bootstrap build --- maven-compiler-plugin.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-compiler-plugin.spec b/maven-compiler-plugin.spec index ca8e48a..bb9e149 100644 --- a/maven-compiler-plugin.spec +++ b/maven-compiler-plugin.spec @@ -43,7 +43,7 @@ API documentation for %{name}. sed -i 's/ResolvePathsResult.ModuleNameSource/ModuleNameSource/' src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java # Replace path to junit in a test case with the system wide .jar -sed -i 's|localRepository,\ "junit/junit/3.8.1/junit-3.8.1.jar"|"%(find-jar junit)"|' src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java +sed -i 's|localRepository,\ "junit/junit/3.8.1/junit-3.8.1.jar"|"%(find-jar junit || find-jar javapackages-bootstrap/junit)"|' src/test/java/org/apache/maven/plugin/compiler/CompilerMojoTestCase.java %build %mvn_build