2019-08-30 06:29:10 +00:00
|
|
|
<?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/maven-v4_0_0.xsd">
|
|
|
|
<parent>
|
|
|
|
<artifactId>oss-parent</artifactId>
|
|
|
|
<groupId>org.sonatype.oss</groupId>
|
|
|
|
<version>9</version>
|
|
|
|
<relativePath>../pom.xml/pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.github.chrislusf</groupId>
|
2019-09-01 10:46:51 +00:00
|
|
|
<artifactId>seaweedfs-hadoop3-client</artifactId>
|
2019-08-30 06:29:10 +00:00
|
|
|
<version>${seaweedfs.client.version}</version>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
2020-07-17 23:11:57 +00:00
|
|
|
<source>8</source>
|
|
|
|
<target>8</target>
|
2019-08-30 06:29:10 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>3.2.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<artifact>*:*</artifact>
|
|
|
|
<excludes>
|
|
|
|
<exclude>META-INF/*.SF</exclude>
|
|
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
|
|
<exclude>org/slf4j/**</exclude>
|
|
|
|
<exclude>META-INF/maven/org.slf4j/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
|
|
|
<transformers>
|
|
|
|
<transformer />
|
|
|
|
</transformers>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>com.google</pattern>
|
|
|
|
<shadedPattern>shaded.com.google</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>io.grpc.internal</pattern>
|
|
|
|
<shadedPattern>shaded.io.grpc.internal</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>org.apache.commons</pattern>
|
|
|
|
<shadedPattern>shaded.org.apache.commons</shadedPattern>
|
|
|
|
<excludes>
|
|
|
|
<exclude>org.apache.hadoop</exclude>
|
|
|
|
<exclude>org.apache.log4j</exclude>
|
|
|
|
</excludes>
|
|
|
|
</relocation>
|
2019-10-12 06:56:04 +00:00
|
|
|
<relocation>
|
|
|
|
<pattern>org.apache.http</pattern>
|
|
|
|
<shadedPattern>shaded.org.apache.http</shadedPattern>
|
|
|
|
</relocation>
|
2019-08-30 06:29:10 +00:00
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
<version>1.5</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sign-artifacts</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
2021-09-13 09:16:09 +00:00
|
|
|
<version>1.6.8</version>
|
2019-08-30 06:29:10 +00:00
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<serverId>ossrh</serverId>
|
|
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>2.2.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.9.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2020-08-17 04:25:24 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-client</artifactId>
|
2022-06-27 03:41:51 +00:00
|
|
|
<version>3.2.3</version>
|
2020-08-17 04:25:24 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>hadoop-hdfs-client</artifactId>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>hadoop-yarn-api</artifactId>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>hadoop-yarn-client</artifactId>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>hadoop-mapreduce-client-core</artifactId>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>hadoop-mapreduce-client-jobclient</artifactId>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>hadoop-annotations</artifactId>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
2022-06-27 03:41:51 +00:00
|
|
|
<version>3.2.3</version>
|
2020-08-17 04:25:24 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-cli</artifactId>
|
|
|
|
<groupId>commons-cli</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-math3</artifactId>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-net</artifactId>
|
|
|
|
<groupId>commons-net</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-collections</artifactId>
|
|
|
|
<groupId>commons-collections</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
</exclusion>
|
2022-06-27 03:41:51 +00:00
|
|
|
<exclusion>
|
|
|
|
<artifactId>javax.activation-api</artifactId>
|
|
|
|
<groupId>javax.activation</groupId>
|
|
|
|
</exclusion>
|
2020-08-17 04:25:24 +00:00
|
|
|
<exclusion>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jetty-util</artifactId>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jetty-servlet</artifactId>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jetty-webapp</artifactId>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jsp-api</artifactId>
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jersey-servlet</artifactId>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jersey-json</artifactId>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jersey-server</artifactId>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-beanutils</artifactId>
|
|
|
|
<groupId>commons-beanutils</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-configuration2</artifactId>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
</exclusion>
|
2022-06-27 03:41:51 +00:00
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-text</artifactId>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
</exclusion>
|
2020-08-17 04:25:24 +00:00
|
|
|
<exclusion>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>avro</artifactId>
|
|
|
|
<groupId>org.apache.avro</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>re2j</artifactId>
|
|
|
|
<groupId>com.google.re2j</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>hadoop-auth</artifactId>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jsch</artifactId>
|
|
|
|
<groupId>com.jcraft</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>curator-client</artifactId>
|
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>curator-recipes</artifactId>
|
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>htrace-core4</artifactId>
|
|
|
|
<groupId>org.apache.htrace</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>zookeeper</artifactId>
|
|
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-compress</artifactId>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>kerb-simplekdc</artifactId>
|
|
|
|
<groupId>org.apache.kerby</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>stax2-api</artifactId>
|
|
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>woodstox-core</artifactId>
|
|
|
|
<groupId>com.fasterxml.woodstox</groupId>
|
|
|
|
</exclusion>
|
2022-06-27 03:41:51 +00:00
|
|
|
<exclusion>
|
|
|
|
<artifactId>dnsjava</artifactId>
|
|
|
|
<groupId>dnsjava</groupId>
|
|
|
|
</exclusion>
|
2020-08-17 04:25:24 +00:00
|
|
|
<exclusion>
|
|
|
|
<artifactId>hadoop-annotations</artifactId>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2019-08-30 06:29:10 +00:00
|
|
|
<distributionManagement>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>ossrh</id>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
|
</snapshotRepository>
|
|
|
|
</distributionManagement>
|
|
|
|
<properties>
|
2022-06-27 03:41:51 +00:00
|
|
|
<seaweedfs.client.version>3.13</seaweedfs.client.version>
|
|
|
|
<hadoop.version>3.2.3</hadoop.version>
|
2019-08-30 06:29:10 +00:00
|
|
|
</properties>
|
|
|
|
</project>
|