Maven 1

optional emails for contributors

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta-1
  • Fix Version/s: 1.1-beta-3
  • Component/s: model
  • Labels:
    None
  • Number of attachments :
    0

Description

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.

Activity

Hide
Lukas Theussl added a comment -

The contributor email is already optional in the current maven-v3_0_0.xsd.

Show
Lukas Theussl added a comment - The contributor email is already optional in the current maven-v3_0_0.xsd.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: