Maven
  1. Maven
  2. MNG-2817

Add identity specification in maven-model and maven-settings

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: POM, Settings
    • Labels:
      None

      Description

      Some generated objects are used in lists. Thus, it will be very useful to have identity specification for them: equals(..) and hashcode() (see MODELLO-43)
      For instance, see org.apache.maven.model.Resource used in model/build/resources

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          1054d 20h 1m 1 Jason van Zyl 30/Dec/09 12:50
          Mark Thomas made changes -
          Workflow jira [ 12952290 ] Default workflow, editable Closed status [ 12989639 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Workflow jira [ 12713356 ] Default workflow, editable Closed status [ 12755499 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Jason van Zyl made changes -
          Resolution Not A Bug [ 6 ]
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 2.3.x [ 14593 ]
          John Casey made changes -
          Fix Version/s 2.2.0-M1 [ 14593 ]
          Fix Version/s 2.1.0 [ 14587 ]
          John Casey made changes -
          Fix Version/s 2.1.0-M3 [ 14588 ]
          Fix Version/s 2.1.0-M2 [ 14587 ]
          Hide
          John Casey added a comment -

          Consolidating to 2.1.0-M1 so we can then rename to 2.1.0. We can weed out any issues we want to push to a later release from this set once we've done the consolidation.

          Show
          John Casey added a comment - Consolidating to 2.1.0-M1 so we can then rename to 2.1.0. We can weed out any issues we want to push to a later release from this set once we've done the consolidation.
          John Casey made changes -
          Assignee John Casey [ jdcasey ]
          Brett Porter made changes -
          Fix Version/s 3.x [ 13145 ]
          Fix Version/s 2.1.0-M3 [ 14588 ]
          Jason van Zyl made changes -
          Fix Version/s 3.x [ 13145 ]
          Fix Version/s 3.0 [ 13142 ]
          Hide
          jroberts added a comment -

          Is there any way this could get patched back to the 2.0.x branch? These are defect fixes rather than new functionality and the project I'm working on would rather not wait until the 2.1 release.

          Show
          jroberts added a comment - Is there any way this could get patched back to the 2.0.x branch? These are defect fixes rather than new functionality and the project I'm working on would rather not wait until the 2.1 release.
          Siveton Vincent made changes -
          Link This issue relates to MNG-3265 [ MNG-3265 ]
          Siveton Vincent made changes -
          Link This issue relates to MNG-3266 [ MNG-3266 ]
          Brett Porter made changes -
          Fix Version/s 2.1.x [ 13142 ]
          Component/s POM [ 11339 ]
          Fix Version/s Reviewed Pending Version Assignment [ 13555 ]
          Component/s Settings [ 12176 ]
          Jason van Zyl made changes -
          Fix Version/s Reviewed [ 13555 ]
          Hide
          Siveton Vincent added a comment -

          Waiting for identities from the super class.

          Show
          Siveton Vincent added a comment - Waiting for identities from the super class.
          Siveton Vincent made changes -
          Field Original Value New Value
          Link This issue depends upon MODELLO-83 [ MODELLO-83 ]
          Hide
          Siveton Vincent added a comment -

          Modello already generates these methods, just add the identifier parameter:

           
                  <field>
                    <name>name</name>
                    <version>3.0.0+</version>
                    <type>String</type>
                    <identifier>true</identifier>
                  </field>
          
          Show
          Siveton Vincent added a comment - Modello already generates these methods, just add the identifier parameter: <field> <name>name</name> <version>3.0.0+</version> <type>String</type> <identifier>true</identifier> </field>
          Siveton Vincent created issue -

            People

            • Assignee:
              John Casey
              Reporter:
              Siveton Vincent
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development