spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrewo...@apache.org
Subject spark git commit: [HOTFIX] [BUILD] Fix Maven build; add core test jar
Date Thu, 04 Jun 2015 20:43:55 GMT
Repository: spark
Updated Branches:
  refs/heads/branch-1.3 ce137b8ed -> 3e8b0406a


[HOTFIX] [BUILD] Fix Maven build; add core test jar

This was added later in ee11be258251adf900680927ba200bf46512cc04
in branch-1.4 but not branch-1.3. This patch adds a step in the
maven jar plugin to make a jar for core tests that other modules
can depend on.


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

Branch: refs/heads/branch-1.3
Commit: 3e8b0406ade7575ff14d4ecbebfb13ccb131e260
Parents: ce137b8
Author: Andrew Or <andrew@databricks.com>
Authored: Thu Jun 4 13:39:24 2015 -0700
Committer: Andrew Or <andrew@databricks.com>
Committed: Thu Jun 4 13:43:43 2015 -0700

----------------------------------------------------------------------
 pom.xml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/3e8b0406/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 70d4d52..101cd6e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1246,10 +1246,25 @@
             </execution>
           </executions>
         </plugin>
+        <!-- Build test-jar's for all projects, since some projects depend on tests from
others -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-jar-plugin</artifactId>
           <version>2.4</version>
+          <executions>
+            <execution>
+              <id>prepare-test-jar</id>
+              <phase>prepare-package</phase>
+              <goals>
+                <goal>test-jar</goal>
+              </goals>
+              <configuration>
+                <excludes>
+                  <exclude>log4j.properties</exclude>
+                </excludes>
+              </configuration>
+            </execution>
+          </executions>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message