Maven
  1. Maven
  2. MNG-4436

[regression] Singleton components can get instantianted multiple times

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-alpha-3
    • Fix Version/s: 3.0-alpha-4
    • Component/s: None
    • Labels:
      None

      Description

      As Igor discovered, the changes made for MNG-4429 caused a regression regarding lookup of singleton components. In detail, a scenario like

      /** @component */
      private Component singleton1;
      
      /** @component roleHint="default" */
      private Component singleton2;
      

      will get two different instances of the same singleton component.

        Activity

        Benjamin Bentmann created issue -
        Benjamin Bentmann made changes -
        Field Original Value New Value
        Link This issue depends upon PLX-444 [ PLX-444 ]
        Hide
        Benjamin Bentmann added a comment -

        To be more precise, this is a regression in Maven 3.x. The bug is present in all released versions of Maven 2.x

        Show
        Benjamin Bentmann added a comment - To be more precise, this is a regression in Maven 3.x. The bug is present in all released versions of Maven 2.x
        Hide
        Benjamin Bentmann added a comment -

        Fixed in r834989 by updating to plexus:1.5.1.

        Show
        Benjamin Bentmann added a comment - Fixed in r834989 by updating to plexus:1.5.1.
        Benjamin Bentmann made changes -
        Resolution Fixed [ 1 ]
        Assignee Benjamin Bentmann [ bentmann ]
        Fix Version/s 3.0-alpha-4 [ 14951 ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
        Mark Thomas made changes -
        Workflow jira [ 12714744 ] Default workflow, editable Closed status [ 12754397 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
        Mark Thomas made changes -
        Workflow jira [ 12951223 ] Default workflow, editable Closed status [ 12987481 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        7h 1 Benjamin Bentmann 11/Nov/09 12:03

          People

          • Assignee:
            Benjamin Bentmann
            Reporter:
            Benjamin Bentmann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development