A piece of maven-based Java code was written on the Mac.
After uploading git, pull down on windows and various errors in eclipse.
Artifacttransferexception:failure to transfer org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1 from http: // Maven.oschina.net/content/groups/public was cached in the local repository, resolution would not be reattempted until T He update interval of CN has elapsed or updates is forced. Original error:could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1 from/to CN ( c6>http://maven.oschina.net/content/groups/public/): Connection Reset
Later, in the StackOverflow above found the answer to solve the problem I encountered, now try to come down OK.
StackOverflow original link:http://stackoverflow.com/questions/5074063/maven-error-failure-to-transfer
Best regards,
Lucas Luo
Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1