7

请教关于maven的多模块项目组织的问题

 2 years ago
source link: https://www.oschina.net/question/221075_2324443
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

请教关于maven的多模块项目组织的问题

项目是这样拆分的,管理后台、小程序接口都是基于springboot的,公共功能里面放的都是业务逻辑service/mapper/entity之类的,管理后台和小程序接口依赖这个公共功能模块。

能否实现这样,管理后台、小程序接口还有公共功能的依赖,和公共功能一起,都放到jar外面的库文件夹里,运行的jiar通过-Dloader.path=path的方式引用依赖。

这样应该如何组织项目(maven多模块?)比较合适?如何打包?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK