drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject drill git commit: DRILL-3888: Build test jars for all Drill Modules
Date Wed, 07 Oct 2015 21:00:44 GMT
Repository: drill
Updated Branches:
  refs/heads/master 6cd399de8 -> aa63e1f48


DRILL-3888: Build test jars for all Drill Modules

Move the test jar configuration to the root pom and remove it from individual module's pom.

This closes #188


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/aa63e1f4
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/aa63e1f4
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/aa63e1f4

Branch: refs/heads/master
Commit: aa63e1f48ccada7386b2c2fea08dbd97ba77383c
Parents: 6cd399d
Author: Aditya Kishore <adi@apache.org>
Authored: Fri Oct 2 11:36:45 2015 -0700
Committer: Aditya Kishore <adi@apache.org>
Committed: Wed Oct 7 14:00:12 2015 -0700

----------------------------------------------------------------------
 common/pom.xml                    | 11 -----------
 contrib/storage-hive/core/pom.xml | 11 -----------
 exec/java-exec/pom.xml            | 12 ------------
 pom.xml                           | 10 ++++++++++
 4 files changed, 10 insertions(+), 34 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/aa63e1f4/common/pom.xml
----------------------------------------------------------------------
diff --git a/common/pom.xml b/common/pom.xml
index 85b487e..cdeb453 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -118,17 +118,6 @@
         </configuration>
       </plugin>
       <plugin>
-        <artifactId>maven-jar-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>test-jar</id>
-            <goals>
-              <goal>test-jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
         <groupId>org.antlr</groupId>
         <artifactId>antlr3-maven-plugin</artifactId>
         <version>3.4</version>

http://git-wip-us.apache.org/repos/asf/drill/blob/aa63e1f4/contrib/storage-hive/core/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/storage-hive/core/pom.xml b/contrib/storage-hive/core/pom.xml
index aca05d5..87384a0 100644
--- a/contrib/storage-hive/core/pom.xml
+++ b/contrib/storage-hive/core/pom.xml
@@ -148,17 +148,6 @@
           </execution>
         </executions>
       </plugin>
-      <plugin>
-        <artifactId>maven-jar-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>test-jar</id>
-            <goals>
-              <goal>test-jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
 </project>

http://git-wip-us.apache.org/repos/asf/drill/blob/aa63e1f4/exec/java-exec/pom.xml
----------------------------------------------------------------------
diff --git a/exec/java-exec/pom.xml b/exec/java-exec/pom.xml
index fb7a62d..0eaff60 100644
--- a/exec/java-exec/pom.xml
+++ b/exec/java-exec/pom.xml
@@ -514,18 +514,6 @@
         </executions>
       </plugin>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <version>2.2</version>
-        <executions>
-          <execution>
-            <goals>
-              <goal>test-jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
         <!-- Extract parser grammar template from calcite-core.jar and put 
           it under ${project.build.directory} where all freemarker templates are. -->
         <groupId>org.apache.maven.plugins</groupId>

http://git-wip-us.apache.org/repos/asf/drill/blob/aa63e1f4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index b6b38ec..f2242dd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -245,6 +245,16 @@
             </manifestEntries>
           </archive>
         </configuration>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+            <configuration>
+              <skipIfEmpty>true</skipIfEmpty>
+            </configuration>
+          </execution>
+        </executions>
       </plugin>
 
 


Mime
View raw message