[MNG-6137] Clean up duplicate dependencies caused by incomplete Wagon HTTP Provider exclusions

JCL over SLF4J has been added also as a runtime dependency because the
bundled HttpClient still uses Commons Logging and we want our version
of SLF4J enforced.
This commit is contained in:
Michael Osipov 2017-01-31 16:14:31 +01:00
parent ce93bb42b9
commit 23b5fcffa7
1 changed files with 10 additions and 4 deletions

View File

@ -65,10 +65,6 @@ under the License.
<artifactId>wagon-http</artifactId> <artifactId>wagon-http</artifactId>
<classifier>shaded</classifier> <classifier>shaded</classifier>
<exclusions> <exclusions>
<exclusion>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http-shared4</artifactId>
</exclusion>
<exclusion> <exclusion>
<groupId>org.apache.httpcomponents</groupId> <groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId> <artifactId>httpclient</artifactId>
@ -77,8 +73,18 @@ under the License.
<groupId>org.apache.httpcomponents</groupId> <groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId> <artifactId>httpcore</artifactId>
</exclusion> </exclusion>
<exclusion>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http-shared</artifactId>
</exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4jVersion}</version>
<scope>runtime</scope>
</dependency>
<dependency> <dependency>
<groupId>org.apache.maven.wagon</groupId> <groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-file</artifactId> <artifactId>wagon-file</artifactId>