blob: 0e6642d6c094e2ed5437277b659ae5b525f91f25 [file] [log] [blame]
<?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>
<groupId>org.apache.maven.its.mng4666</groupId>
<artifactId>test</artifactId>
<version>1.0</version>
<name>Maven Integration Test :: MNG-4666</name>
<description>
Verify that API types from the Maven core realm are shared/imported into the plugin realm despite the plugin
declaring conflicting dependencies. For the core artifact filter, this boils down to the filter properly
recognizing such a conflicting dependency, i.e. knowing the relevant groupId:artifactId's.
</description>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.its.plugins</groupId>
<artifactId>maven-it-plugin-class-loader</artifactId>
<version>2.1-SNAPSHOT</version>
<dependencies>
<!-- stub dependencies (but with real groupId:artifactId) emulating common plugin dependencies -->
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-settings</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-descriptor</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>plexus</groupId>
<artifactId>plexus-container-default</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-api</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-classworlds</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>classworlds</groupId>
<artifactId>classworlds</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>org.sonatype.spice</groupId>
<artifactId>spice-inject-plexus</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-inject-plexus</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>org.sonatype.aether</groupId>
<artifactId>aether-api</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>org.sonatype.aether</groupId>
<artifactId>aether-spi</artifactId>
<version>0.1-stub</version>
</dependency>
<dependency>
<groupId>org.sonatype.aether</groupId>
<artifactId>aether-impl</artifactId>
<version>0.1-stub</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>test</id>
<phase>validate</phase>
<configuration>
<assigncompatPropertiesFile>target/type.properties</assigncompatPropertiesFile>
<classNames>
<className>org.apache.maven.plugin.Mojo</className>
<className>org.apache.maven.plugin.descriptor.PluginDescriptor</className>
<className>org.apache.maven.project.MavenProject</className>
<className>org.apache.maven.execution.MavenSession</className>
<className>org.apache.maven.artifact.Artifact</className>
<className>org.apache.maven.model.Model</className>
<className>org.apache.maven.settings.Settings</className>
<className>org.codehaus.plexus.logging.LogEnabled</className>
<className>org.codehaus.plexus.logging.Logger</className>
<className>org.codehaus.plexus.configuration.PlexusConfiguration</className>
<className>org.codehaus.plexus.classworlds.realm.ClassRealm</className>
<className>org.codehaus.classworlds.ClassRealm</className>
<className>org.codehaus.plexus.util.xml.Xpp3Dom</className>
<className>org.sonatype.aether.RepositorySystem</className>
<className>org.sonatype.aether.spi.connector.RepositoryConnectorFactory</className>
<className>org.sonatype.aether.impl.ArtifactDescriptorReader</className>
</classNames>
</configuration>
<goals>
<goal>assignment-compatible</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>