feat(maven-cw-elevator): 增加 starter 模块与可执行发布包

- 新增 cw-elevator-application-starter:repackage 产出 cw-elevator-application-2.0.0.jar
- ElevatorApplication:Feign、MapperScan、Async、Cache、AOP、EnableCloudwalkEvent
- 父 POM 引入 Spring Cloud Greenwich.SR6 BOM;service 使用 spring-cloud-starter-openfeign
- 主类 Start-Class: cn.cloudwalk.elevator.ElevatorApplication

Made-with: Cursor

Former-commit-id: 2b89dcb5aab7c0f29a1068fc9839de99670f2789
This commit is contained in:
反编译工作区
2026-04-25 09:41:11 +08:00
parent dee355b4a7
commit 2cd9da61da
4 changed files with 110 additions and 3 deletions
+12
View File
@@ -22,6 +22,7 @@
<module>cw-elevator-application-data</module>
<module>cw-elevator-application-service</module>
<module>cw-elevator-application-web</module>
<module>cw-elevator-application-starter</module>
</modules>
<properties>
@@ -56,10 +57,21 @@
<nexus.public.repo>${nexus.baseUrl}/repository/maven-public/</nexus.public.repo>
<formatter.maven.plugin.version>2.24.1</formatter.maven.plugin.version>
<alibaba.eclipse.codestyle.path>${project.basedir}/../docs/style/alibaba-eclipse-codestyle.xml</alibaba.eclipse.codestyle.path>
<!-- 与 Spring Boot 2.1.18 对齐的 OpenFeign/Cloud 版本(发布包可执行 JAR 需要) -->
<spring-cloud.version>Greenwich.SR6</spring-cloud.version>
<!-- spring-boot-maven-plugin repackage 产出的可执行 JAR 文件名(不含 .jar) -->
<elevator.release.finalName>cw-elevator-application-2.0.0</elevator.release.finalName>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>cn.cloudwalk.cloud</groupId>
<artifactId>cloudwalk-common-result</artifactId>