当前位置:网站首页>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
边栏推荐
猜你喜欢
IDEA连接MySQL数据库并使用数据
For enterprises in the digital age, data governance is difficult, but it should be done
LeetCode·每日一题·1161.最大层内元素和·层次遍历
1小时直播招募令:行业大咖干货分享,企业报名开启丨量子位·视点
Comparison of Optical Motion Capture and UWB Positioning Technology in Multi-agent Cooperative Control Research
How to grab configuration information for DELL SC compellent storage system
纸质说明书秒变3D动画,斯坦福大学吴佳俊最新研究,入选ECCV 2022
Prometheus之node_exporter性能监控信息采集含义
jvm 一之 类加载器
Redis 】 【 publish and subscribe message
随机推荐
sentinel与nacos持久化
Resnet&API
The pre-sale of the new Hyundai Paristi is open, and safety and comfort are not lost
232层3D闪存芯片来了:单片容量2TB,传输速度提高50%
ML、DL、CV常见的问题整理
我把问烂了的MySQL面试题总结了一下
Nuget package and upload tutorial
尚硅谷-JVM-内存和垃圾回收篇(P1~P203)
Motion capture system for end-positioning control of flexible manipulators
LeetCode rotate array
MySQL【子查询】
常用工具命令速查表
Detailed guide to compare two tables using natural full join in SQL
Redis 】 【 publish and subscribe message
MySql总结
Unity study notes Description of AVPro video jump function (Seeking)
Five dimensions to start MySQL optimization
[QNX Hypervisor 2.2 User Manual]9.14 safety
ERROR: Failed building wheel for osgeo
ML, DL, CV common problems sorting