aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrashant Sharma <prashant.s@imaginea.com>2014-09-14 21:17:29 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-09-14 21:17:29 -0700
commitf493f7982b50e3c99e78b649e7c6c5b4313c5ffa (patch)
tree882232f04b0054fd0611db83935093ca039e0ed1
parentc243b21a8ba2610266702e00d7d4b5443cb1f687 (diff)
downloadspark-f493f7982b50e3c99e78b649e7c6c5b4313c5ffa.tar.gz
spark-f493f7982b50e3c99e78b649e7c6c5b4313c5ffa.tar.bz2
spark-f493f7982b50e3c99e78b649e7c6c5b4313c5ffa.zip
[SPARK-3452] Maven build should skip publishing artifacts people shouldn...
...'t depend on Publish local in maven term is `install` and publish otherwise is `deploy` So disabled both for following projects. Author: Prashant Sharma <prashant.s@imaginea.com> Closes #2329 from ScrapCodes/SPARK-3452/maven-skip-install and squashes the following commits: 257b79a [Prashant Sharma] [SPARK-3452] Maven build should skip publishing artifacts people shouldn't depend on
-rw-r--r--assembly/pom.xml14
-rw-r--r--examples/pom.xml14
-rw-r--r--extras/java8-tests/pom.xml14
-rw-r--r--repl/pom.xml14
-rw-r--r--tools/pom.xml14
-rw-r--r--yarn/pom.xml14
6 files changed, 84 insertions, 0 deletions
diff --git a/assembly/pom.xml b/assembly/pom.xml
index 4146168fc8..604b1ab3de 100644
--- a/assembly/pom.xml
+++ b/assembly/pom.xml
@@ -88,6 +88,20 @@
<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>
<!-- Use the shade plugin to create a big JAR with all the dependencies -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/examples/pom.xml b/examples/pom.xml
index 3f46c40464..2b561857f9 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -205,6 +205,20 @@
<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>
diff --git a/extras/java8-tests/pom.xml b/extras/java8-tests/pom.xml
index 8658ecf5ab..7e478bed62 100644
--- a/extras/java8-tests/pom.xml
+++ b/extras/java8-tests/pom.xml
@@ -76,6 +76,20 @@
<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-surefire-plugin</artifactId>
<executions>
<execution>
diff --git a/repl/pom.xml b/repl/pom.xml
index fcc5f90d87..af528c8914 100644
--- a/repl/pom.xml
+++ b/repl/pom.xml
@@ -100,6 +100,20 @@
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
<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.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
<configuration>
diff --git a/tools/pom.xml b/tools/pom.xml
index f366744767..b90eb0ca25 100644
--- a/tools/pom.xml
+++ b/tools/pom.xml
@@ -65,6 +65,20 @@
<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-source-plugin</artifactId>
</plugin>
<plugin>
diff --git a/yarn/pom.xml b/yarn/pom.xml
index 7fcd7ee0d4..815a736c2e 100644
--- a/yarn/pom.xml
+++ b/yarn/pom.xml
@@ -89,6 +89,20 @@
<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.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>