title: maven m2e proxy connection issues with PAC, in Eclipse; How to Debug?
body: <p>I got the Eclipse EE and realized it did not have maven/m2e, so I got m2e installed.<br>
  Then I am setting up projects and using pom.xml I start getting all the fun errors like: </p>
  
  <p>Could not calculate build plan: Plugin....,<br>
  <em>_</em>_ or one of it's dependencies could not be resolved: Failed to read artifact descriptor for ....,<br>
  Failure to transfer .....</p>
  
  <p>Since I'm in a corporate environment, I find the IE setting and go find the PAC ( proxy auto-configuration ) script. 
  Then I enter those values into a  in my settings.xml   area.<br>
  I even tried some of the ideas shared by developers, such as deleting .lastupdated files and deleting directories.<br>
  Even though it totally defeats the whole idea of maven, I'm considering transfering all my .jar &amp; .pom files from another machine's repository.</p>
  
  <p>No joy yet.  Something is still wrong, I just don't know what yet. 
  I seriously need some debugging or logging or a ping test, if there is anything available to discover what the problem is.  </p>
  
  <p>I found some great posts on Maven and Proxy.  keywords: maven, m2e,  'failed to transfer', pom.xml, settings, proxy, etc.
  also 
  Cannot download maven dependencies through proxy
  <a href="http://jira.codehaus.org/browse/MNG-5237" rel="nofollow">http://jira.codehaus.org/browse/MNG-5237</a>
     after reading this, and not knowing if my company was using NTLM, I put in the wagon lightweight jar and referred to it with  in pom.xml
    How will I know, If I do end up needing this ??  and 
    where should I put the .jar file ?  in the user repository area, or deep in the maven runtime \jars\ directory ?</p>
  
  <p>Along the way, some questions also came up.<br>
  ( for reference, I am on WinXP )</p>
  
  <p>With an m2e only, do I need a $M2_HOME defined ?  I'm thinking not, since I don't know where that would be.<br>
  related:  With m2e, will I ever have a global settings.xml  ?</p>
  
  <p>Should the  ${user.home}.m2/repository  be referenced (and uncommented) in the local settings.xml    ?</p>
  
  <p>As a substitute for the command line maven, can Eclise 'Run Configurations' really be a full replacement ?
    I know the dialog box you use, has the empty list of goals, when it should be populated, but you can always type in 
    What about using  'mvn -X' 
    Or any of the other cool maven commands, like the one that shows you all the transitive dependencies. </p>
  
  <p>Still searching, but Thanks In Advance for anyone who can assist in resolving these Proxy issues.</p>