| 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> |
| 23 |
<modelVersion>4.0.0</modelVersion> |
| 24 |
|
| 25 |
<parent> |
| 26 |
<groupId>org.apache.maven.its.mng4034</groupId> |
| 27 |
<artifactId>parent</artifactId> |
| 28 |
<version>1.0-SNAPSHOT</version> |
| 29 |
</parent> |
| 30 |
|
| 31 |
<groupId>org.apache.maven.its.mng4034</groupId> |
| 32 |
<artifactId>child</artifactId> |
| 33 |
<version>1.0-SNAPSHOT</version> |
| 34 |
|
| 35 |
<name>Maven Integration Test :: MNG-4034</name> |
| 36 |
<description> |
| 37 |
Verify that dependencies defined in profiles are subject to the dependency management of the parent. |
| 38 |
</description> |
| 39 |
|
| 40 |
<profiles> |
| 41 |
<profile> |
| 42 |
<id>maven-core-it</id> |
| 43 |
<activation> |
| 44 |
<activeByDefault>true</activeByDefault> |
| 45 |
</activation> |
| 46 |
<dependencies> |
| 47 |
<dependency> |
| 48 |
<groupId>org.apache.maven.its</groupId> |
| 49 |
<artifactId>maven-core-it-support</artifactId> |
| 50 |
<!-- version should be injected from dependency management of parent --> |
| 51 |
</dependency> |
| 52 |
</dependencies> |
| 53 |
</profile> |
| 54 |
</profiles> |
| 55 |
</project> |