123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- <?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.3.9</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>powerjob-worker-agent</artifactId>
- <version>4.3.9</version>
- <packaging>jar</packaging>
- <properties>
- <powerjob.worker.version>4.3.9</powerjob.worker.version>
- <logback.version>1.2.13</logback.version>
- <picocli.version>4.3.2</picocli.version>
- <spring.version>5.3.31</spring.version>
- <spring.boot.version>2.3.4.RELEASE</spring.boot.version>
- <powerjob.official.processors.version>4.3.9</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>
|