[
https://issues.apache.org/jira/browse/MNG-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15998760#comment-15998760
]
ASF GitHub Bot commented on MNG-6127:
-------------------------------------
Github user mkrizmanic commented on a diff in the pull request:
https://github.com/apache/maven-integration-testing/pull/21#discussion_r115063523
--- Diff: core-it-suite/src/test/resources/mng-6127/plugin/pom.xml ---
@@ -0,0 +1,55 @@
+<?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 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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>mng-6127</groupId>
+ <artifactId>mng-6127-plugin</artifactId>
+ <version>0.1</version>
+ <packaging>maven-plugin</packaging>
+
+ <properties>
+ <maven-version>3.3.1</maven-version>
--- End diff --
Hi, it should be defined here because we do not have a parent pom which
contains the next artifact versions.
The same pattern is used in other ITs. For instance:
https://github.com/apache/maven-integration-testing/blob/master/core-it-suite/src/test/resources/mng-5578-session-scope/plugin/pom.xml
> Fix plugin execution configuration interference
> -----------------------------------------------
>
> Key: MNG-6127
> URL: https://issues.apache.org/jira/browse/MNG-6127
> Project: Maven
> Issue Type: Bug
> Components: core
> Affects Versions: 3.3.9
> Reporter: Mario Krizmanic
> Fix For: 3.5.1-candidate, needing-scrub-3.4.0-fallout
>
>
> The plugin execution configuration may interfere across maven modules
> included in a build in case a plugin extension provides a default
> configuration.
> Because the custom plugin configuration defined in the maven modules is
> merged to the plugin execution configuration and the merged configuration is
> re-used during building the other included maven modules, so the other maven
> modules may be build using the invalid configuration.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)