How do I configure Maven for offline development?
java, maven, offline
Solution
You can run Maven in "offline" mode using the `-o` or `--offline` option (e.g. `mvn -o install`). Of course any artifacts not available in your local repository will fail. Maven is not predicated on distributed repositories, but they certainly make things more seamless. It's for this reason that many shops use internal mirrors that are incrementally synced with the central repos.
In addition, the `mvn dependency:go-offline` can be used to ensure you have all of your dependencies installed locally before you begin to work offline.
Problem
Does maven require a connection to the internet at some point to be able to use it? Meaning specifically getting the internal maven plugins for compiling, cleaning, packaging, etc?