2019-02-07 11:02:03 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
2019-05-28 03:29:44 -04:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2019-02-07 11:02:03 -05:00
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License. See accompanying LICENSE file.
|
|
|
|
-->
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-05-27 02:24:59 -04:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2019-02-07 11:02:03 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone</artifactId>
|
2019-03-14 06:59:40 -04:00
|
|
|
<version>0.5.0-SNAPSHOT</version>
|
2019-02-07 11:02:03 -05:00
|
|
|
</parent>
|
2019-03-07 08:06:29 -05:00
|
|
|
<artifactId>hadoop-ozone-filesystem-lib-current</artifactId>
|
2019-02-07 11:02:03 -05:00
|
|
|
<name>Apache Hadoop Ozone FileSystem Single Jar Library</name>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<description>This projects creates an uber jar from ozonefs with all the
|
|
|
|
dependencies.
|
|
|
|
</description>
|
2019-03-14 06:59:40 -04:00
|
|
|
<version>0.5.0-SNAPSHOT</version>
|
2019-02-07 11:02:03 -05:00
|
|
|
<properties>
|
|
|
|
<file.encoding>UTF-8</file.encoding>
|
|
|
|
<downloadSources>true</downloadSources>
|
2019-09-18 16:25:15 -04:00
|
|
|
<shaded.prefix>org.apache.hadoop.ozone.shaded</shaded.prefix>
|
2019-02-07 11:02:03 -05:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>signature-check</id>
|
|
|
|
<phase></phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-02-15 02:33:25 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-09-18 16:25:15 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<transformers>
|
|
|
|
<transformer
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
|
|
|
|
<resources>
|
|
|
|
<resource>META-INF/BC1024KE.DSA</resource>
|
|
|
|
<resource>META-INF/BC2048KE.DSA</resource>
|
|
|
|
<resource>META-INF/BC1024KE.SF</resource>
|
|
|
|
<resource>META-INF/BC2048KE.SF</resource>
|
|
|
|
</resources>
|
|
|
|
</transformer>
|
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
|
|
</transformers>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>org</pattern>
|
|
|
|
<shadedPattern>
|
|
|
|
${shaded.prefix}.org
|
|
|
|
</shadedPattern>
|
|
|
|
<includes>
|
|
|
|
<include>org.yaml.**.*</include>
|
|
|
|
<include>org.sqlite.**.*</include>
|
|
|
|
<include>org.tukaani.**.*</include>
|
|
|
|
<include>org.bouncycastle.**.*</include>
|
|
|
|
<include>org.fusesource.leveldbjni.**.*</include>
|
|
|
|
<include>org.rocksdb.**.*</include>
|
|
|
|
<include>org.apache.commons.cli.**.*</include>
|
|
|
|
<include>org.apache.commons.compress.**.*</include>
|
|
|
|
<include>org.apache.commons.codec.**.*</include>
|
|
|
|
<include>org.apache.commons.beanutils.**.*</include>
|
|
|
|
<include>org.apache.commons.collections.**.*</include>
|
|
|
|
<include>org.apache.commons.digester.**.*</include>
|
|
|
|
<include>org.apache.commons.logging.**.*</include>
|
|
|
|
<include>org.apache.commons.pool2.**.*</include>
|
|
|
|
<include>org.apache.commons.validator.**.*</include>
|
|
|
|
<include>org.sqlite.**.*</include>
|
|
|
|
<include>org.apache.thrift.**.*</include>
|
|
|
|
<!-- level db -->
|
|
|
|
<include>org.iq80.**.*</include>
|
|
|
|
<include>org.fusesource.**.*</include>
|
|
|
|
<!-- http client and core -->
|
|
|
|
<include>org.apache.http.**.*</include>
|
|
|
|
</includes>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>com</pattern>
|
|
|
|
<shadedPattern>
|
|
|
|
${shaded.prefix}.com
|
|
|
|
</shadedPattern>
|
|
|
|
<includes>
|
|
|
|
<include>com.google.common.**.*</include>
|
|
|
|
<include>com.google.gson.**.*</include>
|
|
|
|
<include>com.codahale.**.*</include>
|
|
|
|
<include>com.lmax.**.*</include>
|
|
|
|
<include>com.github.joshelser.**.*</include>
|
|
|
|
<include>com.twitter.**.*</include>
|
|
|
|
</includes>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>picocli</pattern>
|
|
|
|
<shadedPattern>
|
|
|
|
${shaded.prefix}.picocli
|
|
|
|
</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>info</pattern>
|
|
|
|
<shadedPattern>
|
|
|
|
${shaded.prefix}.info
|
|
|
|
</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>io</pattern>
|
|
|
|
<shadedPattern>
|
|
|
|
${shaded.prefix}.io
|
|
|
|
</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
|
|
|
|
<!-- handling some special packages with special names -->
|
|
|
|
<relocation>
|
|
|
|
<pattern>okio</pattern>
|
|
|
|
<shadedPattern>
|
|
|
|
${shaded.prefix}.okio
|
|
|
|
</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>okhttp3</pattern>
|
|
|
|
<shadedPattern>
|
|
|
|
${shaded.prefix}.okhttp3
|
|
|
|
</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-02-07 11:02:03 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-filesystem</artifactId>
|
|
|
|
<scope>compile</scope>
|
2019-09-17 06:20:51 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-hdfs</artifactId>
|
|
|
|
</exclusion>
|
2019-09-18 16:25:15 -04:00
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-hdfs-client</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
</exclusion>
|
2019-09-17 06:20:51 -04:00
|
|
|
</exclusions>
|
2019-02-07 11:02:03 -05:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project>
|