title: How to download all possible maven dependencies so they are local
body: <p>I work behind a very massive firewall that likes to hiccup on random connections, which makes all work with remote repositories a living nightmare for me!</p>
  
  <p>I am looking to work with a project from Git (this one <a href="https://github.com/mrniko/netty-socketio" rel="nofollow">https://github.com/mrniko/netty-socketio</a>) which heavily utilizes maven for downloading dependencies.</p>
  
  <p>What I would like to do is on another terminal (such as <a href="http://cloud9.io" rel="nofollow">http://cloud9.io</a> or something) download all the maven dependencies so that the entire project can be run standalone.</p>
  
  <p>I have already tried <code>mvn clean install</code> and then zipping up the source folder, but its actually not enough! I still get <code>ClassNotFound</code> related errors when I try to run the project locally in eclipse. And for the record, I did add the compiled *.class files in the build properties, so Eclipse knows where they are. It seems like there are some random classes that get generated dynamically which still aren't present (such as log4j -- and I really don't want to hunt each one down individually)</p>
  
  <p>I am wondering if there is a fully thorough way to download all possible dependencies from maven and then either run a project 100% standalone, or create a local maven server from it?</p>
  
  <p>I am running Java 7 on Eclipse Luna and I do have Maven installed on my windows 7 machine (though again it barely works on remote repositories). I also have a Cloud9 instance which I could use to run Maven commands, then zip up the results for local download.</p>