|
|
@@ -46,70 +46,70 @@
|
|
|
<build>
|
|
|
<plugins>
|
|
|
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-deploy-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <skip>true</skip>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-install-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <skip>true</skip>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-shade-plugin</artifactId>
|
|
|
-
|
|
|
- <configuration>
|
|
|
- <shadedArtifactAttached>false</shadedArtifactAttached>
|
|
|
- <outputFile>${livy.jar}</outputFile>
|
|
|
- <artifactSet>
|
|
|
- <includes>
|
|
|
- <include>*:*</include>
|
|
|
- </includes>
|
|
|
- </artifactSet>
|
|
|
- <filters>
|
|
|
- <filter>
|
|
|
- <artifact>*:*</artifact>
|
|
|
- <excludes>
|
|
|
- <exclude>org/datanucleus/**</exclude>
|
|
|
- <exclude>META-INF/*.SF</exclude>
|
|
|
- <exclude>META-INF/*.DSA</exclude>
|
|
|
- <exclude>META-INF/*.RSA</exclude>
|
|
|
- </excludes>
|
|
|
- </filter>
|
|
|
- </filters>
|
|
|
-
|
|
|
- <relocations>
|
|
|
- <relocation>
|
|
|
- <pattern>org.eclipse.jetty</pattern>
|
|
|
- <shadedPattern>com.cloudera.hue.jetty</shadedPattern>
|
|
|
- <excludes>
|
|
|
- <exclude>com/google/common/base/Absent*</exclude>
|
|
|
- <exclude>com/google/common/base/Function*</exclude>
|
|
|
- <exclude>com/google/common/base/Optional*</exclude>
|
|
|
- <exclude>com/google/common/base/Present*</exclude>
|
|
|
- <exclude>com/google/common/base/Supplier</exclude>
|
|
|
- </excludes>
|
|
|
- </relocation>
|
|
|
- </relocations>
|
|
|
- </configuration>
|
|
|
-
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <phase>package</phase>
|
|
|
- <goals>
|
|
|
- <goal>shade</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-deploy-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <skip>true</skip>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-install-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <skip>true</skip>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-shade-plugin</artifactId>
|
|
|
+
|
|
|
+ <configuration>
|
|
|
+ <shadedArtifactAttached>false</shadedArtifactAttached>
|
|
|
+ <outputFile>${livy.jar}</outputFile>
|
|
|
+ <artifactSet>
|
|
|
+ <includes>
|
|
|
+ <include>*:*</include>
|
|
|
+ </includes>
|
|
|
+ </artifactSet>
|
|
|
+ <filters>
|
|
|
+ <filter>
|
|
|
+ <artifact>*:*</artifact>
|
|
|
+ <excludes>
|
|
|
+ <exclude>org/datanucleus/**</exclude>
|
|
|
+ <exclude>META-INF/*.SF</exclude>
|
|
|
+ <exclude>META-INF/*.DSA</exclude>
|
|
|
+ <exclude>META-INF/*.RSA</exclude>
|
|
|
+ </excludes>
|
|
|
+ </filter>
|
|
|
+ </filters>
|
|
|
+
|
|
|
+ <relocations>
|
|
|
+ <relocation>
|
|
|
+ <pattern>org.eclipse.jetty</pattern>
|
|
|
+ <shadedPattern>com.cloudera.hue.jetty</shadedPattern>
|
|
|
+ <excludes>
|
|
|
+ <exclude>com/google/common/base/Absent*</exclude>
|
|
|
+ <exclude>com/google/common/base/Function*</exclude>
|
|
|
+ <exclude>com/google/common/base/Optional*</exclude>
|
|
|
+ <exclude>com/google/common/base/Present*</exclude>
|
|
|
+ <exclude>com/google/common/base/Supplier</exclude>
|
|
|
+ </excludes>
|
|
|
+ </relocation>
|
|
|
+ </relocations>
|
|
|
+ </configuration>
|
|
|
+
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>shade</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
|
|
|
</plugins>
|
|
|
</build>
|