aboutsummaryrefslogtreecommitdiff
path: root/contrib/storage-hive
diff options
context:
space:
mode:
authorVolodymyr Vysotskyi <vvovyk@gmail.com>2018-12-16 01:17:16 +0200
committerGautam Parai <gparai@apache.org>2019-01-03 16:35:30 -0800
commitf687da853d8a35c3b34d9efd05f85bc37d69d14d (patch)
tree4a832a50601e8506ae2ae7468cdb52fc95a8e3da /contrib/storage-hive
parent8a85879507866a83293812205ceab2591391c590 (diff)
DRILL-6907: Fix hive-exec-shaded classes recognition in IntelliJ IDEA
closes #1575
Diffstat (limited to 'contrib/storage-hive')
-rw-r--r--contrib/storage-hive/hive-exec-shade/pom.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/contrib/storage-hive/hive-exec-shade/pom.xml b/contrib/storage-hive/hive-exec-shade/pom.xml
index 1b412e6fd..824f9a4db 100644
--- a/contrib/storage-hive/hive-exec-shade/pom.xml
+++ b/contrib/storage-hive/hive-exec-shade/pom.xml
@@ -101,6 +101,14 @@
</artifactSet>
<createDependencyReducedPom>false</createDependencyReducedPom>
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+ <createSourcesJar>true</createSourcesJar>
+ <shadeSourcesContent>true</shadeSourcesContent>
+ <transformers>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"/>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
+ <addHeader>false</addHeader>
+ </transformer>
+ </transformers>
<relocations>
<relocation>
<pattern>com.google.</pattern>
@@ -176,6 +184,33 @@
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-hive-shaded</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>${project.build.directory}/${project.artifactId}-${project.version}.jar</file>
+ <type>jar</type>
+ <classifier>jar</classifier>
+ </artifact>
+ <artifact>
+ <file>${project.build.directory}/${project.artifactId}-${project.version}-sources.jar</file>
+ <type>jar</type>
+ <classifier>sources</classifier>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<configuration>
<skip>true</skip>