Maven 支持<developers>
with <roles>
但是,我没有看到有效角色的正式列表。
这些角色只是用于文档目的的纯文本吗?如果没有正式的角色列表可供选择,是否有关于如何格式化角色名称的规则或标准?
例如,UI 开发人员是uideveloper
, a ui-developer
, a UI Developer
, etc.
这是我在 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>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)