Debian Codegraph @

src/it/projects/dep-reduced-pom-with-local-parent/child/pom.xml

raw
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" 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">
23 <modelVersion>4.0.0</modelVersion>
24
25 <parent>
26 <groupId>org.apache.maven.its.shade.drpwlp</groupId>
27 <artifactId>parent</artifactId>
28 <version>1.0</version>
29 </parent>
30
31 <artifactId>child</artifactId>
32 <version>1.0</version>
33 <packaging>jar</packaging>
34
35 <name>MSHADE-66</name>
36 <description>
37 Test that creation of the dependency reduced POM succeeds if the POM inherits from a parent that is only
38 locally available. In other words, the parent can only be resolved by following the relativePath in the POM
39 which demands for the dependency reduced POM to reside in the original project directory.
40 </description>
41
42 <dependencies>
43 <dependency>
44 <groupId>junit</groupId>
45 <artifactId>junit</artifactId>
46 <version>3.8.2</version>
47 </dependency>
48 </dependencies>
49
50 <build>
51 <plugins>
52 <plugin>
53 <groupId>org.apache.maven.plugins</groupId>
54 <artifactId>maven-shade-plugin</artifactId>
55 <executions>
56 <execution>
57 <id>attach-shade</id>
58 <phase>package</phase>
59 <goals>
60 <goal>shade</goal>
61 </goals>
62 <configuration>
63 <shadedArtifactAttached>false</shadedArtifactAttached>
64 <createDependencyReducedPom>true</createDependencyReducedPom>
65 </configuration>
66 </execution>
67 </executions>
68 </plugin>
69 </plugins>
70 </build>
71 </project>