有效的Maven开发人员角色是否有规则?

Sea*_*lly 6 java maven

Maven的支持<developers><roles>,但是,我看到有效的作用,并没有定论.

这些角色是否仅仅是用于文档目的的纯文本?如果没有正式的角色列表可供选择,是否有关于如何格式化角色名称的规则或标准?

例如,是UI开发人员a uideveloper,a ui-developer,a UI Developer等.

Abh*_*jan 5

这就是我在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)