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

Add identity specification in maven-model and maven-settings

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

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

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

depends upon

Bug - A problem which impairs or prevents the functions of the product. MODELLO-83 Improvements for the generated methods equals(...), hashCode(), toString()

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

Bug - A problem which impairs or prevents the functions of the product. MNG-3265 maven-model Extension.equals causes NPE when any field is uninitialized

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

Bug - A problem which impairs or prevents the functions of the product. MNG-3266 maven-model RepositoryBase overrides equals() but not hashCode()

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Vincent Siveton added a comment - 12/Feb/07 8:18 AM

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
Vincent Siveton added a comment - 12/Feb/07 8:18 AM 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>
Hide
Permalink
Vincent Siveton added a comment - 12/Feb/07 8:20 AM

Waiting for identities from the super class.

Show
Vincent Siveton added a comment - 12/Feb/07 8:20 AM Waiting for identities from the super class.
Hide
Permalink
Jared Roberts added a comment - 13/May/08 3:41 PM

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
Jared Roberts added a comment - 13/May/08 3:41 PM 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.
Hide
Permalink
John Casey added a comment - 09/Feb/09 9:35 AM

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 - 09/Feb/09 9:35 AM 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.

People

  • Assignee:
    John Casey
    Reporter:
    Vincent Siveton
Vote (0)
Watch (0)

Dates

  • Created:
    09/Feb/07 4:49 PM
    Updated:
    30/Dec/09 12:50 PM
    Resolved:
    30/Dec/09 12:50 PM
  • 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.