2026-02-03 10:18:40 +08:00
|
|
|
|
<?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.njcn</groupId>
|
|
|
|
|
|
<artifactId>msgpush-module-push</artifactId>
|
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
<artifactId>msgpush-module-push-server</artifactId>
|
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
<name>${project.artifactId}</name>
|
|
|
|
|
|
<description>
|
|
|
|
|
|
center 模块下,开发三种渠道的推送服务。
|
|
|
|
|
|
例如说:邮件、短信、APP消息等等。
|
|
|
|
|
|
</description>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<!-- Spring Cloud 基础 -->
|
2026-03-04 09:13:23 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>msgpush-spring-boot-starter-env</artifactId>
|
|
|
|
|
|
</dependency>
|
2026-02-03 10:18:40 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- 依赖服务 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>msgpush-module-system-api</artifactId>
|
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>msgpush-module-push-api</artifactId>
|
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
2026-02-04 15:41:21 +08:00
|
|
|
|
|
2026-02-03 10:18:40 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>msgpush-spring-boot-starter-biz-ip</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Web 相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>msgpush-spring-boot-starter-security</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- DB 相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>msgpush-spring-boot-starter-mybatis</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>msgpush-spring-boot-starter-redis</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- RPC 远程调用相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>msgpush-spring-boot-starter-rpc</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Registry 注册中心相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Config 配置中心相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 消息队列相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>msgpush-spring-boot-starter-mq</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Test 测试相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>msgpush-spring-boot-starter-test</artifactId>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 工具类相关 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>msgpush-spring-boot-starter-excel</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.dromara.hutool</groupId>
|
|
|
|
|
|
<artifactId>hutool-extra</artifactId> <!-- 邮件 -->
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
2026-02-10 15:27:28 +08:00
|
|
|
|
<!-- 阿里云 Direct Mail (邮箱服务) -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
|
|
<artifactId>dm20151123</artifactId>
|
|
|
|
|
|
<version>1.9.3</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 阿里云短信服务 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
|
|
<artifactId>dysmsapi20170525</artifactId>
|
|
|
|
|
|
<version>4.2.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
2026-03-03 10:33:03 +08:00
|
|
|
|
<!-- 个推 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.getui.push</groupId>
|
|
|
|
|
|
<artifactId>restful-sdk</artifactId>
|
|
|
|
|
|
<version>1.0.0.1</version>
|
|
|
|
|
|
</dependency>
|
2026-03-13 08:49:45 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.njcn</groupId>
|
|
|
|
|
|
<artifactId>msgpush-spring-boot-starter-protection</artifactId>
|
|
|
|
|
|
</dependency>
|
2026-03-03 10:33:03 +08:00
|
|
|
|
|
2026-02-03 10:18:40 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<!-- 设置构建的 jar 包名 -->
|
|
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<!-- 打包 -->
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
<version>${spring.boot.version}</version>
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
2026-03-12 09:13:43 +08:00
|
|
|
|
<resources>
|
|
|
|
|
|
<!-- 标准资源文件 -->
|
|
|
|
|
|
<resource>
|
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
|
<filtering>false</filtering>
|
|
|
|
|
|
</resource>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Java 目录下的 XML 文件(MyBatis Mapper) -->
|
|
|
|
|
|
<resource>
|
|
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
|
|
<includes>
|
|
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
|
|
</includes>
|
|
|
|
|
|
<filtering>false</filtering>
|
|
|
|
|
|
</resource>
|
|
|
|
|
|
</resources>
|
2026-02-03 10:18:40 +08:00
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|