Quick Maven Workaround


Currently I want run https://github.com/jamesward/hello-java-spring-neo4j

$ mvn -version
Apache Maven 3.1.0-alpha-1 (c726cdd3a9ad5c3a419e1171f8c1925e336ead18; 2013-06-01 15:03:28+0200)
Maven home: C:\Development\apache-maven-3.1.0-alpha-1
Java version: 1.7.0_09, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_09\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: „windows 7“, version: „6.1“, arch: „amd64“, family: „windows“

Unfortunately I got some strange error like „access denied“ for tinkerpop (I never heard about this maven repository until now) and slowwwww connection to memcache repo at googlecode (svn) … so here is a „workaround“ for that …

<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
	<mirrors>
		<mirror>
			<id>tinkerpop</id>
			<name>tinkerpop</name>
			<url>http://repo.maven.apache.org/maven2</url>
			<mirrorOf>tinkerpop-repository</mirrorOf>
		</mirror>
		<mirror>
			<id>msm</id>
			<name>msm</name>
			<url>http://repo.maven.apache.org/maven2</url>
			<mirrorOf>msm</mirrorOf>
		</mirror>
	</mirrors>
</settings>