You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
133 lines
4.6 KiB
133 lines
4.6 KiB
<?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>tech.powerjob</groupId>
|
|
<version>4.0.0</version>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>powerjob-worker-agent</artifactId>
|
|
<version>4.3.0</version>
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
<properties>
|
|
<powerjob.worker.version>4.3.0</powerjob.worker.version>
|
|
<logback.version>1.2.9</logback.version>
|
|
<picocli.version>4.3.2</picocli.version>
|
|
<spring.version>5.3.23</spring.version>
|
|
|
|
<spring.boot.version>2.3.4.RELEASE</spring.boot.version>
|
|
|
|
<powerjob.official.processors.version>1.2.2</powerjob.official.processors.version>
|
|
|
|
<!-- dependency for dynamic sql processor -->
|
|
<mysql.version>8.0.28</mysql.version>
|
|
<ojdbc.version>19.7.0.0</ojdbc.version>
|
|
<mssql-jdbc.version>7.4.1.jre8</mssql-jdbc.version>
|
|
<db2-jdbc.version>11.5.0.0</db2-jdbc.version>
|
|
<postgresql.version>42.2.14</postgresql.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>tech.powerjob</groupId>
|
|
<artifactId>powerjob-worker</artifactId>
|
|
<version>${powerjob.worker.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>tech.powerjob</groupId>
|
|
<artifactId>powerjob-official-processors</artifactId>
|
|
<version>${powerjob.official.processors.version}</version>
|
|
</dependency>
|
|
|
|
<!-- java cli 工具 -->
|
|
<dependency>
|
|
<groupId>info.picocli</groupId>
|
|
<artifactId>picocli</artifactId>
|
|
<version>${picocli.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-core</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
|
|
<!-- mysql -->
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${mysql.version}</version>
|
|
</dependency>
|
|
<!-- oracle -->
|
|
<dependency>
|
|
<groupId>com.oracle.database.jdbc</groupId>
|
|
<artifactId>ojdbc8</artifactId>
|
|
<version>${ojdbc.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.oracle.database.nls</groupId>
|
|
<artifactId>orai18n</artifactId>
|
|
<version>${ojdbc.version}</version>
|
|
</dependency>
|
|
<!-- sqlserver -->
|
|
<dependency>
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
<artifactId>mssql-jdbc</artifactId>
|
|
<version>${mssql-jdbc.version}</version>
|
|
</dependency>
|
|
<!-- db2 -->
|
|
<dependency>
|
|
<groupId>com.ibm.db2</groupId>
|
|
<artifactId>jcc</artifactId>
|
|
<version>${db2-jdbc.version}</version>
|
|
</dependency>
|
|
<!-- postgresql -->
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>${postgresql.version}</version>
|
|
</dependency>
|
|
|
|
<!-- worker 移除了 Spring 强依赖,agent 需要使用容器功能必须直接依赖 -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
|
|
<!-- 谁说SpringBoot的打包插件只能给SpringBoot用的?省的我写一堆配置还有BUG... -->
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
<configuration>
|
|
<mainClass>tech.powerjob.agent.MainApplication</mainClass>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|