title: Is there any difference between run maven as sudo and without sudo?
body: <p>I am using maven and JavaFX Maven Plugin. Maven will download jar from repository and save it to ~/.m2 directory. But if I use maven as sudo. For example, if I type <code>sudo mvn com.zenjava:javafx-maven-plugin:2.0:fix-classpath</code>, is there any difference with the command without sudo? Does maven download the plugin and save it to ~/.m2 as well?</p>
  
  <p>I ask this question because I run this command both under sudo and no-sudo. It seems maven will re-download the plugin each time.</p>