- axum 0.8 + pglite:12 张表,多应用按 App-Code 头解析 f_system_id 隔离 - 面 A(ssw/react 形状)+ 面 B(官方 JNPF 形状,Vue-Version: 3)双契约并存 - 业务模块 asset/DataResource;面 B 用户 CRUD 9 条已落地 - 六道闸门 + 两把运行时尺子(perm-smoke 43 / perm-smoke-jnpf 23) - scripts/:前端接口清单、页面依赖反查、运行时探针
91 lines
3.5 KiB
XML
91 lines
3.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!--
|
||
ssw-admin — Spring Boot 启动入口(唯一可执行 artifact)。
|
||
|
||
⚠️ 不要用 jnpf-common-all 伞包:每个 jnpf-* 子包自身 pom 用 ${revision} 占位 1.0.0-RELEASE,
|
||
在 BOM 继承路径下解析失败。改直引 jnpf-common-core + jnpf-common-database,
|
||
并 <exclusion> 排除不需要的 SaaS 集成包(activiti/tencent-oss 等)。
|
||
|
||
⚠️ jnpf-common-database 的 IdGeneratorConfig 自动启动,
|
||
需要 spring-boot-starter-data-redis + RedisTemplate bean(application-dev.yml 已含配置)。
|
||
-->
|
||
<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">
|
||
<parent>
|
||
<groupId>com.example</groupId>
|
||
<artifactId>ssw-boot</artifactId>
|
||
<version>1.0.0-SNAPSHOT</version>
|
||
</parent>
|
||
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<artifactId>ssw-admin</artifactId>
|
||
<packaging>jar</packaging>
|
||
|
||
<dependencies>
|
||
<!-- jnpf 核心 — 不要换成 jnpf-common-all,参见顶部 ⚠️ -->
|
||
<dependency>
|
||
<groupId>com.jnpf</groupId>
|
||
<artifactId>jnpf-common-core</artifactId>
|
||
<version>${jnpf.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>com.jnpf</groupId>
|
||
<artifactId>jnpf-activiti</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>com.jnpf</groupId>
|
||
<artifactId>jnpf-tencent-oss</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.jnpf</groupId>
|
||
<artifactId>jnpf-common-database</artifactId>
|
||
<version>${jnpf.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Redis:IdGeneratorConfig 必需(雪花算法 workerId 持久化) -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 业务模块入口(每个业务模块 -controller 子模块都要列) -->
|
||
<dependency>
|
||
<groupId>com.example</groupId>
|
||
<artifactId>ssw-demo-controller</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Lombok + Spring Boot 打包插件 -->
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<configuration>
|
||
<mainClass>ssw.SswAdminApplication</mainClass>
|
||
</configuration>
|
||
<!--
|
||
⚠️ 必须显式绑 repackage 目标到 package 阶段,否则 maven-jar-plugin 先打一个瘦 jar 覆盖输出,
|
||
启动 java -jar 会找不到依赖。
|
||
-->
|
||
<executions>
|
||
<execution>
|
||
<goals>
|
||
<goal>repackage</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</project> |