2018-11-24 11:22:25 +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/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
2018-12-17 09:25:02 +00:00
|
|
|
<properties>
|
2022-06-27 03:41:51 +00:00
|
|
|
<seaweedfs.client.version>3.13</seaweedfs.client.version>
|
2022-04-12 22:00:58 +00:00
|
|
|
<hadoop.version>3.2.3</hadoop.version>
|
2018-12-17 09:25:02 +00:00
|
|
|
</properties>
|
|
|
|
|
2018-12-08 08:32:34 +00:00
|
|
|
<groupId>com.github.chrislusf</groupId>
|
2019-09-01 10:46:51 +00:00
|
|
|
<artifactId>seaweedfs-hadoop3-client</artifactId>
|
2018-12-17 09:25:02 +00:00
|
|
|
<version>${seaweedfs.client.version}</version>
|
2018-12-08 08:32:34 +00:00
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.sonatype.oss</groupId>
|
|
|
|
<artifactId>oss-parent</artifactId>
|
|
|
|
<version>9</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>ossrh</id>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
|
</snapshotRepository>
|
|
|
|
</distributionManagement>
|
2018-11-26 02:01:57 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
2020-07-17 22:46:16 +00:00
|
|
|
<source>8</source>
|
|
|
|
<target>8</target>
|
2018-11-26 02:01:57 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-12-02 23:16:49 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>3.2.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2018-12-14 17:16:21 +00:00
|
|
|
<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>
|
2018-12-02 23:16:49 +00:00
|
|
|
<transformers>
|
|
|
|
<transformer
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
|
|
</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>
|
2018-12-14 17:16:21 +00:00
|
|
|
<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>
|
2018-12-02 23:16:49 +00:00
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-12-08 08:32:34 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<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>
|
2018-12-08 08:32:34 +00:00
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<serverId>ossrh</serverId>
|
|
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<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>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.9.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-11-26 02:01:57 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2018-11-24 11:22:25 +00:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-client</artifactId>
|
|
|
|
<version>${hadoop.version}</version>
|
2020-08-09 23:34:47 +00:00
|
|
|
<scope>provided</scope>
|
2018-11-24 11:22:25 +00:00
|
|
|
</dependency>
|
2018-11-25 21:43:26 +00:00
|
|
|
<dependency>
|
2018-12-08 08:32:34 +00:00
|
|
|
<groupId>com.github.chrislusf</groupId>
|
2018-12-02 23:16:49 +00:00
|
|
|
<artifactId>seaweedfs-client</artifactId>
|
2018-12-17 09:25:02 +00:00
|
|
|
<version>${seaweedfs.client.version}</version>
|
2018-11-25 21:43:26 +00:00
|
|
|
</dependency>
|
2018-11-26 02:01:57 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
<version>${hadoop.version}</version>
|
2020-08-09 23:34:47 +00:00
|
|
|
<scope>provided</scope>
|
2018-11-26 02:01:57 +00:00
|
|
|
</dependency>
|
2018-11-24 11:22:25 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
</project>
|