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.
95 lines
3.5 KiB
95 lines
3.5 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-client</artifactId>
|
|
<version>4.3.0</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<junit.version>5.9.1</junit.version>
|
|
<fastjson.version>1.2.83</fastjson.version>
|
|
<powerjob.common.version>4.3.0</powerjob.common.version>
|
|
|
|
<mvn.shade.plugin.version>3.2.4</mvn.shade.plugin.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<!-- fastJson -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>${fastjson.version}</version>
|
|
</dependency>
|
|
|
|
<!-- oms-common -->
|
|
<dependency>
|
|
<groupId>tech.powerjob</groupId>
|
|
<artifactId>powerjob-common</artifactId>
|
|
<version>${powerjob.common.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Junit tests -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- 暂时放弃 shade,打 shade 包一定要非常干净,否则是更大的坑 -->
|
|
<!--
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>${mvn.shade.plugin.version}</version>
|
|
<configuration>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>okhttp3</pattern>
|
|
<shadedPattern>shade.powerjob.okhttp3</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>okio</pattern>
|
|
<shadedPattern>shade.powerjob.okio</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>com.google</pattern>
|
|
<shadedPattern>shade.powerjob.com.google</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.apache</pattern>
|
|
<shadedPattern>shade.powerjob.org.apache</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>com.alibaba</pattern>
|
|
<shadedPattern>shade.powerjob.com.alibaba</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
-->
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|