File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,15 @@ cd "$(dirname "$(readlink -f "$0")")"
55source ./common_build.sh
66source ./prepare-jdk.sh
77
8+ cd " $ROOT_PROJECT_DIR "
9+
810switch_to_jdk 11
11+ runCmd " ${MVN_CMD[@]} " -Pgen-code-cov clean test jacoco:report
912
10- cd " $ROOT_PROJECT_DIR "
11- runCmd ./mvnw -Pgen-code-cov clean test jacoco:report coveralls:report
13+ switch_to_jdk 8
14+ # use -Dmaven.main.skip option fix below problem of jacoco-maven-plugin:report :
15+ #
16+ # [WARNING] Classes in bundle 'Java Dns Cache Manipulator(DCM) Lib' do not match with execution data.
17+ # For report generation the same class files must be used as at runtime.
18+ # [WARNING] Execution data for class com/alibaba/xxx/Yyy does not match.
19+ runCmd " ${MVN_CMD[@]} " -Pgen-code-cov -Dmaven.main.skip test jacoco:report coveralls:report
You can’t perform that action at this time.
0 commit comments