Why do i get an error downloading artifact message when building with Maven 2 under Fedora Core 4 and Java 1.4?
Some versions of Java 1.4 are incompatible with the IPv6 networking protocol, leading to socket errors when Java attempts to establish network connections. IPv6 is enabled by default in Fedora Core 4, and in recent kernel updates (2.6.12) to Fedora Core 3. This causes maven to fail to download jars from remote repositories. The symptoms are: java.net.SocketException: Invalid argument or cannot assign requested address To solve this, add -Djava.net.preferIPv4Stack=true to your maven invocation, i.e. mvn install -Djava.net.preferIPv4Stack=true More information can be found at http://wiki.astrogrid.org/bin/view/Deploy/IPV6Warning?