<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">
|
<parent>
|
<artifactId>iailab-cloud</artifactId>
|
<groupId>com.iailab</groupId>
|
<version>${revision}</version>
|
</parent>
|
<modelVersion>4.0.0</modelVersion>
|
<artifactId>iailab-xxl-job</artifactId>
|
<version>${xxl-job-core.version}</version>
|
|
<name>${project.artifactId}</name>
|
|
<properties>
|
<xxl-job-core.version>2.4.2-SNAPSHOT</xxl-job-core.version>
|
<revision>0.0.1</revision>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.target>1.8</maven.compiler.target>
|
<maven.test.skip>true</maven.test.skip>
|
|
<netty.version>4.1.108.Final</netty.version>
|
<gson.version>2.10.1</gson.version>
|
|
<spring.version>5.3.34</spring.version>
|
<!-- <spring-boot.version>2.7.18</spring-boot.version>-->
|
|
<mybatis-spring-boot-starter.version>2.3.2</mybatis-spring-boot-starter.version>
|
<mysql-connector-j.version>8.3.0</mysql-connector-j.version>
|
|
<slf4j-api.version>2.0.13</slf4j-api.version>
|
<junit-jupiter.version>5.10.2</junit-jupiter.version>
|
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
|
|
<groovy.version>4.0.21</groovy.version>
|
|
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
|
<maven-javadoc-plugin.version>3.6.3</maven-javadoc-plugin.version>
|
<maven-gpg-plugin.version>3.2.3</maven-gpg-plugin.version>
|
</properties>
|
|
|
<licenses>
|
<license>
|
<name>GNU General Public License version 3</name>
|
<url>https://opensource.org/licenses/GPL-3.0</url>
|
</license>
|
</licenses>
|
|
<dependencies>
|
<!-- starter-web:spring-webmvc + autoconfigure + logback + yaml + tomcat -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
</dependency>
|
<!-- starter-test:junit + spring-test + mockito -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
<scope>test</scope>
|
</dependency>
|
|
<!-- <dependency>-->
|
<!-- <groupId>com.iailab</groupId>-->
|
<!-- <artifactId>iailab-common-security</artifactId>-->
|
<!-- </dependency>-->
|
|
<!-- Registry 注册中心相关 -->
|
<dependency>
|
<groupId>com.alibaba.cloud</groupId>
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
</dependency>
|
|
<!-- 监控相关 -->
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common-monitor</artifactId>
|
</dependency>
|
|
<!-- freemarker-starter -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
</dependency>
|
|
<!-- mail-starter -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-mail</artifactId>
|
</dependency>
|
|
<!-- starter-actuator -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
</dependency>
|
|
<!-- mybatis-starter:mybatis + mybatis-spring + hikari(default) -->
|
<dependency>
|
<groupId>org.mybatis.spring.boot</groupId>
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
<version>${mybatis-spring-boot-starter.version}</version>
|
</dependency>
|
<!-- mysql -->
|
<dependency>
|
<groupId>com.mysql</groupId>
|
<artifactId>mysql-connector-j</artifactId>
|
<version>${mysql-connector-j.version}</version>
|
</dependency>
|
|
<!-- xxl-job-core -->
|
<dependency>
|
<groupId>com.xuxueli</groupId>
|
<artifactId>xxl-job-core</artifactId>
|
<version>${xxl-job-core.version}</version>
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
<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>
|
</goals>
|
</execution>
|
</executions>
|
<configuration>
|
<!-- 作用:项目打成jar的同时将本地jar包也引入进去 -->
|
<includeSystemScope>true</includeSystemScope>
|
</configuration>
|
</plugin>
|
</plugins>
|
</build>
|
|
<!-- <build>-->
|
<!-- <plugins>-->
|
<!-- <!– Source –>-->
|
<!-- <plugin>-->
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
<!-- <artifactId>maven-source-plugin</artifactId>-->
|
<!-- <version>${maven-source-plugin.version}</version>-->
|
<!-- <executions>-->
|
<!-- <execution>-->
|
<!-- <phase>package</phase>-->
|
<!-- <goals>-->
|
<!-- <goal>jar-no-fork</goal>-->
|
<!-- </goals>-->
|
<!-- </execution>-->
|
<!-- </executions>-->
|
<!-- </plugin>-->
|
<!-- <!– Javadoc –>-->
|
<!-- <plugin>-->
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
<!-- <artifactId>maven-javadoc-plugin</artifactId>-->
|
<!-- <version>${maven-javadoc-plugin.version}</version>-->
|
<!-- <executions>-->
|
<!-- <execution>-->
|
<!-- <phase>package</phase>-->
|
<!-- <goals>-->
|
<!-- <goal>jar</goal>-->
|
<!-- </goals>-->
|
<!-- <configuration>-->
|
<!-- <doclint>none</doclint>-->
|
<!-- </configuration>-->
|
<!-- </execution>-->
|
<!-- </executions>-->
|
<!-- </plugin>-->
|
<!-- <!– GPG –>-->
|
<!-- <plugin>-->
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
<!-- <artifactId>maven-gpg-plugin</artifactId>-->
|
<!-- <version>${maven-gpg-plugin.version}</version>-->
|
<!-- <configuration>-->
|
<!-- <useAgent>false</useAgent>-->
|
<!-- </configuration>-->
|
<!--<!– <executions>–>-->
|
<!--<!– <execution>–>-->
|
<!--<!– <phase>verify</phase>–>-->
|
<!--<!– <goals>–>-->
|
<!--<!– <goal>sign</goal>–>-->
|
<!--<!– </goals>–>-->
|
<!--<!– </execution>–>-->
|
<!--<!– </executions>–>-->
|
<!-- </plugin>-->
|
<!-- </plugins>-->
|
<!-- </build>-->
|
|
|
</project>
|