Maven的支持<developers>与<roles>,但是,我看到有效的作用,并没有定论.
这些角色是否仅仅是用于文档目的的纯文本?如果没有正式的角色列表可供选择,是否有关于如何格式化角色名称的规则或标准?
例如,是UI开发人员a uideveloper,a ui-developer,a UI Developer等.
这就是我在XSD中看到的.角色只是一个简单的xs:string,它主要用于文档.
<xs:element name="roles" minOccurs="0">
<xs:annotation>
<xs:documentation source="version">3.0.0+</xs:documentation>
<xs:documentation source="description">
The roles the contributor plays in the project. Each role is described by a <code>role</code> element, the body of which is a role name. This can also be used to describe the contribution.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="role" minOccurs="0" maxOccurs="unbounded" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
994 次 |
| 最近记录: |