Why do people let their builds depend on servers they don't control? If your build is breaking because some server somewhere on the internet is down, your build was already broken, you are just now realizing it.
It's easy to say that, but that's not the default in Java and it takes a decent amount of work to completely decouple yourself. For example: it uses XML all over the place to setup and configure things and, by default, will validate these XML files against a schema at a URL. If that URL starts redirecting to a splash page (as http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd currently does), it breaks the build.
It seems to be fixed now.
Validating parsers should not be downloading these, they should have local copies. And you should probably not validate against a dtd anyway.
No build should need network access.
Apparently you've never met Maven.
I believe the expression is "Maven downloads the Internet".
I'm going to use that one! ha!
You are right- nobody should knowingly allow this sort of dependency. Except Sun hard coded a few of these in.