You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2007/02/12 15:18:21 UTC

[jira] Commented: (MNG-2817) Add identity specification in maven-model and maven-settings

    [ http://jira.codehaus.org/browse/MNG-2817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_87366 ] 

Vincent Siveton commented on MNG-2817:
--------------------------------------

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

{noformat} 
        <field>
          <name>name</name>
          <version>3.0.0+</version>
          <type>String</type>
          <identifier>true</identifier>
        </field>
{noformat} 


> Add identity specification in maven-model and maven-settings
> ------------------------------------------------------------
>
>                 Key: MNG-2817
>                 URL: http://jira.codehaus.org/browse/MNG-2817
>             Project: Maven 2
>          Issue Type: Bug
>            Reporter: Vincent Siveton
>
> 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

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