broker-hadoop-connector
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.google.cloud.broker</groupId> <artifactId>broker-hadoop-connector</artifactId> <version>hadoop2-0.10.5</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2020 Google LLC 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 http://www.apache.org/licenses/LICENSE-2.0 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. --> <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> <parent> <groupId>com.google.cloud.broker</groupId> <artifactId>broker-parent</artifactId> <version>0.10.5</version> <relativePath>../../../pom.xml</relativePath> </parent> <artifactId>broker-hadoop-connector</artifactId> <version>${hadoop.identifier}-${project.parent.version}</version> <name>Hadoop Connector for the GCP Token Broker</name> <description>Hadoop connector for the GCP Token Broker.</description> <profiles> <profile> <id>hadoop2</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <hadoop.identifier>hadoop2</hadoop.identifier> <hadoop.version>2.9.2</hadoop.version> <gcs.connector.version>${gcs-connector-hadoop2.version}</gcs.connector.version> </properties> </profile> <profile> <id>hadoop3</id> <properties> <hadoop.identifier>hadoop3</hadoop.identifier> <hadoop.version>3.1.1</hadoop.version> <gcs.connector.version>${gcs-connector-hadoop3.version}</gcs.connector.version> </properties> </profile> </profiles> <dependencies> <dependency> <groupId>com.google.cloud.broker</groupId> <artifactId>broker-client-lib</artifactId> <version>${project.parent.version}</version> </dependency> <dependency> <groupId>com.google.cloud.bigdataoss</groupId> <artifactId>gcs-connector</artifactId> <version>${gcs.connector.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.cloud.bigdataoss</groupId> <artifactId>util-hadoop</artifactId> <version>${gcs.connector.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> <version>${hadoop.version}</version> <scope>provided</scope> </dependency> <!-- Testing dependencies --> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-testing</artifactId> <version>${io.grpc.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.google.cloud.broker</groupId> <artifactId>broker-core</artifactId> <version>${project.parent.version}</version> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.kerby</groupId> <artifactId>kerb-simplekdc</artifactId> <version>${org.apache.kerby.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <extensions> <extension> <groupId>kr.motd.maven</groupId> <artifactId>os-maven-plugin</artifactId> <version>${os-maven-plugin.version}</version> </extension> </extensions> <plugins> <plugin> <groupId>org.xolstice.maven.plugins</groupId> <artifactId>protobuf-maven-plugin</artifactId> <version>${protobuf-maven-plugin.version}</version> <configuration> <protocArtifact>com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}</protocArtifact> <pluginId>grpc-java</pluginId> <pluginArtifact>io.grpc:protoc-gen-grpc-java:${io.grpc.version}:exe:${os.detected.classifier}</pluginArtifact> </configuration> <executions> <execution> <goals> <goal>compile</goal> <goal>compile-custom</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>${maven-shade-plugin.version}</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <shadedClassifierName>jar-with-dependencies</shadedClassifierName> <shadedArtifactAttached>true</shadedArtifactAttached> <artifactSet> <includes> <include>com.google.cloud.broker:broker-client-lib</include> <include>com.google.auth</include> <include>com.google.http-client:google-http-client</include> <include>com.google.guava</include> <include>com.google.protobuf</include> <include>io.grpc</include> <include>io.opencensus</include> <include>io.netty:netty-handler</include> <include>io.netty:netty-common</include> <include>io.netty:netty-codec-http2</include> <include>io.netty:netty-buffer</include> <include>io.netty:netty-codec-http</include> <include>io.netty:netty-transport</include> <include>io.netty:netty-codec</include> <include>io.netty:netty-resolver</include> <include>io.perfmark</include> </includes> </artifactSet> <relocations> <relocation> <pattern>com.google.common</pattern> <shadedPattern>shaded.broker.com.google.common</shadedPattern> </relocation> <relocation> <pattern>com.google.protobuf</pattern> <shadedPattern>shaded.broker.com.google.protobuf</shadedPattern> </relocation> </relocations> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>