Details
Description
When running mvn clean install -DskipTests Maven throws this error.
mvn -v:
Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /opt/maven/apache-maven-3.8.1
Java version: 16.0.1, vendor: Oracle Corporation, runtime: /usr/local/openjdk-16
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "5.4.72-microsoft-standard-wsl2", arch: "amd64", family: "unix"
I'm setting it up in this Docker image:
openjdk:16.0.1-jdk-slim-buster