The spring-data-neo4j artifact is causing access denied warnings to the tinkerpop domain when fetching resources.
My pom.xml file has the following relevant dependencies:
<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-cypher</artifactId>
<version>1.6.2</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-neo4j</artifactId>
<version>2.0.2.RELEASE</version>
</dependency>
When running maven, I receive the following errors (just providing the first few rows):
Downloading: http://maven.springframework.org/milestone/org/springframework/data/spring-data-neo4j/2.0.2.RELEASE/spring-data-neo4j-2.0.2.RELEASE.pom
Downloading: http://go-build.local/nexus/content/groups/public/org/springframework/data/spring-data-neo4j/2.0.2.RELEASE/spring-data-neo4j-2.0.2.RELEASE.pom
Downloaded: http://go-build.local/nexus/content/groups/public/org/springframework/data/spring-data-neo4j/2.0.2.RELEASE/spring-data-neo4j-2.0.2.RELEASE.pom (8 KB at 17.5 KB/sec)
Downloading: http://maven.springframework.org/milestone/org/springframework/data/spring-data-neo4j-parent/2.0.2.RELEASE/spring-data-neo4j-parent-2.0.2.RELEASE.pom
Downloading: http://go-build.local/nexus/content/groups/public/org/springframework/data/spring-data-neo4j-parent/2.0.2.RELEASE/spring-data-neo4j-parent-2.0.2.RELEASE.pom
Downloaded: http://go-build.local/nexus/content/groups/public/org/springframework/data/spring-data-neo4j-parent/2.0.2.RELEASE/spring-data-neo4j-parent-2.0.2.RELEASE.pom (27 KB at 42.2 KB/sec)
Downloading: http://tinkerpop.com/maven2/org/springframework/spring-beans/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework:spring-beans/maven-metadata.xml from/to tinkerpop-repository (http://tinkerpop.com/maven2): Access denied to: http://tinkerpop.com/maven2/org/springframework/spring-beans/maven-metadata.xml
Downloading: http://tinkerpop.com/maven2/org/springframework/spring-beans/3.0.8.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework:spring-beans:3.0.8.BUILD-SNAPSHOT/maven-metadata.xml from/to tinkerpop-repository (http://tinkerpop.com/maven2): Access denied to: http://tinkerpop.com/maven2/org/springframework/spring-beans/3.0.8.BUILD-SNAPSHOT/maven-metadata.xml
Downloading: http://tinkerpop.com/maven2/org/springframework/spring-parent/3.0.8.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework:spring-parent:3.0.8.BUILD-SNAPSHOT/maven-metadata.xml from/to tinkerpop-repository (http://tinkerpop.com/maven2): Access denied to: http://tinkerpop.com/maven2/org/springframework/spring-parent/3.0.8.BUILD-SNAPSHOT/maven-metadata.xml
Downloading: http://tinkerpop.com/maven2/org/springframework/spring-core/3.0.8.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework:spring-core:3.0.8.BUILD-SNAPSHOT/maven-metadata.xml from/to tinkerpop-repository (http://tinkerpop.com/maven2): Access denied to: http://tinkerpop.com/maven2/org/springframework/spring-core/3.0.8.BUILD-SNAPSHOT/maven-metadata.xml
Downloading: http://tinkerpop.com/maven2/org/springframework/spring-asm/3.0.8.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework:spring-asm:3.0.8.BUILD-SNAPSHOT/maven-metadata.xml from/to tinkerpop-repository (http://tinkerpop.com/maven2): Access denied to: http://tinkerpop.com/maven2/org/springframework/spring-asm/3.0.8.BUILD-SNAPSHOT/maven-metadata.xml
Downloading: http://tinkerpop.com/maven2/org/springframework/spring-beans/3.1.0-SPR7420.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework:spring-beans:3.1.0-SPR7420.BUILD-SNAPSHOT/maven-metadata.xml from/to tinkerpop-repository (http://tinkerpop.com/maven2): Access denied to: http://tinkerpop.com/maven2/org/springframework/spring-beans/3.1.0-SPR7420.BUILD-SNAPSHOT/maven-metadata.xml
Downloading: http://tinkerpop.com/maven2/org/springframework/spring-parent/3.1.0-SPR7420.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework:spring-parent:3.1.0-SPR7420.BUILD-SNAPSHOT/maven-metadata.xml from/to tinkerpop-repository (http://tinkerpop.com/maven2): Access denied to: http://tinkerpop.com/maven2/org/springframework/spring-parent/3.1.0-SPR7420.BUILD-SNAPSHOT/maven-metadata.xml
Downloading: http://tinkerpop.com/maven2/org/springframework/spring-core/3.1.0-SPR7420.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework:spring-core:3.1.0-SPR7420.BUILD-SNAPSHOT/maven-metadata.xml from/to tinkerpop-repository (http://tinkerpop.com/maven2): Access denied to: http://tinkerpop.com/maven2/org/springframework/spring-core/3.1.0-SPR7420.BUILD-SNAPSHOT/maven-metadata.xml
Downloading: http://tinkerpop.com/maven2/org/springframework/spring-asm/3.1.0-SPR7420.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework:spring-asm:3.1.0-SPR7420.BUILD-SNAPSHOT/maven-metadata.xml from/to tinkerpop-repository (http://tinkerpop.com/maven2): Access denied to: http://tinkerpop.com/maven2/org/springframework/spring-asm/3.1.0-SPR7420.BUILD-SNAPSHOT/maven-metadata.xml
Downloading: http://tinkerpop.com/maven2/org/springframework/spring-beans/3.1.0.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework:spring-beans:3.1.0.BUILD-SNAPSHOT/maven-metadata.xml from/to tinkerpop-repository (http://tinkerpop.com/maven2): Access denied to: http://tinkerpop.com/maven2/org/springframework/spring-beans/3.1.0.BUILD-SNAPSHOT/maven-metadata.xml
Downloading: http://tinkerpop.com/maven2/org/springframework/spring-parent/3.1.0.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework:spring-parent:3.1.0.BUILD-SNAPSHOT/maven-metadata.xml from/to tinkerpop-repository (http://tinkerpop.com/maven2): Access denied to: http://tinkerpop.com/maven2/org/springframework/spring-parent/3.1.0.BUILD-SNAPSHOT/maven-metadata.xml
Downloading: http://tinkerpop.com/maven2/org/springframework/spring-core/3.1.0.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework:spring-core:3.1.0.BUILD-SNAPSHOT/maven-metadata.xml from/to tinkerpop-repository (http://tinkerpop.com/maven2): Access denied to: http://tinkerpop.com/maven2/org/springframework/spring-core/3.1.0.BUILD-SNAPSHOT/maven-metadata.xml
Downloading: http://tinkerpop.com/maven2/org/springframework/spring-asm/3.1.0.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework:spring-asm:3.1.0.BUILD-SNAPSHOT/maven-metadata.xml from/to tinkerpop-repository (http://tinkerpop.com/maven2): Access denied to: http://tinkerpop.com/maven2/org/springframework/spring-asm/3.1.0.BUILD-SNAPSHOT/maven-metadata.xml
Downloading: http://tinkerpop.com/maven2/org/springframework/spring-beans/3.1.1.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework:spring-beans:3.1.1.BUILD-SNAPSHOT/maven-metadata.xml from/to tinkerpop-repository (http://tinkerpop.com/maven2): Access denied to: http://tinkerpop.com/maven2/org/springframework/spring-beans/3.1.1.BUILD-SNAPSHOT/maven-metadata.xml
etc. etc.
I have tried several things without much luck such as:
- Adding exclusions for the 3 tinkerpop items listed in the spring-data-neo4j pom to the dependency
- Adding dependencies of the requested spring libraries (e.g. spring-beans, spring-tx, etc.)
- Adding repositories for springframework.org
There is no reference to any repo (including tinkerpop) in any of my pom files or maven settings except when I tried to include references to neo4j or springsource's repos directly to try and debug this issue.
Below is a stripped down version of the pom.xml and settings.xml files that still exhibit the same behavior:
pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.test</groupId>
<artifactId>example</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-neo4j</artifactId>
<version>2.0.2.RELEASE</version>
</dependency>
</dependencies>
</project>
settings.xml
<settings>
<localRepository>/Users/ian/.m2/repository</localRepository>
</settings>