| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
<!-- |
| 4 |
~ Licensed to the Apache Software Foundation (ASF) under one |
| 5 |
~ or more contributor license agreements. See the NOTICE file |
| 6 |
~ distributed with this work for additional information |
| 7 |
~ regarding copyright ownership. The ASF licenses this file |
| 8 |
~ to you under the Apache License, Version 2.0 (the |
| 9 |
~ "License"); you may not use this file except in compliance |
| 10 |
~ with the License. You may obtain a copy of the License at |
| 11 |
~ |
| 12 |
~ http://www.apache.org/licenses/LICENSE-2.0 |
| 13 |
~ |
| 14 |
~ Unless required by applicable law or agreed to in writing, |
| 15 |
~ software distributed under the License is distributed on an |
| 16 |
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 17 |
~ KIND, either express or implied. See the License for the |
| 18 |
~ specific language governing permissions and limitations |
| 19 |
~ under the License. |
| 20 |
--> |
| 21 |
|
| 22 |
<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 23 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 24 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 25 |
|
| 26 |
<modelVersion>4.0.0</modelVersion> |
| 27 |
|
| 28 |
<groupId>org.apache.maven.its.dependency</groupId> |
| 29 |
<artifactId>test</artifactId> |
| 30 |
<version>1.0-SNAPSHOT</version> |
| 31 |
|
| 32 |
<name>Test</name> |
| 33 |
<description> |
| 34 |
Test dependency:copy and dependency:unpack with alternate local repository |
| 35 |
</description> |
| 36 |
|
| 37 |
<properties> |
| 38 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 39 |
</properties> |
| 40 |
|
| 41 |
<build> |
| 42 |
<plugins> |
| 43 |
<plugin> |
| 44 |
<artifactId>maven-dependency-plugin</artifactId> |
| 45 |
<version>@project.version@</version> |
| 46 |
<executions> |
| 47 |
<execution> |
| 48 |
<id>copy</id> |
| 49 |
<goals> |
| 50 |
<goal>copy</goal> |
| 51 |
</goals> |
| 52 |
<configuration> |
| 53 |
<localRepositoryDirectory>${project.build.directory}/repo</localRepositoryDirectory> |
| 54 |
<artifactItems> |
| 55 |
<artifactItem> |
| 56 |
<groupId>junit</groupId> |
| 57 |
<artifactId>junit</artifactId> |
| 58 |
<version>3.8.1</version> |
| 59 |
</artifactItem> |
| 60 |
</artifactItems> |
| 61 |
</configuration> |
| 62 |
</execution> |
| 63 |
<execution> |
| 64 |
<id>unpack</id> |
| 65 |
<goals> |
| 66 |
<goal>unpack</goal> |
| 67 |
</goals> |
| 68 |
<configuration> |
| 69 |
<localRepositoryDirectory>${project.build.directory}/repo</localRepositoryDirectory> |
| 70 |
<artifactItems> |
| 71 |
<artifactItem> |
| 72 |
<groupId>junit</groupId> |
| 73 |
<artifactId>junit</artifactId> |
| 74 |
<version>3.8.1</version> |
| 75 |
</artifactItem> |
| 76 |
</artifactItems> |
| 77 |
</configuration> |
| 78 |
</execution> |
| 79 |
</executions> |
| 80 |
</plugin> |
| 81 |
</plugins> |
| 82 |
</build> |
| 83 |
</project> |