<?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> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<!-- invalid parent --> | |
<groupId>org.apache.maven.its.mng4403</groupId> | |
<artifactId>bp</artifactId> | |
<version>0.1</version> | |
</parent> | |
<groupId>org.apache.maven.its.mng4403</groupId> | |
<artifactId>b</artifactId> | |
<version>0.1</version> | |
<packaging>jar</packaging> | |
<distributionManagement> | |
<repository> | |
<!-- reserved id (MNG-4418) --> | |
<id>local</id> | |
<url>file:///${basedir}/repo</url> | |
</repository> | |
<!-- remote-only field (MNG-4430) --> | |
<status>deployed</status> | |
</distributionManagement> | |
<!-- if the model builder rejected this POM, the test will miss its (compile-time) dependencies --> | |
<dependencyManagement> | |
<dependencies> | |
<!-- duplicate managed dependencies (MNG-4005), both declarations apply in POM order, i.e. their effects get merged, using first-wins for values --> | |
<dependency> | |
<groupId>org.apache.maven.its.mng4403</groupId> | |
<artifactId>c</artifactId> | |
<version>0.1</version> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.its.mng4403</groupId> | |
<artifactId>c</artifactId> | |
<version>0.2</version> | |
<scope>test</scope> | |
<exclusions> | |
<exclusion> | |
<groupId>org.apache.maven.its.mng4403</groupId> | |
<artifactId>cc</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.maven.its.mng4403</groupId> | |
<artifactId>a</artifactId> | |
<version>0.2</version> | |
</dependency> | |
<dependency> | |
<!-- duplicate dependency with different version (MNG-4005), last declaration wins --> | |
<groupId>org.apache.maven.its.mng4403</groupId> | |
<artifactId>a</artifactId> | |
<!-- deprecated expression prefix (MNG-4421) --> | |
<version>${pom.version}</version> | |
</dependency> | |
<dependency> | |
<!-- dependency managed by duplicate declarations --> | |
<groupId>org.apache.maven.its.mng4403</groupId> | |
<artifactId>c</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.its.mng4403</groupId> | |
<artifactId>x</artifactId> | |
<!-- unresolvable property in dependency version (MNG-4383) --> | |
<version>${missing.property}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.its.mng4403</groupId> | |
<artifactId>y</artifactId> | |
<version>0.1</version> | |
<!-- invalid dependency scope (MNG-3991) --> | |
<scope>invalid</scope> | |
<optional>true</optional> | |
</dependency> | |
</dependencies> | |
<!-- unknown/misplaced element --> | |
<unknownElement/> | |
<repositories> | |
<!-- duplicate repository id's (MNG-4193) --> | |
<repository> | |
<id>non-unique-id</id> | |
<url>https://repo1.maven.org</url> | |
</repository> | |
<repository> | |
<id>non-unique-id</id> | |
<url>https://repo2.maven.org</url> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>non-unique-id</id> | |
<url>https://repo1.maven.org</url> | |
</pluginRepository> | |
<pluginRepository> | |
<id>non-unique-id</id> | |
<url>https://repo2.maven.org</url> | |
</pluginRepository> | |
</pluginRepositories> | |
<build> | |
<resources> | |
<resource> | |
<directory>src/main/resources</directory> | |
<!-- internal field (MNG-4945) --> | |
<mergeId>bad</mergeId> | |
</resource> | |
</resources> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.its.mng4405</groupId> | |
<artifactId>a</artifactId> | |
<!-- unresolvable property in plugin version (MNG-4405) --> | |
<version>${missing.property}</version> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.its.mng4405</groupId> | |
<artifactId>a</artifactId> | |
<!-- missing plugin version --> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.its.mng1701</groupId> | |
<artifactId>b</artifactId> | |
<version>1.0</version> | |
</plugin> | |
<plugin> | |
<!-- duplicate plugin declaration (MNG-1701) --> | |
<groupId>org.apache.maven.its.mng1701</groupId> | |
<artifactId>b</artifactId> | |
<version>1.0</version> | |
</plugin> | |
</plugins> | |
</build> | |
<profiles> | |
<profile> | |
<id>non-unique-id</id> | |
<repositories> | |
<!-- duplicate repository id's (MNG-4193) --> | |
<repository> | |
<id>non-unique-id</id> | |
<url>https://repo1.maven.org</url> | |
</repository> | |
<repository> | |
<id>non-unique-id</id> | |
<url>https://repo2.maven.org</url> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>non-unique-id</id> | |
<url>https://repo1.maven.org</url> | |
</pluginRepository> | |
<pluginRepository> | |
<id>non-unique-id</id> | |
<url>https://repo2.maven.org</url> | |
</pluginRepository> | |
</pluginRepositories> | |
</profile> | |
<profile> | |
<!-- non-unique profile id (MNG-4404) --> | |
<id>non-unique-id</id> | |
</profile> | |
</profiles> | |
</project> |