当前位置: 首页 > news >正文

项目架构调整,新增sunrays-combinations模块

文章目录

    • 1.介绍
    • 2.环境搭建
        • 1.sunrays-framework下新建sunrays-combinations模块
        • 2.删除src
        • 3.pom.xml
        • 4.查看是否交给sunrays-framework管理
        • 5.删除sunrays-common中module引用的common-core-starter
        • 6.sunrays-combinations统一管理子模块
        • 7.common-all-starter的父模块修改为sunrays-combinations
    • 3.修改common-core-starter为combinations-all-starter
        • 1.修改模块名和文件夹名
        • 2.sunrays-combinations统一管理
        • 3.继承sunrays-combinations模块
        • 4.修改common-core-starter-demo为combinations-all-starter-demo

1.介绍

sunrays-combinations模块是用于组合sunrays-common模块中的非业务性starter从而根据自己的业务定制化starter的

2.环境搭建

1.sunrays-framework下新建sunrays-combinations模块

CleanShot 2024-12-14 at 14.50.46@2x

2.删除src

CleanShot 2024-12-14 at 14.51.32@2x

3.pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"><modelVersion>4.0.0</modelVersion><parent><groupId>com.sunxiansheng</groupId><artifactId>sunrays-framework</artifactId><version>1.0.5</version></parent><version>1.0.5</version><artifactId>sunrays-combinations</artifactId></project>
4.查看是否交给sunrays-framework管理

CleanShot 2024-12-14 at 15.02.24@2x

5.删除sunrays-common中module引用的common-core-starter
6.sunrays-combinations统一管理子模块
    <!-- 统一管理子模块 --><packaging>pom</packaging><modules><module>common-core-starter</module></modules>
7.common-all-starter的父模块修改为sunrays-combinations
    <parent><groupId>com.sunxiansheng</groupId><artifactId>sunrays-combinations</artifactId><version>1.0.5</version></parent>

3.修改common-core-starter为combinations-all-starter

1.修改模块名和文件夹名

CleanShot 2024-12-14 at 15.26.30@2x

2.sunrays-combinations统一管理
<!-- 统一管理子模块 -->
<packaging>pom</packaging>
<modules><module>combinations-all-starter</module>
</modules>
3.继承sunrays-combinations模块
    <parent><groupId>com.sunxiansheng</groupId><artifactId>sunrays-combinations</artifactId><version>1.0.5</version></parent><version>1.0.5</version>
4.修改common-core-starter-demo为combinations-all-starter-demo

CleanShot 2024-12-14 at 15.51.36@2x

http://www.lryc.cn/news/523431.html

相关文章:

  • linux网络编程11——线程池
  • MySQL - 主从同步
  • 基于微信小程序的安心陪诊管理系统
  • 深入剖析iOS网络优化策略,提升App性能
  • 游戏开发中常用的设计模式
  • 【PyCharm】远程连接Linux服务器
  • InVideo AI技术浅析(五):生成对抗网络
  • Spring自定义BeanPostProcessor实现bean的代理
  • 【HF设计模式】06-命令模式
  • Linux使用SSH连接GitHub指南
  • v2富文本框封装 @wangeditor/editor-for-vue
  • 【分类】【损失函数】处理类别不平衡:CEFL 和 CEFL2 损失函数的实现与应用
  • AUTOSAR从入门到精通-自动驾驶测试技术
  • 优化大型语言模型的表达能力和依赖关系:理论
  • 在Ubuntu下使用Wine运行MobaXterm并解决X服务器问题
  • 【鸿蒙】0x02-LiteOS-M基于Qemu RISC-V运行
  • SW - 钣金零件保存成DWG时,需要将折弯线去掉
  • JAVA使用自定义注解,在项目中实现EXCEL文件的导出
  • 【GIS操作】使用ArcGIS Pro进行海图的地理配准(附:墨卡托投影对比解析)
  • flutter在使用gradle时的加速
  • ABP - 缓存模块(1)
  • 二、点灯基础实验
  • 双端队列实战 实现滑动窗口 用LinkedList的基类双端队列Deque实现 洛谷[P1886]
  • HTML<img>标签
  • 【网络 MAC 学习专栏 -- 如何理解 PHY 的 Link Up】
  • Linux虚拟机安装与FinalShell使用:探索Linux世界的便捷之旅
  • Mixly米思齐1.0 2.0 3.0 软件windows版本MAC苹果电脑系统安装使用常见问题与解决
  • vben5 admin ant design vue如何使用时间范围组件RangePicker
  • Kafka 日志存储 — 文件目录及日志格式
  • 故障诊断 | BWO白鲸算法优化KELM故障诊断(Matlab)