aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorPatrick Wendell <pwendell@gmail.com>2013-12-16 12:38:01 -0800
committerPatrick Wendell <pwendell@gmail.com>2013-12-16 21:53:51 -0800
commitceb013f8b97051ee96c65a8da7489a2b251ef799 (patch)
tree95ca6e15ee4ec4ac501dbcd1a10c7b31ae062b83 /pom.xml
parentc6f95e603e2c58b2fab6255c824a839807f03026 (diff)
downloadspark-ceb013f8b97051ee96c65a8da7489a2b251ef799.tar.gz
spark-ceb013f8b97051ee96c65a8da7489a2b251ef799.tar.bz2
spark-ceb013f8b97051ee96c65a8da7489a2b251ef799.zip
Remove trailing slashes from repository specifications.
The correct format is to not have a trailing slash. For me this caused non-deterministic failures due to issues fetching certain artifacts. The issue was that some of the maven caches would fail to fetch the artifact (due to the way that the artifact path was concatenated with the repository) and this short-circuited the download process in a silent way. Here is what the log output looked like: Downloading: http://repo.maven.apache.org/maven2/org/spark-project/akka/akka-remote_2.10/2.2.3-shaded-protobuf/akka-remote_2.10-2.2.3-shaded-protobuf.pom [WARNING] The POM for org.spark-project.akka:akka-remote_2.10:jar:2.2.3-shaded-protobuf is missing, no dependency information available This was pretty brutal to debug since there was no error message anywhere and the path *looks* correct as reported by the Maven log.
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/pom.xml b/pom.xml
index 39c8a8cc5e..30ef928618 100644
--- a/pom.xml
+++ b/pom.xml
@@ -120,7 +120,7 @@
<repository>
<id>maven-repo</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>http://repo.maven.apache.org/maven2/</url>
+ <url>http://repo.maven.apache.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
@@ -131,7 +131,7 @@
<repository>
<id>jboss-repo</id>
<name>JBoss Repository</name>
- <url>http://repository.jboss.org/nexus/content/repositories/releases/</url>
+ <url>http://repository.jboss.org/nexus/content/repositories/releases</url>
<releases>
<enabled>true</enabled>
</releases>
@@ -142,7 +142,7 @@
<repository>
<id>mqtt-repo</id>
<name>MQTT Repository</name>
- <url>https://repo.eclipse.org/content/repositories/paho-releases/</url>
+ <url>https://repo.eclipse.org/content/repositories/paho-releases</url>
<releases>
<enabled>true</enabled>
</releases>
@@ -739,7 +739,7 @@
<repository>
<id>maven-root</id>
<name>Maven root repository</name>
- <url>http://repo1.maven.org/maven2/</url>
+ <url>http://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
@@ -771,7 +771,7 @@
<repository>
<id>maven-root</id>
<name>Maven root repository</name>
- <url>http://repo1.maven.org/maven2/</url>
+ <url>http://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>