Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1-beta-1
-
Component/s: model additions
-
Labels:None
-
Number of attachments :
Description
In the schema for the Maven project descriptor, it only allows for one archive sub-element in each mailingList element. We have some mailing lists which are archived in a few places, in particular Sourceforge's "official" archives, and Geocrawler (which has frequently been keeping up to date better recently). It would be nice if all these archive locations could be specified for the lists in the descriptor.
Changing the schema to have
<xs:element name="mailingList">
<xs:complexType>
<xs:sequence>
<xs:element ref="name"/>
<xs:element ref="subscribe"/>
<xs:element ref="unsubscribe"/>
<xs:element ref="archive" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
would allow this, though I don't know where this actually gets used i.e. what other implications to templates etc. there might be.
Issue Links
| This issue is related to: | ||||
| MAVEN-1407 | Add mailing list address to POM |
|
|
|
The short answer is that the schema is pretty much only used for validation.
The code that assumes only one archive is in src/plugins-build/xdoc/templates/mail-lists.xml
That would need a change