| <?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/maven-v4_0_0.xsd"> |
| <parent> |
| <artifactId>wagon-providers</artifactId> |
| <groupId>org.apache.maven.wagon</groupId> |
| <version>1.0-rc1-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>wagon-http</artifactId> |
| <name>Maven Wagon HTTP/WebDav Provider</name> |
| <description> |
| Wagon that gets and puts artifacts through http using Apache commons-httpclient |
| </description> |
| |
| <issueManagement> |
| <system>jira</system> |
| <url>http://jira.codehaus.org/browse/WAGONHTTP</url> |
| </issueManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <version>1.0.4</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-httpclient</groupId> |
| <artifactId>commons-httpclient</artifactId> |
| <version>3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>nekohtml</groupId> |
| <artifactId>nekohtml</artifactId> |
| <version>1.9.6.1</version> |
| </dependency> |
| <dependency> |
| <groupId>plexus</groupId> |
| <artifactId>plexus-jetty-httpd</artifactId> |
| <version>1.0-beta-1</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <artifactId>plexus-container-default</artifactId> |
| <groupId>plexus</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>it.could</groupId> |
| <artifactId>webdav</artifactId> |
| <version>0.4</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>1.0-beta-1</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <artifactSet> |
| <includes> |
| <include>commons-httpclient:commons-httpclient</include> |
| <include>commons-logging:commons-logging</include> |
| <include>commons-codec:commons-codec</include> |
| </includes> |
| </artifactSet> |
| <shadedArtifactAttached>true</shadedArtifactAttached> |
| <shadedClassifierName>shaded</shadedClassifierName> |
| <relocations> |
| <relocation> |
| <pattern>org.apache.commons.codec</pattern> |
| <shadedPattern>org.apache.maven.wagon.providers.http.codec</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.commons.logging</pattern> |
| <shadedPattern>org.apache.maven.wagon.providers.http.logging</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.commons.httpclient</pattern> |
| <shadedPattern>org.apache.maven.wagon.providers.http.httpclient</shadedPattern> |
| </relocation> |
| </relocations> |
| <filters> |
| <filter> |
| <artifact>commons-logging:commons-logging</artifact> |
| <excludes> |
| <exclude>META-INF/**</exclude> |
| </excludes> |
| </filter> |
| <filter> |
| <artifact>commons-codec:commons-codec</artifact> |
| <excludes> |
| <exclude>META-INF/**</exclude> |
| </excludes> |
| </filter> |
| <filter> |
| <artifact>commons-httpclient:commons-httpclient</artifact> |
| <excludes> |
| <exclude>META-INF/**</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |