|
@@ -1,113 +1,137 @@
|
|
|
|
+<?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"
|
|
<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">
|
|
|
|
- <modelVersion>4.0.0</modelVersion>
|
|
|
|
- <parent>
|
|
|
|
- <groupId>com.xuxueli</groupId>
|
|
|
|
- <artifactId>xxl-job</artifactId>
|
|
|
|
- <version>2.3.1</version>
|
|
|
|
- </parent>
|
|
|
|
- <artifactId>xxl-job-admin</artifactId>
|
|
|
|
- <packaging>jar</packaging>
|
|
|
|
|
|
+ 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>
|
|
|
|
+ <groupId>cn.com.qmth.framework</groupId>
|
|
|
|
+ <artifactId>job-center</artifactId>
|
|
|
|
+ <packaging>jar</packaging>
|
|
|
|
+ <version>2.3.1</version>
|
|
|
|
|
|
- <dependencyManagement>
|
|
|
|
- <dependencies>
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
|
- <artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
- <version>${spring-boot.version}</version>
|
|
|
|
- <type>pom</type>
|
|
|
|
- <scope>import</scope>
|
|
|
|
- </dependency>
|
|
|
|
- </dependencies>
|
|
|
|
- </dependencyManagement>
|
|
|
|
|
|
+ <properties>
|
|
|
|
+ <xxl-job.version>2.3.1</xxl-job.version>
|
|
|
|
+ <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-all.version>4.1.63.Final</netty-all.version>
|
|
|
|
+ <gson.version>2.9.0</gson.version>
|
|
|
|
+ <spring.version>5.3.20</spring.version>
|
|
|
|
+ <spring-boot.version>2.6.7</spring-boot.version>
|
|
|
|
+ <mybatis-spring-boot-starter.version>2.2.2</mybatis-spring-boot-starter.version>
|
|
|
|
+ <mysql-connector-java.version>8.0.29</mysql-connector-java.version>
|
|
|
|
+ <slf4j-api.version>1.7.36</slf4j-api.version>
|
|
|
|
+ <junit-jupiter.version>5.8.2</junit-jupiter.version>
|
|
|
|
+ <javax.annotation-api.version>1.3.2</javax.annotation-api.version>
|
|
|
|
+ <groovy.version>3.0.10</groovy.version>
|
|
|
|
+ <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
|
|
|
|
+ <maven-javadoc-plugin.version>3.4.0</maven-javadoc-plugin.version>
|
|
|
|
+ <maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
|
|
|
|
+ </properties>
|
|
|
|
|
|
- <dependencies>
|
|
|
|
|
|
+ <dependencyManagement>
|
|
|
|
+ <dependencies>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
+ <version>${spring-boot.version}</version>
|
|
|
|
+ <type>pom</type>
|
|
|
|
+ <scope>import</scope>
|
|
|
|
+ </dependency>
|
|
|
|
+ </dependencies>
|
|
|
|
+ </dependencyManagement>
|
|
|
|
|
|
- <!-- 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>
|
|
|
|
|
|
+ <dependencies>
|
|
|
|
+ <!-- starter-web:spring-webmvc + autoconfigure + logback + yaml + tomcat -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
|
|
- <!-- freemarker-starter -->
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
|
- <artifactId>spring-boot-starter-freemarker</artifactId>
|
|
|
|
- </dependency>
|
|
|
|
|
|
+ <!-- starter-test:junit + spring-test + mockito -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
+ <scope>test</scope>
|
|
|
|
+ </dependency>
|
|
|
|
|
|
- <!-- mail-starter -->
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
|
- <artifactId>spring-boot-starter-mail</artifactId>
|
|
|
|
- </dependency>
|
|
|
|
|
|
+ <!-- freemarker-starter -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-freemarker</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
|
|
- <!-- starter-actuator -->
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
|
- <artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
- </dependency>
|
|
|
|
|
|
+ <!-- mail-starter -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-mail</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>mysql</groupId>
|
|
|
|
- <artifactId>mysql-connector-java</artifactId>
|
|
|
|
- <version>${mysql-connector-java.version}</version>
|
|
|
|
- </dependency>
|
|
|
|
|
|
+ <!-- starter-actuator -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
|
|
- <!-- xxl-job-core -->
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>com.xuxueli</groupId>
|
|
|
|
- <artifactId>xxl-job-core</artifactId>
|
|
|
|
- <version>${project.parent.version}</version>
|
|
|
|
- </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>
|
|
|
|
|
|
- </dependencies>
|
|
|
|
|
|
+ <!-- mysql -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>mysql</groupId>
|
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
|
+ <version>${mysql-connector-java.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
|
|
- <build>
|
|
|
|
- <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>
|
|
|
|
- </plugin>
|
|
|
|
- <!-- docker -->
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>com.spotify</groupId>
|
|
|
|
- <artifactId>docker-maven-plugin</artifactId>
|
|
|
|
- <version>0.4.13</version>
|
|
|
|
- <configuration>
|
|
|
|
- <!-- made of '[a-z0-9-_.]' -->
|
|
|
|
- <imageName>${project.artifactId}:${project.version}</imageName>
|
|
|
|
- <dockerDirectory>${project.basedir}</dockerDirectory>
|
|
|
|
- <resources>
|
|
|
|
- <resource>
|
|
|
|
- <targetPath>/</targetPath>
|
|
|
|
- <directory>${project.build.directory}</directory>
|
|
|
|
- <include>${project.build.finalName}.jar</include>
|
|
|
|
- </resource>
|
|
|
|
- </resources>
|
|
|
|
- </configuration>
|
|
|
|
- </plugin>
|
|
|
|
- </plugins>
|
|
|
|
- </build>
|
|
|
|
|
|
+ <!-- xxl-job-core -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.xuxueli</groupId>
|
|
|
|
+ <artifactId>xxl-job-core</artifactId>
|
|
|
|
+ <version>${xxl-job.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>
|
|
|
|
+ <configuration>
|
|
|
|
+ <layout>ZIP</layout>
|
|
|
|
+ </configuration>
|
|
|
|
+ <executions>
|
|
|
|
+ <execution>
|
|
|
|
+ <goals>
|
|
|
|
+ <goal>repackage</goal>
|
|
|
|
+ </goals>
|
|
|
|
+ </execution>
|
|
|
|
+ </executions>
|
|
|
|
+ </plugin>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <source>${maven.compiler.source}</source>
|
|
|
|
+ <target>${maven.compiler.target}</target>
|
|
|
|
+ <encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <skip>true</skip>
|
|
|
|
+ <skipTests>true</skipTests>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
|
|
+ </build>
|
|
|
|
|
|
</project>
|
|
</project>
|