mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
80 lines
2.8 KiB
XML
80 lines
2.8 KiB
XML
<?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>powerjob</artifactId>
|
|
<groupId>com.github.kfcfans</groupId>
|
|
<version>2.0.0</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>powerjob-worker-samples</artifactId>
|
|
<version>3.4.4</version>
|
|
|
|
<properties>
|
|
<springboot.version>2.2.6.RELEASE</springboot.version>
|
|
<powerjob.worker.starter.version>3.4.4</powerjob.worker.starter.version>
|
|
<fastjson.version>1.2.68</fastjson.version>
|
|
|
|
<!-- 部署时跳过该module -->
|
|
<maven.deploy.skip>true</maven.deploy.skip>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<!-- SpringBoot -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<version>${springboot.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
<version>${springboot.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<version>${springboot.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.kfcfans</groupId>
|
|
<artifactId>powerjob-worker-spring-boot-starter</artifactId>
|
|
<version>${powerjob.worker.starter.version}</version>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>${fastjson.version}</version>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
<!-- SpringBoot专用的打包插件 -->
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${springboot.version}</version>
|
|
<configuration>
|
|
<mainClass>com.github.kfcfans.powerjob.samples.SampleApplication</mainClass>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |