有效的Maven开发人员角色是否有规则? [英] Are there rules for valid Maven developer roles?

查看:77
本文介绍了有效的Maven开发人员角色是否有规则?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Maven支持< developers> < roles> ,但是,我看不到有效的正式列表角色。

Maven supports <developers> with <roles>, however, I see no official list of valid roles.

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

Are these roles just plain text for documentation purposes? If there is no official list of roles to choose from, are there any rules or standards on how to format role names?

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

For example, is a UI developer a uideveloper, a ui-developer, a UI Developer, etc.

推荐答案

这就是我在XSD中看到的。角色只是一个简单的 xs:string ,它主要用于文档。

This is what I see in the XSD. Role is just a plain xs:string and it is mainly used for documentation.

<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>

这篇关于有效的Maven开发人员角色是否有规则?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆