| 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>test</groupId> |
| 27 |
<artifactId>mod1-parent</artifactId> |
| 28 |
<version>1.0-SNAPSHOT</version> |
| 29 |
<relativePath>../mod1-parent</relativePath> |
| 30 |
</parent> |
| 31 |
|
| 32 |
<artifactId>mod1</artifactId> |
| 33 |
<version>1.0-SNAPSHOT</version> |
| 34 |
<packaging>jar</packaging> |
| 35 |
|
| 36 |
<description> |
| 37 |
Test to check for proper staging during a multi module build, i.e. artifacts from the reactor need to be considered. |
| 38 |
</description> |
| 39 |
|
| 40 |
<properties> |
| 41 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 42 |
</properties> |
| 43 |
|
| 44 |
<dependencies> |
| 45 |
<dependency> |
| 46 |
<groupId>test</groupId> |
| 47 |
<artifactId>mod2</artifactId> |
| 48 |
<version>1.0-SNAPSHOT</version> |
| 49 |
</dependency> |
| 50 |
<dependency> |
| 51 |
<groupId>test</groupId> |
| 52 |
<artifactId>mod3</artifactId> |
| 53 |
<version>1.0-SNAPSHOT</version> |
| 54 |
<optional>true</optional> |
| 55 |
</dependency> |
| 56 |
</dependencies> |
| 57 |
|
| 58 |
<build> |
| 59 |
<plugins> |
| 60 |
<plugin> |
| 61 |
<groupId>org.apache.maven.plugins</groupId> |
| 62 |
<artifactId>maven-invoker-plugin</artifactId> |
| 63 |
<version>@project.version@</version> |
| 64 |
<configuration> |
| 65 |
<localRepositoryPath>${project.build.directory}/it-repo</localRepositoryPath> |
| 66 |
</configuration> |
| 67 |
<executions> |
| 68 |
<execution> |
| 69 |
<id>integration-test</id> |
| 70 |
<goals> |
| 71 |
<goal>install</goal> |
| 72 |
</goals> |
| 73 |
</execution> |
| 74 |
</executions> |
| 75 |
</plugin> |
| 76 |
</plugins> |
| 77 |
</build> |
| 78 |
|
| 79 |
</project> |