.proxima-direct-io-bigtable.0.8.0.source-code.pom.xml Maven / Gradle / Ivy
<!--
Copyright 2017-2022 O2 Czech Republic, a.s.
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>cz.o2.proxima</groupId>
<artifactId>proxima-direct</artifactId>
<version>0.8.0</version>
</parent>
<artifactId>proxima-direct-io-bigtable</artifactId>
<packaging>jar</packaging>
<name>${project.groupId}:${project.artifactId}</name>
<properties>
<shadePattern>cz.o2.proxima.bigtable.shaded</shadePattern>
<bigtable.version>1.12.0</bigtable.version>
<grpc.version>1.21.0</grpc.version>
</properties>
<build>
<extensions>
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>${maven.ext.os.version}</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.2</version>
<executions>
<execution>
<id>unpack-dependencies</id>
<phase>generate-resources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<!-- Proxima dependencies may not be packaged yet. -->
<excludeGroupIds>cz.o2.proxima</excludeGroupIds>
<includes>**/META-INF/native/*</includes>
<outputDirectory>${project.build.directory}/classes/</outputDirectory>
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.coderplus.maven.plugins</groupId>
<artifactId>copy-rename-maven-plugin</artifactId>
<version>1.0.1</version>
<executions>
<execution>
<id>copy-and-rename-tcnative</id>
<phase>compile</phase>
<goals>
<goal>rename</goal>
</goals>
<configuration>
<fileSets>
<fileSet>
<sourceFile>${project.build.directory}/classes/META-INF/native/libio_grpc_netty_shaded_netty_tcnative_linux_x86_64.so</sourceFile>
<destinationFile>${project.build.directory}/classes/META-INF/native/libcz_o2_proxima_bigtable_shaded_io_grpc_netty_shaded_netty_tcnative_linux_x86_64.so</destinationFile>
</fileSet>
<fileSet>
<sourceFile>${project.build.directory}/classes/META-INF/native/io_grpc_netty_shaded_netty_tcnative_windows_x86_64.dll</sourceFile>
<destinationFile>${project.build.directory}/classes/META-INF/native/cz_o2_proxima_bigtable_shaded_grpc_io_netty_shaded_netty_tcnative_windows_x86_64.dll</destinationFile>
</fileSet>
<fileSet>
<sourceFile>${project.build.directory}/classes/META-INF/native/libio_grpc_netty_shaded_netty_tcnative_osx_x86_64.jnilib</sourceFile>
<destinationFile>${project.build.directory}/classes/META-INF/native/libcz_o2_proxima_bigtable_shaded_grpc_io_netty_shaded_netty_tcnative_osx_x86_64.jnilib</destinationFile>
</fileSet>
</fileSets>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven.shade.version}</version>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
</transformers>
<relocations>
<relocation>
<pattern>io.grpc.netty.shaded.</pattern>
<shadedPattern>${shadePattern}.io.grpc.netty.shaded.</shadedPattern>
</relocation>
<relocation>
<pattern>io.grpc.</pattern>
<shadedPattern>${shadePattern}.io.grpc.</shadedPattern>
</relocation>
<relocation>
<pattern>io.opencensus.</pattern>
<shadedPattern>${shadePattern}.io.opencensus.</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.api.</pattern>
<shadedPattern>${shadePattern}.com.google.api.</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.protobuf.</pattern>
<shadedPattern>${shadePattern}.com.google.protobuf.</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.bigtable.</pattern>
<shadedPattern>${shadePattern}.com.google.bigtable.</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.cloud.</pattern>
<shadedPattern>${shadePattern}.com.google.cloud.</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.auth.</pattern>
<shadedPattern>${shadePattern}.com.google.auth.</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.gson.</pattern>
<shadedPattern>${shadePattern}.com.google.gson.</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.common.</pattern>
<shadedPattern>${coreShade}.com.google.common.</shadedPattern>
</relocation>
<relocation>
<pattern>com.fasterxml.</pattern>
<shadedPattern>${shadePattern}.com.fasterxml.</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.commons.</pattern>
<shadedPattern>${shadePattern}.org.apache.commons.</shadedPattern>
</relocation>
<relocation>
<pattern>javax.xml.</pattern>
<shadedPattern>${shadePattern}.javax.xml.</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.xerces.</pattern>
<shadedPattern>${shadePattern}.org.apache.xerces.</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>cz.o2.proxima</groupId>
<artifactId>proxima-direct-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>cz.o2.proxima</groupId>
<artifactId>proxima-direct-io-hbase-bindings</artifactId>
<version>${proxima.main.project.version}</version>
</dependency>
<dependency>
<groupId>com.google.cloud.bigtable</groupId>
<artifactId>bigtable-hbase-1.x</artifactId>
<version>${bigtable.version}</version>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.auto.service</groupId>
<artifactId>auto-service</artifactId>
</dependency>
<dependency>
<groupId>com.google.cloud.bigtable</groupId>
<artifactId>bigtable-client-core</artifactId>
<version>${bigtable.version}</version>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.12.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<version>${log4j-over-slf4j.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</dependency>
</dependencies>
</project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy