kubesphere版本为3.0
走流水线的时候,公司所用的jdk版本为oraclc 1.8
而maven内置的是 openjdk
java -version
openjdk version “1.8.0_232”
OpenJDK Runtime Environment (build 1.8.0_232-b09)
OpenJDK Server VM (build 25.232-b09, mixed mode)
mvn –version
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T19:49:05Z)
Maven home: /opt/apache-maven-3.5.3
Java version: 1.8.0_232, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.232.b09-0.el7_7.i386/jre
Default locale: en_US, platform encoding: UTF-8
OS name: “linux”, version: “3.10.0-1160.24.1.el7.x86_64”, arch: “i386”, family: “unix”
于是导致单元测试频繁测试报错。
现在想将所有的默认maven容器jdk 调整为oracle版本
请问具体创建maven的配置文件是在哪个容器下面呢?::