Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit 6280d15

Browse files
committed
native: workaround for test failing on old JDK inside the image
Signed-off-by: Alexander Bezzubov <[email protected]>
1 parent 5d152c1 commit 6280d15

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

native/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
<version>[2.8.11.3,)</version>
7676
</dependency>
7777
</dependencies>
78+
7879
<build>
7980
<finalName>native</finalName>
8081
<plugins>
@@ -116,5 +117,18 @@
116117
</configuration>
117118
</plugin>
118119
</plugins>
120+
<pluginManagement>
121+
<plugins>
122+
<plugin>
123+
<!-- Pin version to workaround
124+
"Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter"
125+
See http://archive.is/uKy4m for details.
126+
TODO(bzz) removed after java is update to >8u191-b12 (does not exist for openjdk:8-slim) -->
127+
<groupId>org.apache.maven.plugins</groupId>
128+
<artifactId>maven-surefire-plugin</artifactId>
129+
<version>3.0.0-M3</version>
130+
</plugin>
131+
</plugins>
132+
</pluginManagement>
119133
</build>
120134
</project>

0 commit comments

Comments
 (0)