创建模块并打包如下:

3、maven项目打包jar给其他项目pom引用

 

 

 

在其他模块调用时:

 <dependency>
     <groupId>org.example</groupId>
     <artifactId>cloud-api-commons</artifactId>
     <version>${project.version}</version>
</dependency>

 


查看<groudId>号为:

3、maven项目打包jar给其他项目pom引用

 

 

相关文章: