jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2 & 3
  • MNG-2297

plugin definitions not merged correctly

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 2.0.4
  • Fix Version/s: None
  • Component/s: Plugins and Lifecycle
  • Labels:
    None
  • Complexity:
    Intermediate
  • Testcase included:
    yes

Description

If both a parent, and a child plugin reference a plugin, the plugin configuration is not merged correctly; instead, the child build ends up with two copies of the plugin (with separate configuration and separate executions).

The attachment contains a testcase demonstrating the problem, and fixes to ModelUtils.java (against current trunk) to fix it.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    maven-project-plugins.patch
    06/Jun/06 11:26 AM
    6 kB
    Richard van der Hoff
  2. Text File
    maven-project-plugins.patch
    15/May/06 11:20 AM
    4 kB
    Richard van der Hoff

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. MNG-2237 Inherited plugin executed twice if child pom merges configuration

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Richard van der Hoff added a comment - 06/Jun/06 11:26 AM

This version of the patch actually includes all the files needed for the testcase...

Show
Richard van der Hoff added a comment - 06/Jun/06 11:26 AM This version of the patch actually includes all the files needed for the testcase...

People

  • Assignee:
    Carlos Sanchez
    Reporter:
    Richard van der Hoff
Vote (1)
Watch (2)

Dates

  • Created:
    15/May/06 11:20 AM
    Updated:
    08/Jun/06 7:30 AM
    Resolved:
    08/Jun/06 7:30 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.