|
|
|
<?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"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<parent>
|
|
|
|
<artifactId>waynboot-job</artifactId>
|
|
|
|
<groupId>com.wayn</groupId>
|
|
|
|
<version>1.2.0</version>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>waynboot-job-xxl-job</artifactId>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<main-class>com.wayn.job.XxlJobExecutorApplication</main-class>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.xuxueli</groupId>
|
|
|
|
<artifactId>xxl-job-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.wayn</groupId>
|
|
|
|
<artifactId>waynboot-common</artifactId>
|
|
|
|
<version>1.2.0</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.elasticsearch.client</groupId>
|
|
|
|
<artifactId>elasticsearch-rest-client</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.elasticsearch.client</groupId>
|
|
|
|
<artifactId>elasticsearch-rest-high-level-client</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<!-- 指定该Main Class为全局的唯一入口 -->
|
|
|
|
<mainClass>${main-class}</mainClass>
|
|
|
|
<layout>ZIP</layout>
|
|
|
|
<!-- <commandlineArguments>-->
|
|
|
|
<!-- -parameters-->
|
|
|
|
<!-- </commandlineArguments>-->
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|