Maven artifact and groupId naming

后端 未结 5 1779
野性不改
野性不改 2020-11-30 16:01

I\'m currently in the process of moving some project from Ant to Maven. Conformist as I am, I want to use well-established conventions for finding groupId and <

5条回答
  •  我在风中等你
    2020-11-30 16:39

    However, I disagree the official definition of Guide to naming conventions on groupId, artifactId, and version which proposes the groupId must start with a reversed domain name you control.

    com means this project belongs to a company, and org means this project belongs to a social organization. These are alright, but for those strange domain like xxx.tv, xxx.uk, xxx.cn, it does not make sense to name the groupId started with "tv.","cn.", the groupId should deliver the basic information of the project rather than the domain.

提交回复
热议问题