diff --git a/presto-benchmark-driver/pom.xml b/presto-benchmark-driver/pom.xml
index 68180a25a4b97..54df33a6cc737 100644
--- a/presto-benchmark-driver/pom.xml
+++ b/presto-benchmark-driver/pom.xml
@@ -91,48 +91,58 @@
-
-
-
- org.apache.maven.plugins
- maven-shade-plugin
-
-
- package
-
- shade
-
+
+
+ executable-jar
+
+
+ !skipExecutableJar
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-shade-plugin
+
+
+ package
+
+ shade
+
+
+ true
+ executable
+
+
+
+ ${main-class}
+
+
+
+
+
+
+
+
+
+ org.skife.maven
+ really-executable-jar-maven-plugin
- true
- executable
-
-
-
- ${main-class}
-
-
-
+ -Xmx1G
+ executable
-
-
-
-
-
- org.skife.maven
- really-executable-jar-maven-plugin
-
- -Xmx1G
- executable
-
-
-
- package
-
- really-executable-jar
-
-
-
-
-
-
+
+
+ package
+
+ really-executable-jar
+
+
+
+
+
+
+
+
diff --git a/presto-benchto-benchmarks/src/main/java/com/facebook/presto/benchto/benchmarks/Dummy.java b/presto-benchto-benchmarks/src/main/java/com/facebook/presto/benchto/benchmarks/Dummy.java
new file mode 100644
index 0000000000000..e5bc3b155b6b8
--- /dev/null
+++ b/presto-benchto-benchmarks/src/main/java/com/facebook/presto/benchto/benchmarks/Dummy.java
@@ -0,0 +1,21 @@
+/*
+ * 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.
+ */
+package com.facebook.presto.benchto.benchmarks;
+
+/**
+ * This class exists to force the creation of a jar for the presto-benchto-benchmarks module. This is needed to deploy the presto-benchto-benchmarks module to nexus.
+ */
+public class Dummy
+{
+}
diff --git a/presto-cli/pom.xml b/presto-cli/pom.xml
index 1d2a1a14b8761..4e9a44ca4e07e 100644
--- a/presto-cli/pom.xml
+++ b/presto-cli/pom.xml
@@ -124,30 +124,6 @@
-
- org.apache.maven.plugins
- maven-shade-plugin
-
-
- package
-
- shade
-
-
- true
- executable
-
-
-
- ${main-class}
-
-
-
-
-
-
-
-
org.basepom.maven
duplicate-finder-maven-plugin
@@ -160,23 +136,61 @@
-
-
- org.skife.maven
- really-executable-jar-maven-plugin
-
- -Xmx1G
- executable
-
-
-
- package
-
- really-executable-jar
-
-
-
-
+
+
+
+ executable-jar
+
+
+ !skipExecutableJar
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-shade-plugin
+
+
+ package
+
+ shade
+
+
+ true
+ executable
+
+
+
+ ${main-class}
+
+
+
+
+
+
+
+
+
+ org.skife.maven
+ really-executable-jar-maven-plugin
+
+ -Xmx1G
+ executable
+
+
+
+ package
+
+ really-executable-jar
+
+
+
+
+
+
+
+
diff --git a/presto-testing-server-launcher/pom.xml b/presto-testing-server-launcher/pom.xml
index ff046c177a3c3..50fb265f3e608 100644
--- a/presto-testing-server-launcher/pom.xml
+++ b/presto-testing-server-launcher/pom.xml
@@ -43,49 +43,58 @@
-
-
-
- org.apache.maven.plugins
- maven-shade-plugin
-
-
- package
-
- shade
-
+
+
+ executable-jar
+
+
+ !skipExecutableJar
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-shade-plugin
+
+
+ package
+
+ shade
+
+
+ true
+ executable
+
+
+
+ ${main-class}
+
+
+
+
+
+
+
+
+
+ org.skife.maven
+ really-executable-jar-maven-plugin
- true
- executable
-
-
-
- ${main-class}
-
-
-
+ -Xmx1G
+ executable
-
-
-
-
-
- org.skife.maven
- really-executable-jar-maven-plugin
-
- -Xmx1G
- executable
-
-
-
- package
-
- really-executable-jar
-
-
-
-
-
-
-
+
+
+ package
+
+ really-executable-jar
+
+
+
+
+
+
+
+