You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/05 17:36:04 UTC

[jira] [Commented] (MNG-6127) Fix plugin execution configuration interference

    [ https://issues.apache.org/jira/browse/MNG-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15998633#comment-15998633 ] 

ASF GitHub Bot commented on MNG-6127:
-------------------------------------

Github user michael-o commented on a diff in the pull request:

    https://github.com/apache/maven-integration-testing/pull/21#discussion_r115049986
  
    --- 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 --
    
    This should rather be `maven.version` as we always do in POMs.


> 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)