当前位置:网站首页>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
边栏推荐
- C# using ComboBox control
- 尚硅谷-JVM-内存和垃圾回收篇(P1~P203)
- 搭建私有的的Nuget包服务器教程
- Unity学习笔记 关于AVPro视频跳转功能(Seeking)的说明
- MySQL [subquery]
- Small test knife: Go reflection helped me convert Excel to Struct
- The Selenium IDE of the Selenium test automation
- Architecture actual combat battalion module 8 message queue table structure design
- In the future, the interviewer asks you why it is not recommended to use Select *, please answer him out loud!
- 【Pytorch】torch.argmax()用法
猜你喜欢

The 232-layer 3D flash memory chip is here: the single-chip capacity is 2TB, and the transmission speed is increased by 50%

UnityShader入门学习(三)——Unity的Shader

How to grab configuration information for DELL SC compellent storage system

2021 OWASP TOP 10 Vulnerability Guide

Redis与分布式:哨兵模式

以后面试官问你 为啥不建议使用Select *,请你大声回答他!

The Selenium IDE of the Selenium test automation

Node version switching management using NVM

MySQL has played to such a degree, no wonder the big manufacturers are rushing to ask for it!

LeetCode·每日一题·1161.最大层内元素和·层次遍历
随机推荐
网线RJ45接口针脚[通俗易懂]
【Pytorch】torch.argmax()用法
How to clean up the lodash.memoize cache in the element-plus virtual table virtual-list component?
OpenShift 4 - 用 Operator 部署 Redis 集群
[QNX Hypervisor 2.2 User Manual] 9.13 rom
什么是消息队列呢?
The role of /etc/profile, /etc/bashrc, ~/.bash_profile, ~/.bashrc files
232层3D闪存芯片来了:单片容量2TB,传输速度提高50%
Selenium自动化测试之Selenium IDE
Comparison of Optical Motion Capture and UWB Positioning Technology in Multi-agent Cooperative Control Research
MySQL【聚合函数】
LeetCode只出现一次的数字
C language basic practice (nine-nine multiplication table) and printing different asterisk patterns
leetcode:485.最大连续 1 的个数
The Selenium IDE of the Selenium test automation
Redis与分布式:集群搭建
UnityShader入门学习(一)——GPU与Shader
Unity Shader入门精要学习——透明效果
【redis】发布和订阅消息
UnityShader入门学习(二)——渲染流水线