- 新增 Spring Boot 2.7.18 + JDK 1.8 工程骨架 - 引入 H2、JGit、Commons Net 等核心依赖并补充 Maven 配置 - 增加 application.properties 及 dev-agent/prod-agent 双 profile 配置 - 新增同步任务、检查点、ACK 的 H2 表结构与基础持久化服务 - 实现 FTP 上传、下载、列目录、移动、删除及原子上传能力 - 实现 Git clone/pull/checkout/export/commit/push 能力 - 实现同步包打包、解包、manifest 生成与内容哈希校验 - 实现生产 push/pull 接口调用基础能力 - 打通开发侧与生产侧协调流程及 ACK 回执处理 - 补充总体设计与详细设计文档 - 修正 .gitignore,忽略 target、.m2、work、data 等构建与运行目录
82 lines
2.8 KiB
XML
82 lines
2.8 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.7.18</version>
|
|
<relativePath/>
|
|
</parent>
|
|
|
|
<groupId>com.ftptool</groupId>
|
|
<artifactId>ftp-sync-tool</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<name>ftp-sync-tool</name>
|
|
<description>FTP relay based configuration sync tool</description>
|
|
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
<jgit.version>5.13.3.202401111512-r</jgit.version>
|
|
<commons-net.version>3.11.1</commons-net.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.retry</groupId>
|
|
<artifactId>spring-retry</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aspects</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-net</groupId>
|
|
<artifactId>commons-net</artifactId>
|
|
<version>${commons-net.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jgit</groupId>
|
|
<artifactId>org.eclipse.jgit</artifactId>
|
|
<version>${jgit.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|