1、打包时报错信息如下:
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-banned-dependencies) @ xc_exam ---
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireUpperBoundDeps failed with message:
Failed while enforcing RequireUpperBoundDeps. The error(s) are [
Require upper bound dependencies error for org.apache.httpcomponents:httpclient:4.4.1 paths to dependency are:
+-com.xc.os.platform:xc_exam:2.6
+-org.apache.httpcomponents:httpclient:4.4.1
and
+-com.xc.os.platform:xc_exam:2.6