META-INF.maven.org.apache.hbase.thirdparty.hbase-shaded-miscellaneous.pom.xml Maven / Gradle / Ivy
<?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"> <parent> <artifactId>hbase-thirdparty</artifactId> <groupId>org.apache.hbase.thirdparty</groupId> <version>2.2.1</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>hbase-shaded-miscellaneous</artifactId> <name>Apache HBase Relocated (Shaded) Third-party Miscellaneous Libs</name> <description>Pulls down a set of libs, relocates them and then makes a fat new jar with them all in it. See below for what this miscellaney includes.</description> <build> <plugins> <plugin> <artifactId>maven-clean-plugin</artifactId> <configuration> <filesets> <fileset> <directory>${basedir}</directory> <includes> <include>dependency-reduced-pom.xml</include> </includes> </fileset> </filesets> </configuration> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <shadeSourcesContent>true</shadeSourcesContent> <createSourcesJar>true</createSourcesJar> <relocations> <relocation> <pattern>com.google.common</pattern> <shadedPattern>${rename.offset}.com.google.common</shadedPattern> </relocation> <relocation> <pattern>com.google.gson</pattern> <shadedPattern>${rename.offset}.com.google.gson</shadedPattern> </relocation> <relocation> <pattern>com.google.protobuf</pattern> <shadedPattern>${rename.offset}.com.google.protobuf</shadedPattern> </relocation> <relocation> <pattern>com.google.thirdparty</pattern> <shadedPattern>${rename.offset}.com.google.thirdparty</shadedPattern> </relocation> <relocation> <pattern>org.apache.commons</pattern> <shadedPattern>${rename.offset}.org.apache.commons</shadedPattern> </relocation> </relocations> <artifactSet> <excludes> <exclude>com.google.protobuf:protobuf-java</exclude> <exclude>com.google.code.findbugs:jsr305</exclude> <exclude>com.google.errorprone:error_prone_annotations</exclude> <exclude>com.google.j2objc:j2objc-annotations</exclude> <exclude>org.codehaus.mojo:animal-sniffer-annotations</exclude> </excludes> </artifactSet> <transformers> <transformer /> <transformer> <addHeader>false</addHeader> </transformer> </transformers> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_annotations</artifactId> <version>2.3.3</version> <scope>compile</scope> </dependency> </dependencies> </project>