| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-providers</artifactId> |
| <version>2.11-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>wagon-http</artifactId> |
| <name>Apache Maven Wagon :: Providers :: HTTP Provider</name> |
| <description> |
| Wagon provider that gets and puts artifacts through HTTP(S) using Apache HttpClient-4.x. |
| </description> |
| |
| |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>wagon-http-shared</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <version>1.1.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpcore</artifactId> |
| </dependency> |
| |
| <!-- used for the TCK --> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-tck-http</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>1.4</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <shadedArtifactAttached>true</shadedArtifactAttached> |
| <shadedClassifierName>shaded</shadedClassifierName> |
| <artifactSet> |
| <includes> |
| <include>org.apache.httpcomponents:httpclient</include> |
| <include>org.apache.httpcomponents:httpcore</include> |
| <include>commons-logging:commons-logging</include> |
| <include>commons-codec:commons-codec</include> |
| <include>commons-lang:commons-lang</include> |
| <include>commons-io:commons-io</include> |
| <include>org.jsoup:jsoup</include> |
| <include>org.apache.maven.wagon:wagon-http-shared</include> |
| </includes> |
| </artifactSet> |
| <shadedArtifactAttached>true</shadedArtifactAttached> |
| <shadedClassifierName>shaded</shadedClassifierName> |
| <relocations> |
| <relocation> |
| <pattern>org.apache.commons.codec</pattern> |
| <shadedPattern>org.apache.maven.wagon.providers.http.commons.codec</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.commons.lang</pattern> |
| <shadedPattern>org.apache.maven.wagon.providers.http.commons.lang</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.commons.io</pattern> |
| <shadedPattern>org.apache.maven.wagon.providers.http.commons.io</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.jsoup</pattern> |
| <shadedPattern>org.apache.maven.wagon.providers.http.org.jsoup</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.commons.logging</pattern> |
| <shadedPattern>org.apache.maven.wagon.providers.http.commons.logging</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.http</pattern> |
| <shadedPattern>org.apache.maven.wagon.providers.http.httpclient</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.maven.wagon.shared.http</pattern> |
| <shadedPattern>org.apache.maven.wagon.providers.http.wagon.shared</shadedPattern> |
| </relocation> |
| </relocations> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <systemPropertyVariables> |
| <maven.wagon.http.ssl.insecure>true</maven.wagon.http.ssl.insecure> |
| <maven.wagon.http.ssl.ignore.validity.dates>true</maven.wagon.http.ssl.ignore.validity.dates> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |