<?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">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.qcloud</groupId>
  <artifactId>hadoop-ranger-client-for-hadoop</artifactId>
  <name>hadoop-ranger-client</name>
  <version>3.3.0-4.1</version>
  <description>Tencent Qcloud chdfs hadoop ranger client.</description>
  <url>https://cloud.tencent.com/document/product/1105/53307</url>
  <developers>
    <developer>
      <name>chengwu</name>
      <email>chengwu@tencent.com</email>
    </developer>
  </developers>
  <licenses>
    <license>
      <name>cosn-hadoop-ranger-client</name>
      <url>https://github.com/tencentyun/cosn-hadoop-ranger-client</url>
    </license>
  </licenses>
  <scm>
    <connection>scm:git:https://github.com/tencentyun/cosn-hadoop-ranger-client.git</connection>
    <developerConnection>scm:git:https://github.com/tencentyun/cosn-hadoop-ranger-client.git</developerConnection>
    <url>https://github.com/tencentyun/cosn-hadoop-ranger-client</url>
  </scm>
  <build>
    <extensions>
      <extension>
        <groupId>kr.motd.maven</groupId>
        <artifactId>os-maven-plugin</artifactId>
        <version>1.5.0.Final</version>
      </extension>
    </extensions>
    <plugins>
      <plugin>
        <groupId>org.xolstice.maven.plugins</groupId>
        <artifactId>protobuf-maven-plugin</artifactId>
        <version>0.5.1</version>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <goals>
              <goal>compile</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <protoSourceRoot>${project.basedir}/src/main/proto</protoSourceRoot>
          <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <version>3.0.0</version>
        <executions>
          <execution>
            <id>regex-property</id>
            <goals>
              <goal>regex-property</goal>
            </goals>
            <configuration>
              <name>underline_project_version</name>
              <value>${project.version}</value>
              <regex>\.</regex>
              <replacement>_</replacement>
              <failIfNoMatch>true</failIfNoMatch>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>3.2.0</version>
        <executions>
          <execution>
            <phase>compile</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <attach>true</attach>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.9.1</version>
        <executions>
          <execution>
            <id>javadoc-jar</id>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <additionalJOption>-Xdoclint:none</additionalJOption>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-deploy-plugin</artifactId>
        <version>2.8.2</version>
        <executions>
          <execution>
            <id>deploy</id>
            <phase>deploy</phase>
            <goals>
              <goal>deploy</goal>
            </goals>
          </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>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>presto</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-shade-plugin</artifactId>
            <version>3.1.1</version>
            <executions>
              <execution>
                <phase>package</phase>
                <goals>
                  <goal>shade</goal>
                </goals>
                <configuration>
                  <shadedArtifactAttached>false</shadedArtifactAttached>
                  <createDependencyReducedPom>true</createDependencyReducedPom>
                  <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
                  <createSourcesJar>true</createSourcesJar>
                  <shadeSourcesContent>true</shadeSourcesContent>
                  <relocations>
                    <relocation>
                      <pattern>com.google.common</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.com.google.common</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>com.google.gson</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.com.google.gson</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.curator</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.curator</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.zookeeper</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.zookeeper</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.avro</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.avro</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>com.google.protobuf</pattern>
                      <shadedPattern>io.prestosql.hadoop.\$internal.com.google.protobuf</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.commons</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.commons</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.http</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.http</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.htrace</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.htrace</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.codehaus</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.codehaus</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.jute</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.jute</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.jboss</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.jboss</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>com.ctc.wstx</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.com.ctc.wstx</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>com.fasterxml.jackson</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.com.fasterxml.jackson</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.kerby</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.kerby</shadedPattern>
                    </relocation>
                  </relocations>
                  <transformers>
                    <transformer />
                    <transformer />
                  </transformers>
                  <filters>
                    <filter>
                      <artifact>*:*</artifact>
                      <excludes>
                        <exclude>META-INF/*.DSA</exclude>
                        <exclude>META-INF/*.RSA</exclude>
                        <exclude>META-INF/*.SF</exclude>
                        <exclude>META-INF/native/libnetty*.so</exclude>
                        <exclude>META-INF/native/libnetty*.jnilib</exclude>
                        <exclude>META-INF/native/netty*.dll</exclude>
                        <exclude>META-INF/license/*</exclude>
                        <exclude>*.proto</exclude>
                        <exclude>jline</exclude>
                        <exclude>mozilla</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>io.netty:netty-all</artifact>
                      <excludes>
                        <exclude>META-INF/io.netty.versions.properties</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>com.fasterxml.jackson.*:*</artifact>
                      <excludes>
                        <exclude>META-INF/services/**</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>com.fasterxml.woodstox:woodstox-core</artifact>
                      <excludes>
                        <exclude>META-INF/services/**</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.commons:commons-configuration2</artifact>
                      <excludes>
                        <exclude>*.dtd</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.eclipse.jetty:jetty-util</artifact>
                      <excludes>
                        <exclude>about.html</exclude>
                        <exclude>jetty-dir.css</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.eclipse.jetty:jetty-util-ajax</artifact>
                      <excludes>
                        <exclude>about.html</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.kerby:kerb-simplekdc</artifact>
                      <excludes>
                        <exclude>krb5-template.conf</exclude>
                        <exclude>krb5_udp-template.conf</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.kerby:kerb-util</artifact>
                      <excludes>
                        <exclude>ccache.txt</exclude>
                        <exclude>keytab.txt</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.htrace:htrace-core4</artifact>
                      <excludes>
                        <exclude>META-INF/services/com.fasterxml.jackson.*</exclude>
                      </excludes>
                    </filter>
                  </filters>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>org.apache.hadoop</groupId>
          <artifactId>hadoop-common</artifactId>
          <version>${hadoop.version}</version>
          <scope>provided</scope>
          <exclusions>
            <exclusion>
              <artifactId>curator-client</artifactId>
              <groupId>org.apache.curator</groupId>
            </exclusion>
            <exclusion>
              <artifactId>curator-recipes</artifactId>
              <groupId>org.apache.curator</groupId>
            </exclusion>
            <exclusion>
              <artifactId>curator-framework</artifactId>
              <groupId>org.apache.curator</groupId>
            </exclusion>
            <exclusion>
              <artifactId>zookeeper</artifactId>
              <groupId>org.apache.zookeeper</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jersey-server</artifactId>
              <groupId>com.sun.jersey</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jersey-core</artifactId>
              <groupId>com.sun.jersey</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jersey-json</artifactId>
              <groupId>com.sun.jersey</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jersey-servlet</artifactId>
              <groupId>com.sun.jersey</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jetty-server</artifactId>
              <groupId>org.eclipse.jetty</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jetty-servlet</artifactId>
              <groupId>org.eclipse.jetty</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jetty-util</artifactId>
              <groupId>org.eclipse.jetty</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jetty-webapp</artifactId>
              <groupId>org.eclipse.jetty</groupId>
            </exclusion>
            <exclusion>
              <artifactId>guava</artifactId>
              <groupId>com.google.guava</groupId>
            </exclusion>
            <exclusion>
              <artifactId>log4j</artifactId>
              <groupId>log4j</groupId>
            </exclusion>
            <exclusion>
              <artifactId>slf4j-log4j12</artifactId>
              <groupId>org.slf4j</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jsp-api</artifactId>
              <groupId>javax.servlet.jsp</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jsch</artifactId>
              <groupId>com.jcraft</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jdk.tools</artifactId>
              <groupId>jdk.tools</groupId>
            </exclusion>
            <exclusion>
              <artifactId>dnsjava</artifactId>
              <groupId>dnsjava</groupId>
            </exclusion>
            <exclusion>
              <artifactId>json-smart</artifactId>
              <groupId>net.minidev</groupId>
            </exclusion>
            <exclusion>
              <artifactId>nimbus-jose-jwt</artifactId>
              <groupId>com.nimbusds</groupId>
            </exclusion>
            <exclusion>
              <artifactId>paranamer</artifactId>
              <groupId>com.thoughtworks.paranamer</groupId>
            </exclusion>
            <exclusion>
              <artifactId>snappy-java</artifactId>
              <groupId>org.xerial.snappy</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jsr305</artifactId>
              <groupId>com.google.code.findbugs</groupId>
            </exclusion>
            <exclusion>
              <artifactId>commons-math3</artifactId>
              <groupId>org.apache.commons</groupId>
            </exclusion>
            <exclusion>
              <artifactId>commons-compress</artifactId>
              <groupId>org.apache.commons</groupId>
            </exclusion>
            <exclusion>
              <artifactId>commons-beanutils</artifactId>
              <groupId>commons-beanutils</groupId>
            </exclusion>
            <exclusion>
              <artifactId>javax.servlet-api</artifactId>
              <groupId>javax.servlet</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jersey-servlet</artifactId>
              <groupId>com.sun.jersey</groupId>
            </exclusion>
          </exclusions>
        </dependency>
      </dependencies>
      <properties>
        <profiles.active>presto</profiles.active>
      </properties>
    </profile>
    <profile>
      <id>trino</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-shade-plugin</artifactId>
            <version>3.1.1</version>
            <executions>
              <execution>
                <phase>package</phase>
                <goals>
                  <goal>shade</goal>
                </goals>
                <configuration>
                  <shadedArtifactAttached>false</shadedArtifactAttached>
                  <createDependencyReducedPom>true</createDependencyReducedPom>
                  <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
                  <createSourcesJar>true</createSourcesJar>
                  <shadeSourcesContent>true</shadeSourcesContent>
                  <relocations>
                    <relocation>
                      <pattern>com.google.common</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.com.google.common</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>com.google.gson</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.com.google.gson</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.curator</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.curator</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.zookeeper</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.zookeeper</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.avro</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.avro</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.commons</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.commons</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.http</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.http</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.htrace</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.htrace</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.codehaus</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.codehaus</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.jute</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.jute</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.jboss</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.jboss</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>com.ctc.wstx</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.com.ctc.wstx</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>com.fasterxml.jackson</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.com.fasterxml.jackson</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.kerby</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.kerby</shadedPattern>
                    </relocation>
                  </relocations>
                  <transformers>
                    <transformer />
                    <transformer />
                  </transformers>
                  <filters>
                    <filter>
                      <artifact>*:*</artifact>
                      <excludes>
                        <exclude>META-INF/*.DSA</exclude>
                        <exclude>META-INF/*.RSA</exclude>
                        <exclude>META-INF/*.SF</exclude>
                        <exclude>META-INF/native/libnetty*.so</exclude>
                        <exclude>META-INF/native/libnetty*.jnilib</exclude>
                        <exclude>META-INF/native/netty*.dll</exclude>
                        <exclude>META-INF/license/*</exclude>
                        <exclude>*.proto</exclude>
                        <exclude>jline</exclude>
                        <exclude>mozilla</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>io.netty:netty-all</artifact>
                      <excludes>
                        <exclude>META-INF/io.netty.versions.properties</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>com.fasterxml.jackson.*:*</artifact>
                      <excludes>
                        <exclude>META-INF/services/**</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>com.fasterxml.woodstox:woodstox-core</artifact>
                      <excludes>
                        <exclude>META-INF/services/**</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.commons:commons-configuration2</artifact>
                      <excludes>
                        <exclude>*.dtd</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.eclipse.jetty:jetty-util</artifact>
                      <excludes>
                        <exclude>about.html</exclude>
                        <exclude>jetty-dir.css</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.eclipse.jetty:jetty-util-ajax</artifact>
                      <excludes>
                        <exclude>about.html</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.kerby:kerb-simplekdc</artifact>
                      <excludes>
                        <exclude>krb5-template.conf</exclude>
                        <exclude>krb5_udp-template.conf</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.kerby:kerb-util</artifact>
                      <excludes>
                        <exclude>ccache.txt</exclude>
                        <exclude>keytab.txt</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.htrace:htrace-core4</artifact>
                      <excludes>
                        <exclude>META-INF/services/com.fasterxml.jackson.*</exclude>
                      </excludes>
                    </filter>
                  </filters>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>org.apache.hadoop</groupId>
          <artifactId>hadoop-common</artifactId>
          <version>${hadoop.version}</version>
          <scope>provided</scope>
          <exclusions>
            <exclusion>
              <artifactId>curator-client</artifactId>
              <groupId>org.apache.curator</groupId>
            </exclusion>
            <exclusion>
              <artifactId>curator-recipes</artifactId>
              <groupId>org.apache.curator</groupId>
            </exclusion>
            <exclusion>
              <artifactId>curator-framework</artifactId>
              <groupId>org.apache.curator</groupId>
            </exclusion>
            <exclusion>
              <artifactId>zookeeper</artifactId>
              <groupId>org.apache.zookeeper</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jersey-server</artifactId>
              <groupId>com.sun.jersey</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jersey-core</artifactId>
              <groupId>com.sun.jersey</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jersey-json</artifactId>
              <groupId>com.sun.jersey</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jersey-servlet</artifactId>
              <groupId>com.sun.jersey</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jetty-server</artifactId>
              <groupId>org.eclipse.jetty</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jetty-servlet</artifactId>
              <groupId>org.eclipse.jetty</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jetty-util</artifactId>
              <groupId>org.eclipse.jetty</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jetty-webapp</artifactId>
              <groupId>org.eclipse.jetty</groupId>
            </exclusion>
            <exclusion>
              <artifactId>guava</artifactId>
              <groupId>com.google.guava</groupId>
            </exclusion>
            <exclusion>
              <artifactId>log4j</artifactId>
              <groupId>log4j</groupId>
            </exclusion>
            <exclusion>
              <artifactId>slf4j-log4j12</artifactId>
              <groupId>org.slf4j</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jsp-api</artifactId>
              <groupId>javax.servlet.jsp</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jsch</artifactId>
              <groupId>com.jcraft</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jdk.tools</artifactId>
              <groupId>jdk.tools</groupId>
            </exclusion>
            <exclusion>
              <artifactId>dnsjava</artifactId>
              <groupId>dnsjava</groupId>
            </exclusion>
            <exclusion>
              <artifactId>json-smart</artifactId>
              <groupId>net.minidev</groupId>
            </exclusion>
            <exclusion>
              <artifactId>nimbus-jose-jwt</artifactId>
              <groupId>com.nimbusds</groupId>
            </exclusion>
            <exclusion>
              <artifactId>paranamer</artifactId>
              <groupId>com.thoughtworks.paranamer</groupId>
            </exclusion>
            <exclusion>
              <artifactId>snappy-java</artifactId>
              <groupId>org.xerial.snappy</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jsr305</artifactId>
              <groupId>com.google.code.findbugs</groupId>
            </exclusion>
            <exclusion>
              <artifactId>commons-math3</artifactId>
              <groupId>org.apache.commons</groupId>
            </exclusion>
            <exclusion>
              <artifactId>commons-compress</artifactId>
              <groupId>org.apache.commons</groupId>
            </exclusion>
            <exclusion>
              <artifactId>commons-beanutils</artifactId>
              <groupId>commons-beanutils</groupId>
            </exclusion>
            <exclusion>
              <artifactId>javax.servlet-api</artifactId>
              <groupId>javax.servlet</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jersey-servlet</artifactId>
              <groupId>com.sun.jersey</groupId>
            </exclusion>
          </exclusions>
        </dependency>
      </dependencies>
      <properties>
        <profiles.active>trino</profiles.active>
      </properties>
    </profile>
    <profile>
      <id>prestodb</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-shade-plugin</artifactId>
            <version>3.1.1</version>
            <executions>
              <execution>
                <phase>package</phase>
                <goals>
                  <goal>shade</goal>
                </goals>
                <configuration>
                  <shadedArtifactAttached>false</shadedArtifactAttached>
                  <createDependencyReducedPom>true</createDependencyReducedPom>
                  <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
                  <createSourcesJar>true</createSourcesJar>
                  <shadeSourcesContent>true</shadeSourcesContent>
                  <relocations>
                    <relocation>
                      <pattern>com.google.common</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.com.google.common</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>com.google.gson</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.com.google.gson</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.curator</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.curator</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.zookeeper</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.zookeeper</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.avro</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.avro</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>com.google.protobuf</pattern>
                      <shadedPattern>com.facebook.presto.hadoop.\$internal.com.google.protobuf</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.commons</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.commons</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.http</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.http</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.htrace</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.htrace</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.codehaus</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.codehaus</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.jute</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.jute</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.jboss</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.jboss</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>com.ctc.wstx</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.com.ctc.wstx</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>com.fasterxml.jackson</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.com.fasterxml.jackson</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.kerby</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.kerby</shadedPattern>
                    </relocation>
                  </relocations>
                  <transformers>
                    <transformer />
                    <transformer />
                  </transformers>
                  <filters>
                    <filter>
                      <artifact>*:*</artifact>
                      <excludes>
                        <exclude>META-INF/*.DSA</exclude>
                        <exclude>META-INF/*.RSA</exclude>
                        <exclude>META-INF/*.SF</exclude>
                        <exclude>META-INF/native/libnetty*.so</exclude>
                        <exclude>META-INF/native/libnetty*.jnilib</exclude>
                        <exclude>META-INF/native/netty*.dll</exclude>
                        <exclude>META-INF/license/*</exclude>
                        <exclude>*.proto</exclude>
                        <exclude>jline</exclude>
                        <exclude>mozilla</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>io.netty:netty-all</artifact>
                      <excludes>
                        <exclude>META-INF/io.netty.versions.properties</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>com.fasterxml.jackson.*:*</artifact>
                      <excludes>
                        <exclude>META-INF/services/**</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>com.fasterxml.woodstox:woodstox-core</artifact>
                      <excludes>
                        <exclude>META-INF/services/**</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.commons:commons-configuration2</artifact>
                      <excludes>
                        <exclude>*.dtd</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.eclipse.jetty:jetty-util</artifact>
                      <excludes>
                        <exclude>about.html</exclude>
                        <exclude>jetty-dir.css</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.eclipse.jetty:jetty-util-ajax</artifact>
                      <excludes>
                        <exclude>about.html</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.kerby:kerb-simplekdc</artifact>
                      <excludes>
                        <exclude>krb5-template.conf</exclude>
                        <exclude>krb5_udp-template.conf</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.kerby:kerb-util</artifact>
                      <excludes>
                        <exclude>ccache.txt</exclude>
                        <exclude>keytab.txt</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.htrace:htrace-core4</artifact>
                      <excludes>
                        <exclude>META-INF/services/com.fasterxml.jackson.*</exclude>
                      </excludes>
                    </filter>
                  </filters>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>org.apache.hadoop</groupId>
          <artifactId>hadoop-common</artifactId>
          <version>${hadoop.version}</version>
          <scope>provided</scope>
          <exclusions>
            <exclusion>
              <artifactId>curator-client</artifactId>
              <groupId>org.apache.curator</groupId>
            </exclusion>
            <exclusion>
              <artifactId>curator-recipes</artifactId>
              <groupId>org.apache.curator</groupId>
            </exclusion>
            <exclusion>
              <artifactId>curator-framework</artifactId>
              <groupId>org.apache.curator</groupId>
            </exclusion>
            <exclusion>
              <artifactId>zookeeper</artifactId>
              <groupId>org.apache.zookeeper</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jersey-server</artifactId>
              <groupId>com.sun.jersey</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jersey-core</artifactId>
              <groupId>com.sun.jersey</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jersey-json</artifactId>
              <groupId>com.sun.jersey</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jersey-servlet</artifactId>
              <groupId>com.sun.jersey</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jetty-server</artifactId>
              <groupId>org.eclipse.jetty</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jetty-servlet</artifactId>
              <groupId>org.eclipse.jetty</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jetty-util</artifactId>
              <groupId>org.eclipse.jetty</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jetty-webapp</artifactId>
              <groupId>org.eclipse.jetty</groupId>
            </exclusion>
            <exclusion>
              <artifactId>guava</artifactId>
              <groupId>com.google.guava</groupId>
            </exclusion>
            <exclusion>
              <artifactId>log4j</artifactId>
              <groupId>log4j</groupId>
            </exclusion>
            <exclusion>
              <artifactId>slf4j-log4j12</artifactId>
              <groupId>org.slf4j</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jsp-api</artifactId>
              <groupId>javax.servlet.jsp</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jsch</artifactId>
              <groupId>com.jcraft</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jdk.tools</artifactId>
              <groupId>jdk.tools</groupId>
            </exclusion>
            <exclusion>
              <artifactId>dnsjava</artifactId>
              <groupId>dnsjava</groupId>
            </exclusion>
            <exclusion>
              <artifactId>json-smart</artifactId>
              <groupId>net.minidev</groupId>
            </exclusion>
            <exclusion>
              <artifactId>nimbus-jose-jwt</artifactId>
              <groupId>com.nimbusds</groupId>
            </exclusion>
            <exclusion>
              <artifactId>paranamer</artifactId>
              <groupId>com.thoughtworks.paranamer</groupId>
            </exclusion>
            <exclusion>
              <artifactId>snappy-java</artifactId>
              <groupId>org.xerial.snappy</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jsr305</artifactId>
              <groupId>com.google.code.findbugs</groupId>
            </exclusion>
            <exclusion>
              <artifactId>commons-math3</artifactId>
              <groupId>org.apache.commons</groupId>
            </exclusion>
            <exclusion>
              <artifactId>commons-compress</artifactId>
              <groupId>org.apache.commons</groupId>
            </exclusion>
            <exclusion>
              <artifactId>commons-beanutils</artifactId>
              <groupId>commons-beanutils</groupId>
            </exclusion>
            <exclusion>
              <artifactId>javax.servlet-api</artifactId>
              <groupId>javax.servlet</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jersey-servlet</artifactId>
              <groupId>com.sun.jersey</groupId>
            </exclusion>
          </exclusions>
        </dependency>
      </dependencies>
      <properties>
        <profiles.active>prestodb</profiles.active>
      </properties>
    </profile>
    <profile>
      <id>hadoop</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-shade-plugin</artifactId>
            <version>3.1.1</version>
            <executions>
              <execution>
                <phase>package</phase>
                <goals>
                  <goal>shade</goal>
                </goals>
                <configuration>
                  <shadedArtifactAttached>false</shadedArtifactAttached>
                  <createDependencyReducedPom>true</createDependencyReducedPom>
                  <dependencyReducedPomLocation>/Users/ruancongyong/Documents/workspace/all-in-onenas/hadoop-ranger-client/target/dependency-reduced-pom.xml</dependencyReducedPomLocation>
                  <createSourcesJar>true</createSourcesJar>
                  <shadeSourcesContent>true</shadeSourcesContent>
                  <relocations>
                    <relocation>
                      <pattern>com.google.common</pattern>
                      <shadedPattern>qcloud.storage.ranger.thirdparty.com.google.common</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>com.google.thirdparty.publicsuffix</pattern>
                      <shadedPattern>qcloud.storage.ranger.thirdparty.com.google.thirdparty.publicsuffix</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.curator</pattern>
                      <shadedPattern>qcloud.storage.ranger.thirdparty.org.apache.curator</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>jline</pattern>
                      <shadedPattern>qcloud.storage.ranger.thirdparty.jline</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.jute</pattern>
                      <shadedPattern>qcloud.storage.ranger.thirdparty.org.apache.jute</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.apache.zookeeper</pattern>
                      <shadedPattern>qcloud.storage.ranger.thirdparty.org.apache.zookeeper</shadedPattern>
                    </relocation>
                    <relocation>
                      <pattern>org.jboss.netty</pattern>
                      <shadedPattern>qcloud.storage.ranger.thirdparty.org.jboss.netty</shadedPattern>
                    </relocation>
                  </relocations>
                  <transformers>
                    <transformer />
                    <transformer />
                  </transformers>
                  <filters>
                    <filter>
                      <artifact>*:*</artifact>
                      <excludes>
                        <exclude>META-INF/*.DSA</exclude>
                        <exclude>META-INF/*.RSA</exclude>
                        <exclude>META-INF/*.SF</exclude>
                        <exclude>META-INF/native/libnetty*.so</exclude>
                        <exclude>META-INF/native/libnetty*.jnilib</exclude>
                        <exclude>META-INF/native/netty*.dll</exclude>
                        <exclude>META-INF/license/*</exclude>
                        <exclude>*.proto</exclude>
                        <exclude>jline</exclude>
                        <exclude>mozilla</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>io.netty:netty-all</artifact>
                      <excludes>
                        <exclude>META-INF/io.netty.versions.properties</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>com.fasterxml.jackson.*:*</artifact>
                      <excludes>
                        <exclude>META-INF/services/**</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>com.fasterxml.woodstox:woodstox-core</artifact>
                      <excludes>
                        <exclude>META-INF/services/**</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.commons:commons-configuration2</artifact>
                      <excludes>
                        <exclude>*.dtd</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.eclipse.jetty:jetty-util</artifact>
                      <excludes>
                        <exclude>about.html</exclude>
                        <exclude>jetty-dir.css</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.eclipse.jetty:jetty-util-ajax</artifact>
                      <excludes>
                        <exclude>about.html</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.kerby:kerb-simplekdc</artifact>
                      <excludes>
                        <exclude>krb5-template.conf</exclude>
                        <exclude>krb5_udp-template.conf</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.kerby:kerb-util</artifact>
                      <excludes>
                        <exclude>ccache.txt</exclude>
                        <exclude>keytab.txt</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.htrace:htrace-core4</artifact>
                      <excludes>
                        <exclude>META-INF/services/com.fasterxml.jackson.*</exclude>
                      </excludes>
                    </filter>
                  </filters>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>org.apache.hadoop</groupId>
          <artifactId>hadoop-common</artifactId>
          <version>3.3.0</version>
          <scope>provided</scope>
          <exclusions>
            <exclusion>
              <artifactId>hadoop-shaded-protobuf_3_7</artifactId>
              <groupId>org.apache.hadoop.thirdparty</groupId>
            </exclusion>
            <exclusion>
              <artifactId>hadoop-annotations</artifactId>
              <groupId>org.apache.hadoop</groupId>
            </exclusion>
            <exclusion>
              <artifactId>commons-cli</artifactId>
              <groupId>commons-cli</groupId>
            </exclusion>
            <exclusion>
              <artifactId>commons-math3</artifactId>
              <groupId>org.apache.commons</groupId>
            </exclusion>
            <exclusion>
              <artifactId>httpclient</artifactId>
              <groupId>org.apache.httpcomponents</groupId>
            </exclusion>
            <exclusion>
              <artifactId>commons-codec</artifactId>
              <groupId>commons-codec</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>
            <exclusion>
              <artifactId>javax.activation-api</artifactId>
              <groupId>javax.activation</groupId>
            </exclusion>
            <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>commons-logging</artifactId>
              <groupId>commons-logging</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>
            <exclusion>
              <artifactId>commons-text</artifactId>
              <groupId>org.apache.commons</groupId>
            </exclusion>
            <exclusion>
              <artifactId>slf4j-api</artifactId>
              <groupId>org.slf4j</groupId>
            </exclusion>
            <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>protobuf-java</artifactId>
              <groupId>com.google.protobuf</groupId>
            </exclusion>
            <exclusion>
              <artifactId>gson</artifactId>
              <groupId>com.google.code.gson</groupId>
            </exclusion>
            <exclusion>
              <artifactId>hadoop-auth</artifactId>
              <groupId>org.apache.hadoop</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jsch</artifactId>
              <groupId>com.jcraft</groupId>
            </exclusion>
            <exclusion>
              <artifactId>jsr305</artifactId>
              <groupId>com.google.code.findbugs</groupId>
            </exclusion>
            <exclusion>
              <artifactId>htrace-core4</artifactId>
              <groupId>org.apache.htrace</groupId>
            </exclusion>
            <exclusion>
              <artifactId>commons-compress</artifactId>
              <groupId>org.apache.commons</groupId>
            </exclusion>
            <exclusion>
              <artifactId>kerb-core</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>
            <exclusion>
              <artifactId>dnsjava</artifactId>
              <groupId>dnsjava</groupId>
            </exclusion>
          </exclusions>
        </dependency>
      </dependencies>
      <properties>
        <os.detected.name>osx</os.detected.name>
        <os.detected.classifier>osx-x86_64</os.detected.classifier>
        <os.detected.arch>x86_64</os.detected.arch>
        <profiles.active>hadoop</profiles.active>
      </properties>
    </profile>
    <profile>
      <id>impala</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-shade-plugin</artifactId>
            <version>3.1.1</version>
            <executions>
              <execution>
                <phase>package</phase>
                <goals>
                  <goal>shade</goal>
                </goals>
                <configuration>
                  <shadedArtifactAttached>false</shadedArtifactAttached>
                  <createDependencyReducedPom>true</createDependencyReducedPom>
                  <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
                  <createSourcesJar>true</createSourcesJar>
                  <shadeSourcesContent>true</shadeSourcesContent>
                  <relocations>
                    <relocation>
                      <pattern>org.apache.zookeeper</pattern>
                      <shadedPattern>${shading.prefix}.thirdparty.org.apache.zookeeper</shadedPattern>
                    </relocation>
                  </relocations>
                  <transformers>
                    <transformer />
                    <transformer />
                  </transformers>
                  <filters>
                    <filter>
                      <artifact>*:*</artifact>
                      <excludes>
                        <exclude>META-INF/*.DSA</exclude>
                        <exclude>META-INF/*.RSA</exclude>
                        <exclude>META-INF/*.SF</exclude>
                        <exclude>META-INF/native/libnetty*.so</exclude>
                        <exclude>META-INF/native/libnetty*.jnilib</exclude>
                        <exclude>META-INF/native/netty*.dll</exclude>
                        <exclude>META-INF/license/*</exclude>
                        <exclude>*.proto</exclude>
                        <exclude>jline</exclude>
                        <exclude>mozilla</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>io.netty:netty-all</artifact>
                      <excludes>
                        <exclude>META-INF/io.netty.versions.properties</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>com.fasterxml.jackson.*:*</artifact>
                      <excludes>
                        <exclude>META-INF/services/**</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>com.fasterxml.woodstox:woodstox-core</artifact>
                      <excludes>
                        <exclude>META-INF/services/**</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.commons:commons-configuration2</artifact>
                      <excludes>
                        <exclude>*.dtd</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.eclipse.jetty:jetty-util</artifact>
                      <excludes>
                        <exclude>about.html</exclude>
                        <exclude>jetty-dir.css</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.eclipse.jetty:jetty-util-ajax</artifact>
                      <excludes>
                        <exclude>about.html</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.kerby:kerb-simplekdc</artifact>
                      <excludes>
                        <exclude>krb5-template.conf</exclude>
                        <exclude>krb5_udp-template.conf</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.kerby:kerb-util</artifact>
                      <excludes>
                        <exclude>ccache.txt</exclude>
                        <exclude>keytab.txt</exclude>
                      </excludes>
                    </filter>
                    <filter>
                      <artifact>org.apache.htrace:htrace-core4</artifact>
                      <excludes>
                        <exclude>META-INF/services/com.fasterxml.jackson.*</exclude>
                      </excludes>
                    </filter>
                  </filters>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <dependencies>
        <dependency>
          <groupId>org.apache.hadoop</groupId>
          <artifactId>hadoop-common</artifactId>
          <version>${hadoop.version}</version>
          <scope>provided</scope>
        </dependency>
      </dependencies>
      <properties>
        <profiles.active>impala</profiles.active>
      </properties>
    </profile>
  </profiles>
  <dependencies>
    <dependency>
      <groupId>com.qcloud</groupId>
      <artifactId>cosn-ranger-interface</artifactId>
      <version>1.0.4</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.12</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>hamcrest-core</artifactId>
          <groupId>org.hamcrest</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.apache.hadoop</groupId>
      <artifactId>hadoop-common</artifactId>
      <version>3.3.0</version>
      <scope>provided</scope>
      <exclusions>
        <exclusion>
          <artifactId>hadoop-shaded-protobuf_3_7</artifactId>
          <groupId>org.apache.hadoop.thirdparty</groupId>
        </exclusion>
        <exclusion>
          <artifactId>hadoop-annotations</artifactId>
          <groupId>org.apache.hadoop</groupId>
        </exclusion>
        <exclusion>
          <artifactId>commons-cli</artifactId>
          <groupId>commons-cli</groupId>
        </exclusion>
        <exclusion>
          <artifactId>commons-math3</artifactId>
          <groupId>org.apache.commons</groupId>
        </exclusion>
        <exclusion>
          <artifactId>httpclient</artifactId>
          <groupId>org.apache.httpcomponents</groupId>
        </exclusion>
        <exclusion>
          <artifactId>commons-codec</artifactId>
          <groupId>commons-codec</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>
        <exclusion>
          <artifactId>javax.activation-api</artifactId>
          <groupId>javax.activation</groupId>
        </exclusion>
        <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>commons-logging</artifactId>
          <groupId>commons-logging</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>
        <exclusion>
          <artifactId>commons-text</artifactId>
          <groupId>org.apache.commons</groupId>
        </exclusion>
        <exclusion>
          <artifactId>slf4j-api</artifactId>
          <groupId>org.slf4j</groupId>
        </exclusion>
        <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>protobuf-java</artifactId>
          <groupId>com.google.protobuf</groupId>
        </exclusion>
        <exclusion>
          <artifactId>gson</artifactId>
          <groupId>com.google.code.gson</groupId>
        </exclusion>
        <exclusion>
          <artifactId>hadoop-auth</artifactId>
          <groupId>org.apache.hadoop</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jsch</artifactId>
          <groupId>com.jcraft</groupId>
        </exclusion>
        <exclusion>
          <artifactId>jsr305</artifactId>
          <groupId>com.google.code.findbugs</groupId>
        </exclusion>
        <exclusion>
          <artifactId>htrace-core4</artifactId>
          <groupId>org.apache.htrace</groupId>
        </exclusion>
        <exclusion>
          <artifactId>commons-compress</artifactId>
          <groupId>org.apache.commons</groupId>
        </exclusion>
        <exclusion>
          <artifactId>kerb-core</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>
        <exclusion>
          <artifactId>dnsjava</artifactId>
          <groupId>dnsjava</groupId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
  <distributionManagement>
    <repository>
      <id>oss</id>
      <name>hadoop-ranger-client</name>
      <url>https://mirrors.tencent.com/repository/maven/QCLOUD_COS</url>
    </repository>
    <snapshotRepository>
      <id>oss</id>
      <name>hadoop-ranger-client</name>
      <url>https://mirrors.tencent.com/repository/maven/QCLOUD_COS</url>
    </snapshotRepository>
  </distributionManagement>
  <properties>
    <shading.prefix>qcloud.storage.ranger</shading.prefix>
    <origin.version>4.1</origin.version>
    <maven.compiler.target>1.7</maven.compiler.target>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <zk.version>3.4.6</zk.version>
    <hadoop.version>3.3.0</hadoop.version>
    <curator.version>2.7.1</curator.version>
    <maven.compiler.source>1.7</maven.compiler.source>
    <protobuf.version>2.5.0</protobuf.version>
  </properties>
</project>
