当前位置:网站首页>Groupid(artifact id)
Groupid(artifact id)
2022-07-31 14:26:00 【Full stack programmer webmaster】
Hello everyone, meet again, I'm your friend Quanstack Jun.
What are groupid and artifactId?
groupid and artifactId are collectively referred to as "coordinates", which are proposed to ensure the uniqueness of the project. If you want to get your project to the maven local warehouse, you must find your project according to these two ids.Find.groupId and artifactId are the fields that maven uses to distinguish when managing project packages, just like coordinates on a map.artifactId: artifactId is generally the project name or module name.groupId: groupId is divided into several fields, such as cn.com.fullstack, the front com is called [domain], and the back is the domain name you created yourself.The groupId is generally divided into multiple segments, here I only mention two segments, the first segment is the domain, and the second segment is the company name.Domains are divided into org, com, cn, etc., among which org is a non-profit organization and com is a commercial organization.Take the tomcat project of apache company as an example: the groupId of this project is org.apache, its domain is org (because tomcat is a non-profit project), the company name is apache, and the artigactId is tomcat.
【Function】
Generally speaking, the root directory of the package name=groupId+artifactId.This is not allowed to be repeated with others, especially for projects that need to be launched.Generally, companies will register a domain name (the kind used for URL) in order not to repeat, so that it will not be repeated.
4.0.0 Springboot project creation must inherit the parent classorg.springframework.boot spring-boot-starter-parent 2.2.0.RELEASE GAV coordinatescom.offcn springbootdemo 0.0.1-SNAPSHOT springbootdemo Demo project for Spring Boot 1.8 Two dependencies that springboot must haveorg.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-test test org.junit.vintage junit-vintage-engine org.projectlombok lombok 1.18.10 Publisher: Full-stack programmer, please indicate the source: https://javaforall.cn/128455.htmlOriginal link: https://javaforall.cn
边栏推荐
- Use of el-tooltip
- Message queue data storage MySQL table design
- 易驱线主控芯片对比(电动三轮电机90O瓦世纪通达)
- The role of /etc/profile, /etc/bashrc, ~/.bash_profile, ~/.bashrc files
- 使用NVM进行node版本切换管理
- [QNX Hypervisor 2.2 User Manual]9.14 safety
- The recently popular domestic interface artifact Apipost experience
- OAuth2:搭建授权服务器
- 新款现代帕里斯帝预售开启,安全、舒适一个不落
- Groupid(artifact id)
猜你喜欢
随机推荐
leetcode:485.最大连续 1 的个数
R语言的画图代码及差异性分析[通俗易懂]
svn安装及使用(身体功能手册)
使用CompletableFuture进行异步处理业务
redhat/openssl generates a self-signed ca certificate and uses it
UnityShader入门学习(三)——Unity的Shader
动作捕捉系统用于柔性机械臂的末端定位控制
Detailed guide to compare two tables using natural full join in SQL
[QNX Hypervisor 2.2 User Manual]9.14 safety
SetoolKit User Guide
常用工具命令速查表
Shell项目实战1.系统性能分析
NPM淘宝镜像(最新版本)于2021-11-21 16:53:52发布新版本npm镜像[通俗易懂]
LeetCode·每日一题·1161.最大层内元素和·层次遍历
The 232-layer 3D flash memory chip is here: the single-chip capacity is 2TB, and the transmission speed is increased by 50%
jvm 一之 类加载器
Small test knife: Go reflection helped me convert Excel to Struct
五个维度着手MySQL的优化
ML、DL、CV常见的问题整理
A detailed guide to simulating latency with SQL/JDBC









