app
潘志宝
2024-08-19 2563526c3fda3ae9b45aad02ed10427508a29af3
提交 | 用户 | 时间
e7c126 1 <?xml version="1.0" encoding="UTF-8"?>
H 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     <parent>
6         <groupId>com.iailab</groupId>
7         <artifactId>iailab-framework</artifactId>
8         <version>${revision}</version>
9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11     <artifactId>iailab-common-job</artifactId>
12     <packaging>jar</packaging>
13
14     <name>${project.artifactId}</name>
15     <description>任务拓展,基于 XXL-Job 实现</description>
4d4165 16     <url>http://172.16.8.100:8888/summary/iailab-plat.git</url>
e7c126 17
H 18     <dependencies>
19         <dependency>
20             <groupId>com.iailab</groupId>
21             <artifactId>iailab-common</artifactId>
22         </dependency>
23
24         <!-- Spring 核心 -->
25         <dependency>
26             <groupId>org.springframework.boot</groupId>
27             <artifactId>spring-boot-configuration-processor</artifactId>
28             <optional>true</optional>
29         </dependency>
30         <dependency>
31             <groupId>org.springframework.boot</groupId>
32             <artifactId>spring-boot-starter</artifactId>
33             <optional>true</optional>
34         </dependency>
35
36         <!-- Job 相关 -->
37         <dependency>
38             <groupId>com.xuxueli</groupId>
39             <artifactId>xxl-job-core</artifactId>
40         </dependency>
41
42         <!-- 工具类相关 -->
43         <dependency>
44             <groupId>jakarta.validation</groupId>
45             <artifactId>jakarta.validation-api</artifactId>
46         </dependency>
47
48     </dependencies>
49
50     <build>
51         <plugins>
52             <plugin>
53                 <groupId>org.springframework.boot</groupId>
54                 <artifactId>spring-boot-maven-plugin</artifactId>
55             </plugin>
56             <plugin>
57                 <groupId>org.apache.maven.plugins</groupId>
58                 <artifactId>maven-assembly-plugin</artifactId>
59                 <version>3.3.0</version>
60                 <executions>
61                     <execution>
62                         <phase>package</phase>
63                         <goals>
64                             <goal>single</goal>
65                         </goals>
66                     </execution>
67                 </executions>
68                 <configuration>
69                     <descriptorRefs>
70                         <descriptorRef>jar-with-dependencies</descriptorRef>
71                     </descriptorRefs>
72                 </configuration>
73             </plugin>
74         </plugins>
75     </build>
76
77 </project>