optional emails for contributors
--------------------------------

         Key: MAVEN-1650
         URL: http://jira.codehaus.org/browse/MAVEN-1650
     Project: maven
        Type: Improvement
  Components: model  
 Reporter: Elliotte Rusty Harold
    Priority: Minor


I notice jaxen has a lot of contributor elements that have empty email 
addresses. For example,

    <contributor>
      <name>David Peterson</name> 
      <email></email>
    </contributor>

If we don't know or don't wish to publish the email address for a person we 
shouldn't have to provide it in project.xml. I suggest changing 
 
 <xs:group name="contactDetails">
      <xs:sequence>
        <xs:element ref="email"/>
        <xs:element name="organization" type='xs:string' minOccurs="0"/>
        <xs:element ref="roles" minOccurs="0" />
        <xs:element ref="url" minOccurs="0" />
        <xs:element ref="timezone" minOccurs="0" />
      </xs:sequence>
  </xs:group>

to

 <xs:group name="contactDetails">
      <xs:sequence>
        <xs:element ref="email" minOccurs="0"/>
        <xs:element name="organization" type='xs:string' minOccurs="0"/>
        <xs:element ref="roles" minOccurs="0" />
        <xs:element ref="url" minOccurs="0" />
        <xs:element ref="timezone" minOccurs="0" />
      </xs:sequence>
  </xs:group>

Possibly other things need to be changed to suppor this as well, but this is 
what I noticed. 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to