You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/12/22 19:37:19 UTC

[jira] Created: (MNG-3938) [regression] Plugin executions with default id are not always merged

[regression] Plugin executions with default id are not always merged
--------------------------------------------------------------------

                 Key: MNG-3938
                 URL: http://jira.codehaus.org/browse/MNG-3938
             Project: Maven 2
          Issue Type: Bug
          Components: Inheritance and Interpolation
    Affects Versions: 3.0-alpha-1
            Reporter: Benjamin Bentmann
            Priority: Minor


Plugin executions using the default id are not merged during inheritance if
a) the parent POM defines the plugin via plugin management
b) the parent POM omits the {{<id>}} for the plugin execution
c) the child POM uses {{<id>default</id>}} for the plugin execution

This causes Maven 3.x to fail with a validation error (duplicate execution ids)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Work started: (MNG-3938) [regression] Plugin executions with default id are not always merged

Posted by "Shane Isbell (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MNG-3938 started by Shane Isbell.

> [regression] Plugin executions with default id are not always merged
> --------------------------------------------------------------------
>
>                 Key: MNG-3938
>                 URL: http://jira.codehaus.org/browse/MNG-3938
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.0-alpha-1
>            Reporter: Benjamin Bentmann
>            Assignee: Shane Isbell
>            Priority: Minor
>             Fix For: 3.0-alpha-2
>
>
> Plugin executions using the default id are not merged during inheritance if
> a) the parent POM defines the plugin via plugin management
> b) the parent POM omits the {{<id>}} for the plugin execution
> c) the child POM uses {{<id>default</id>}} for the plugin execution
> This causes Maven 3.x to fail with a validation error (duplicate execution ids)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MNG-3938) [regression] Plugin executions with default id are not always merged

Posted by "Shane Isbell (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shane Isbell closed MNG-3938.
-----------------------------

    Resolution: Fixed

Added in "default" id for plugin executions without id into PomTransformer.

> [regression] Plugin executions with default id are not always merged
> --------------------------------------------------------------------
>
>                 Key: MNG-3938
>                 URL: http://jira.codehaus.org/browse/MNG-3938
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.0-alpha-1
>            Reporter: Benjamin Bentmann
>            Assignee: Shane Isbell
>            Priority: Minor
>             Fix For: 3.0-alpha-2
>
>
> Plugin executions using the default id are not merged during inheritance if
> a) the parent POM defines the plugin via plugin management
> b) the parent POM omits the {{<id>}} for the plugin execution
> c) the child POM uses {{<id>default</id>}} for the plugin execution
> This causes Maven 3.x to fail with a validation error (duplicate execution ids)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3938) [regression] Plugin executions with default id are not always merged

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl updated MNG-3938:
-------------------------------

    Fix Version/s:     (was: 3.0-alpha-3)
                   3.0-alpha-2

> [regression] Plugin executions with default id are not always merged
> --------------------------------------------------------------------
>
>                 Key: MNG-3938
>                 URL: http://jira.codehaus.org/browse/MNG-3938
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.0-alpha-1
>            Reporter: Benjamin Bentmann
>            Assignee: Shane Isbell
>            Priority: Minor
>             Fix For: 3.0-alpha-2
>
>
> Plugin executions using the default id are not merged during inheritance if
> a) the parent POM defines the plugin via plugin management
> b) the parent POM omits the {{<id>}} for the plugin execution
> c) the child POM uses {{<id>default</id>}} for the plugin execution
> This causes Maven 3.x to fail with a validation error (duplicate execution ids)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-3938) [regression] Plugin executions with default id are not always merged

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3938:
------------------------------

    Fix Version/s: 3.0-alpha-3

> [regression] Plugin executions with default id are not always merged
> --------------------------------------------------------------------
>
>                 Key: MNG-3938
>                 URL: http://jira.codehaus.org/browse/MNG-3938
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.0-alpha-1
>            Reporter: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 3.0-alpha-3
>
>
> Plugin executions using the default id are not merged during inheritance if
> a) the parent POM defines the plugin via plugin management
> b) the parent POM omits the {{<id>}} for the plugin execution
> c) the child POM uses {{<id>default</id>}} for the plugin execution
> This causes Maven 3.x to fail with a validation error (duplicate execution ids)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira