Files
ssw-mvp/boot/ssw-common/pom.xml
T
admin 3247e9fd15 init: ssw-mvp initial commit
- boot/ (Java/Maven, JNPF 7.0) — 移除旧的 boot/.git,源码直接纳入仓库
- web/ (Vue 3 + Vite + Ant Design Vue, pnpm)
- docs/, scard/, nax/
- refs/INDEX.md + refs/国标/(其余 refs/* 开源子仓库不纳入)
- 已忽略: connector_data/, jweb/, log/, web/{dist,node_modules,.pnpm}, boot/*/target/, .DS_Store, .idea, .vscode
2026-08-05 18:29:12 +08:00

50 lines
2.2 KiB
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.jnpf</groupId>
<artifactId>ssw-boot</artifactId>
<version>7.0.0-RELEASE</version>
</parent>
<packaging>pom</packaging>
<modules>
<module>ssw-common-biz</module>
<module>ssw-common-controller</module>
<module>ssw-common-entity</module>
</modules>
<artifactId>ssw-common</artifactId>
<properties>
<!-- 同 ssw-tds/ssw-tdc/ssw-sswflow: jnpf-dependencies 的 boot3 profile 把 source 锁在 8,
导致 String.isBlank()、var、switch 表达式等 Java 9+ 语法编译不过。这里抬到 17。
(2026-08-02 补: 之前只在业务子系统 pom 里加了, ssw-common 漏掉,
新增 SswExceptionHandler 用到 isBlank() 时才暴露出来。) -->
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
<!-- v7.0 升级 (2026-07-31): ssw-common-biz/controller 用 @Value / @Autowired / @Service 等 Spring 注解,
父 pom 需显式声明 spring-boot-starter, 否则 transitive chain 拉不到 spring-context.
(6.2 时 boot/jnpf-admin fat jar 间接带入, ssw-* 子模块不需要单独声明.
7.0 改用 full-source 模式, jnpf-* 子模块各自带 spring 注解用到的最小集,
ssw-* 业务模块需自己 declare.) -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>3.5.14</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
</dependencies>
</project>