首先请确保所提到的工件可以与HttpClient 4.1.1一起正常工作.
Exclusions explicitly tell Maven that
you don’t want to include the
specified project that is a dependency
of this dependency (in other words,
its transitive dependency)
exclusions: Exclusions contain one or
more exclusion elements, each
containing a groupId and artifactId
denoting a dependency to exclude.
Unlike optional, which may or may not
be installed and used, exclusions
actively remove themselves from the
dependency tree.
the_group
the_artifact
the_version
the_apache_group
the_http_client_artifact
the_apache_group
the_http_client_artifact
4.1.1
...
我希望这可能有助于实现这一要求.
问候,
Charlee Ch.