As on OS X I’ve been developing on JDK 6 it took me this long to start to see Java 7 problems. While I’ve been installing and configuring my new windows development machine I noticed among others strange problem with Java 7 and maven, where downloads would sporadically hang and force me constantly to restart a build or install process.
Naturally google showed few resources about it:
It seems that one workaround would be to use following property:
mvn -Djava.net.preferIPv4Stack=true install
… but for now I preferred to use JDK 6 with maven.