You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2017/11/14 23:58:10 UTC

spark git commit: [SPARK-22511][BUILD] Update maven central repo address

Repository: spark
Updated Branches:
  refs/heads/master eaff295a2 -> b00972259


[SPARK-22511][BUILD] Update maven central repo address

## What changes were proposed in this pull request?

Use repo.maven.apache.org repo address; use latest ASF parent POM version 18

## How was this patch tested?

Existing tests; no functional change

Author: Sean Owen <so...@cloudera.com>

Closes #19742 from srowen/SPARK-22511.


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

Branch: refs/heads/master
Commit: b009722591d2635698233c84f6e7e6cde7177019
Parents: eaff295
Author: Sean Owen <so...@cloudera.com>
Authored: Tue Nov 14 17:58:07 2017 -0600
Committer: Sean Owen <so...@cloudera.com>
Committed: Tue Nov 14 17:58:07 2017 -0600

----------------------------------------------------------------------
 dev/check-license | 2 +-
 pom.xml           | 8 +++++---
 2 files changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/b0097225/dev/check-license
----------------------------------------------------------------------
diff --git a/dev/check-license b/dev/check-license
index 8cee09a..b729f34 100755
--- a/dev/check-license
+++ b/dev/check-license
@@ -20,7 +20,7 @@
 
 acquire_rat_jar () {
 
-  URL="https://repo1.maven.org/maven2/org/apache/rat/apache-rat/${RAT_VERSION}/apache-rat-${RAT_VERSION}.jar"
+  URL="https://repo.maven.apache.org/maven2/org/apache/rat/apache-rat/${RAT_VERSION}/apache-rat-${RAT_VERSION}.jar"
 
   JAR="$rat_jar"
 

http://git-wip-us.apache.org/repos/asf/spark/blob/b0097225/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8570338..0297311 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>
-    <version>14</version>
+    <version>18</version>
   </parent>
   <groupId>org.apache.spark</groupId>
   <artifactId>spark-parent_2.11</artifactId>
@@ -111,6 +111,8 @@
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <java.version>1.8</java.version>
+    <maven.compiler.source>${java.version}</maven.compiler.source>
+    <maven.compiler.target>${java.version}</maven.compiler.target>
     <maven.version>3.3.9</maven.version>
     <sbt.project.name>spark</sbt.project.name>
     <slf4j.version>1.7.16</slf4j.version>
@@ -226,7 +228,7 @@
       <id>central</id>
       <!-- This should be at top, it makes maven try the central repo first and then others and hence faster dep resolution -->
       <name>Maven Repository</name>
-      <url>https://repo1.maven.org/maven2</url>
+      <url>https://repo.maven.apache.org/maven2</url>
       <releases>
         <enabled>true</enabled>
       </releases>
@@ -238,7 +240,7 @@
   <pluginRepositories>
     <pluginRepository>
       <id>central</id>
-      <url>https://repo1.maven.org/maven2</url>
+      <url>https://repo.maven.apache.org/maven2</url>
       <releases>
         <enabled>true</enabled>
       </releases>


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