houzhongjian
2024-07-23 d9f9ba31913bb9f5053ad78109e8a3c1c00f1e6a
提交 | 用户 | 时间
e7c126 1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
H 2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <parent>
4         <artifactId>iailab-cloud</artifactId>
5         <groupId>com.iailab</groupId>
6         <version>${revision}</version>
7     </parent>
8     <modelVersion>4.0.0</modelVersion>
9     <artifactId>iailab-xxl-job</artifactId>
10     <version>${xxl-job-core.version}</version>
11
12     <name>${project.artifactId}</name>
13
14     <properties>
15         <xxl-job-core.version>2.4.2-SNAPSHOT</xxl-job-core.version>
16         <revision>0.0.1</revision>
17         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
19         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
20         <maven.compiler.source>1.8</maven.compiler.source>
21         <maven.compiler.target>1.8</maven.compiler.target>
22         <maven.test.skip>true</maven.test.skip>
23
24         <netty.version>4.1.108.Final</netty.version>
25         <gson.version>2.10.1</gson.version>
26
27         <spring.version>5.3.34</spring.version>
28         <spring-boot.version>2.7.18</spring-boot.version>
29
30         <mybatis-spring-boot-starter.version>2.3.2</mybatis-spring-boot-starter.version>
31         <mysql-connector-j.version>8.3.0</mysql-connector-j.version>
32
33         <slf4j-api.version>2.0.13</slf4j-api.version>
34         <junit-jupiter.version>5.10.2</junit-jupiter.version>
35         <javax.annotation-api.version>1.3.2</javax.annotation-api.version>
36
37         <groovy.version>4.0.21</groovy.version>
38
39         <maven-source-plugin.version>3.3.1</maven-source-plugin.version>
40         <maven-javadoc-plugin.version>3.6.3</maven-javadoc-plugin.version>
41         <maven-gpg-plugin.version>3.2.3</maven-gpg-plugin.version>
42     </properties>
43
44
45     <licenses>
46         <license>
47             <name>GNU General Public License version 3</name>
48             <url>https://opensource.org/licenses/GPL-3.0</url>
49         </license>
50     </licenses>
51
52     <dependencies>
53         <!-- starter-web:spring-webmvc + autoconfigure + logback + yaml + tomcat -->
54         <dependency>
55             <groupId>org.springframework.boot</groupId>
56             <artifactId>spring-boot-starter-web</artifactId>
57         </dependency>
58         <!-- starter-test:junit + spring-test + mockito -->
59         <dependency>
60             <groupId>org.springframework.boot</groupId>
61             <artifactId>spring-boot-starter-test</artifactId>
62             <scope>test</scope>
63         </dependency>
64
65 <!--        <dependency>-->
66 <!--            <groupId>com.iailab</groupId>-->
67 <!--            <artifactId>iailab-common-security</artifactId>-->
68 <!--        </dependency>-->
69
70         <!-- Registry 注册中心相关 -->
71         <dependency>
72             <groupId>com.alibaba.cloud</groupId>
73             <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
74         </dependency>
75
76         <!-- 监控相关 -->
77         <dependency>
78             <groupId>com.iailab</groupId>
79             <artifactId>iailab-common-monitor</artifactId>
80         </dependency>
81
82         <!-- freemarker-starter -->
83         <dependency>
84             <groupId>org.springframework.boot</groupId>
85             <artifactId>spring-boot-starter-freemarker</artifactId>
86         </dependency>
87
88         <!-- mail-starter -->
89         <dependency>
90             <groupId>org.springframework.boot</groupId>
91             <artifactId>spring-boot-starter-mail</artifactId>
92         </dependency>
93
94         <!-- starter-actuator -->
95         <dependency>
96             <groupId>org.springframework.boot</groupId>
97             <artifactId>spring-boot-starter-actuator</artifactId>
98         </dependency>
99
100         <!-- mybatis-starter:mybatis + mybatis-spring + hikari(default) -->
101         <dependency>
102             <groupId>org.mybatis.spring.boot</groupId>
103             <artifactId>mybatis-spring-boot-starter</artifactId>
104             <version>${mybatis-spring-boot-starter.version}</version>
105         </dependency>
106         <!-- mysql -->
107         <dependency>
108             <groupId>com.mysql</groupId>
109             <artifactId>mysql-connector-j</artifactId>
110             <version>${mysql-connector-j.version}</version>
111         </dependency>
112
113         <!-- xxl-job-core -->
114         <dependency>
115             <groupId>com.xuxueli</groupId>
116             <artifactId>xxl-job-core</artifactId>
117             <version>${xxl-job-core.version}</version>
118         </dependency>
119
120     </dependencies>
121
122     <build>
d9f9ba 123         <finalName>${project.artifactId}</finalName>
e7c126 124         <plugins>
H 125             <plugin>
d9f9ba 126                 <groupId>org.springframework.boot</groupId>
H 127                 <artifactId>spring-boot-maven-plugin</artifactId>
128                 <version>${spring-boot.version}</version>
e7c126 129                 <executions>
H 130                     <execution>
131                         <goals>
d9f9ba 132                             <goal>repackage</goal>
e7c126 133                         </goals>
H 134                     </execution>
135                 </executions>
136                 <configuration>
d9f9ba 137                     <!-- 作用:项目打成jar的同时将本地jar包也引入进去 -->
H 138                     <includeSystemScope>true</includeSystemScope>
e7c126 139                 </configuration>
H 140             </plugin>
141         </plugins>
142     </build>
143
d9f9ba 144 <!--    <build>-->
H 145 <!--        <plugins>-->
146 <!--            &lt;!&ndash; Source &ndash;&gt;-->
147 <!--            <plugin>-->
148 <!--                <groupId>org.apache.maven.plugins</groupId>-->
149 <!--                <artifactId>maven-source-plugin</artifactId>-->
150 <!--                <version>${maven-source-plugin.version}</version>-->
151 <!--                <executions>-->
152 <!--                    <execution>-->
153 <!--                        <phase>package</phase>-->
154 <!--                        <goals>-->
155 <!--                            <goal>jar-no-fork</goal>-->
156 <!--                        </goals>-->
157 <!--                    </execution>-->
158 <!--                </executions>-->
159 <!--            </plugin>-->
160 <!--            &lt;!&ndash; Javadoc &ndash;&gt;-->
161 <!--            <plugin>-->
162 <!--                <groupId>org.apache.maven.plugins</groupId>-->
163 <!--                <artifactId>maven-javadoc-plugin</artifactId>-->
164 <!--                <version>${maven-javadoc-plugin.version}</version>-->
165 <!--                <executions>-->
166 <!--                    <execution>-->
167 <!--                        <phase>package</phase>-->
168 <!--                        <goals>-->
169 <!--                            <goal>jar</goal>-->
170 <!--                        </goals>-->
171 <!--                        <configuration>-->
172 <!--                            <doclint>none</doclint>-->
173 <!--                        </configuration>-->
174 <!--                    </execution>-->
175 <!--                </executions>-->
176 <!--            </plugin>-->
177 <!--            &lt;!&ndash; GPG &ndash;&gt;-->
178 <!--            <plugin>-->
179 <!--                <groupId>org.apache.maven.plugins</groupId>-->
180 <!--                <artifactId>maven-gpg-plugin</artifactId>-->
181 <!--                <version>${maven-gpg-plugin.version}</version>-->
182 <!--                <configuration>-->
183 <!--                    <useAgent>false</useAgent>-->
184 <!--                </configuration>-->
185 <!--&lt;!&ndash;                <executions>&ndash;&gt;-->
186 <!--&lt;!&ndash;                    <execution>&ndash;&gt;-->
187 <!--&lt;!&ndash;                        <phase>verify</phase>&ndash;&gt;-->
188 <!--&lt;!&ndash;                        <goals>&ndash;&gt;-->
189 <!--&lt;!&ndash;                            <goal>sign</goal>&ndash;&gt;-->
190 <!--&lt;!&ndash;                        </goals>&ndash;&gt;-->
191 <!--&lt;!&ndash;                    </execution>&ndash;&gt;-->
192 <!--&lt;!&ndash;                </executions>&ndash;&gt;-->
193 <!--            </plugin>-->
194 <!--        </plugins>-->
195 <!--    </build>-->
196
e7c126 197
H 198 </project>