1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <modelVersion >4.0.0</modelVersion >
6+
7+ <parent >
8+ <groupId >org.springframework.boot</groupId >
9+ <artifactId >spring-boot-starter-parent</artifactId >
10+ <version >2.7.14</version >
11+ <relativePath />
12+ </parent >
13+
14+ <groupId >com.suifeng</groupId >
15+ <artifactId >sf-chain</artifactId >
16+ <version >1.0.0</version >
17+ <packaging >jar</packaging >
18+ <name >SF-Chain Framework</name >
19+ <description >SF-Chain AI Framework - A reusable AI operation framework</description >
20+
21+ <properties >
22+ <maven .compiler.source>17</maven .compiler.source>
23+ <maven .compiler.target>17</maven .compiler.target>
24+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
25+ </properties >
26+
27+ <dependencies >
28+ <!-- Spring Boot Starter Web -->
29+ <dependency >
30+ <groupId >org.springframework.boot</groupId >
31+ <artifactId >spring-boot-starter-web</artifactId >
32+ </dependency >
33+
34+ <!-- Spring Boot Starter WebFlux (for reactive streams) -->
35+ <dependency >
36+ <groupId >org.springframework.boot</groupId >
37+ <artifactId >spring-boot-starter-webflux</artifactId >
38+ </dependency >
39+
40+ <!-- Spring Boot Starter Data JPA -->
41+ <dependency >
42+ <groupId >org.springframework.boot</groupId >
43+ <artifactId >spring-boot-starter-data-jpa</artifactId >
44+ </dependency >
45+
46+ <!-- Spring Boot Configuration Processor -->
47+ <dependency >
48+ <groupId >org.springframework.boot</groupId >
49+ <artifactId >spring-boot-configuration-processor</artifactId >
50+ <optional >true</optional >
51+ </dependency >
52+
53+ <!-- Spring Boot Auto Configuration -->
54+ <dependency >
55+ <groupId >org.springframework.boot</groupId >
56+ <artifactId >spring-boot-autoconfigure</artifactId >
57+ </dependency >
58+
59+ <!-- Lombok -->
60+ <dependency >
61+ <groupId >org.projectlombok</groupId >
62+ <artifactId >lombok</artifactId >
63+ <optional >true</optional >
64+ </dependency >
65+
66+ <!-- Jackson for JSON processing -->
67+ <dependency >
68+ <groupId >com.fasterxml.jackson.core</groupId >
69+ <artifactId >jackson-databind</artifactId >
70+ </dependency >
71+
72+ <!-- Validation -->
73+ <dependency >
74+ <groupId >org.springframework.boot</groupId >
75+ <artifactId >spring-boot-starter-validation</artifactId >
76+ </dependency >
77+
78+ <!-- AspectJ for AOP -->
79+ <dependency >
80+ <groupId >org.springframework</groupId >
81+ <artifactId >spring-aspects</artifactId >
82+ </dependency >
83+
84+ <!-- Test Dependencies -->
85+ <dependency >
86+ <groupId >org.springframework.boot</groupId >
87+ <artifactId >spring-boot-starter-test</artifactId >
88+ <scope >test</scope >
89+ </dependency >
90+
91+ <!-- JUnit 5 -->
92+ <dependency >
93+ <groupId >org.junit.jupiter</groupId >
94+ <artifactId >junit-jupiter</artifactId >
95+ <scope >test</scope >
96+ </dependency >
97+
98+ <!-- Hibernate Types for JSON support -->
99+ <dependency >
100+ <groupId >com.vladmihalcea</groupId >
101+ <artifactId >hibernate-types-52</artifactId >
102+ <version >2.21.1</version >
103+ </dependency >
104+
105+ <dependency >
106+ <groupId >com.alibaba.fastjson2</groupId >
107+ <artifactId >fastjson2</artifactId >
108+ <version >2.0.40</version >
109+ </dependency >
110+
111+ <!-- MySQL Driver -->
112+ <dependency >
113+ <groupId >com.mysql</groupId >
114+ <artifactId >mysql-connector-j</artifactId >
115+ <scope >runtime</scope >
116+ </dependency >
117+
118+ <!-- PostgreSQL Driver -->
119+ <dependency >
120+ <groupId >org.postgresql</groupId >
121+ <artifactId >postgresql</artifactId >
122+ <scope >runtime</scope >
123+ </dependency >
124+
125+ <!-- Spring Boot JDBC Starter for database operations -->
126+ <dependency >
127+ <groupId >org.springframework.boot</groupId >
128+ <artifactId >spring-boot-starter-jdbc</artifactId >
129+ </dependency >
130+ </dependencies >
131+
132+ <build >
133+ <plugins >
134+ <!-- Maven Compiler Plugin -->
135+ <plugin >
136+ <groupId >org.apache.maven.plugins</groupId >
137+ <artifactId >maven-compiler-plugin</artifactId >
138+ <configuration >
139+ <source >17</source >
140+ <target >17</target >
141+ <annotationProcessorPaths >
142+ <path >
143+ <groupId >org.projectlombok</groupId >
144+ <artifactId >lombok</artifactId >
145+ <version >${lombok.version} </version >
146+ </path >
147+ <path >
148+ <groupId >org.springframework.boot</groupId >
149+ <artifactId >spring-boot-configuration-processor</artifactId >
150+ <version >2.7.14</version >
151+ </path >
152+ </annotationProcessorPaths >
153+ </configuration >
154+ </plugin >
155+ <plugin >
156+ <groupId >org.apache.maven.plugins</groupId >
157+ <artifactId >maven-resources-plugin</artifactId >
158+ <version >3.2.0</version >
159+ <executions >
160+ <execution >
161+ <id >copy-frontend-resources</id >
162+ <phase >process-resources</phase >
163+ <goals >
164+ <goal >copy-resources</goal >
165+ </goals >
166+ <configuration >
167+ <outputDirectory >${project.build.outputDirectory} /static</outputDirectory >
168+ <resources >
169+ <resource >
170+ <directory >src/main/frontend/dist</directory >
171+ <filtering >false</filtering >
172+ </resource >
173+ </resources >
174+ </configuration >
175+ </execution >
176+ </executions >
177+ </plugin >
178+ </plugins >
179+ </build >
180+ </project >
0 commit comments