blob: 615ab811ee6688004d5c4afa976336f539d6a17c [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.mng4479</groupId>
<artifactId>test</artifactId>
<version>0.1</version>
<packaging>jar</packaging>
<name>Maven Integration Test :: MNG-4479</name>
<description>
Verify that project-level plugin dependencies are used for direct invocations of the plugin and that they
can contribute classes required for the plugin configuration when the plugin is declared using properties
for its key.
</description>
<properties>
<pluginGroupId>org.apache.maven.its.plugins</pluginGroupId>
<pluginArtifactId>maven-it-plugin-parameter-implementation</pluginArtifactId>
</properties>
<build>
<plugins>
<plugin>
<!-- NOTE: It's the essential part of the test to use properties for the plugin key -->
<groupId>${pluginGroupId}</groupId>
<artifactId>${pluginArtifactId}</artifactId>
<version>2.1-SNAPSHOT</version>
<configuration>
<outputFile>target/param.properties</outputFile>
<!-- The implementation class for this parameter needs to be loaded from the dependency below -->
<theParameter implementation="org.apache.maven.plugin.coreit.ItImpl">
<field>passed</field>
</theParameter>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.its.mng4479</groupId>
<artifactId>dep</artifactId>
<version>0.1</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<!-- NOTE: The presence of another plugin declaration is crucial to trigger the bug -->
<artifactId>maven-resources-plugin</artifactId>
<version>2.1</version>
</plugin>
</plugins>
</build>
</project>