title: Cargo not working over proxy integrated with maven 2
body: <p>I have integrated Cargo plugin in my maven 2 project POM.xml.</p>
  
  <p>During hot deployment I am unable to connect to my Tomcat container that is available across a proxy. My maven settings.xml already contain proxy setting but cargo is not picking it up.</p>
  
  <p>I tried defining proxy settings for Cargo plugin expilicitly but that too didn't worked.</p>
  
  <p>My plugin xml for Cargo is as:</p>
  
  <pre><code>&lt;plugin&gt;
       &lt;groupId&gt;org.codehaus.cargo&lt;/groupId&gt;
       &lt;artifactId&gt;cargo-maven2-plugin&lt;/artifactId&gt;
       &lt;!--&lt;version&gt;1.0.1-alpha-1&lt;/version&gt;--&gt;
       &lt;version&gt;1.0-beta-1&lt;/version&gt;
       &lt;configuration&gt;
        &lt;container&gt;
         &lt;containerId&gt;tomcat6x&lt;/containerId&gt;
         &lt;type&gt;remote&lt;/type&gt;
        &lt;/container&gt;
        &lt;configuration&gt;
         &lt;type&gt;runtime&lt;/type&gt;
         &lt;properties&gt;
          &lt;cargo.proxy.host&gt;xxx.xxx.xxx.xxx&lt;/cargo.proxy.host&gt;
          &lt;cargo.proxy.port&gt;xxxx&lt;/cargo.proxy.port&gt;
          &lt;cargo.hostname&gt;xxx.xxx.xxx.xxx&lt;/cargo.hostname&gt;
          &lt;cargo.protocol&gt;http&lt;/cargo.protocol&gt;
          &lt;cargo.servlet.port&gt;80&lt;/cargo.servlet.port&gt;
          &lt;cargo.tomcat.manager.url&gt;http://xxx.xxx.xxx.xxx/manager&lt;/cargo.tomcat.manager.url&gt;
          &lt;cargo.remote.username&gt;xxxxxxx&lt;/cargo.remote.username&gt;
          &lt;cargo.remote.password&gt;xxxxxxx&lt;/cargo.remote.password&gt;
         &lt;/properties&gt;
        &lt;/configuration&gt;
        &lt;deployer&gt;
         &lt;type&gt;remote&lt;/type&gt;
         &lt;deployables&gt;
          &lt;deployable&gt;
           &lt;groupId&gt;Test&lt;/groupId&gt;
           &lt;artifactId&gt;Test&lt;/artifactId&gt;
           &lt;type&gt;war&lt;/type&gt;
           &lt;!--
            &lt;properties&gt; &lt;context&gt;optional root context&lt;/context&gt;
            &lt;/properties&gt; &lt;pingURL&gt;optional url to ping to know if deployable
            is done or not&lt;/pingURL&gt; &lt;pingTimeout&gt;optional timeout to ping
            (default 20000 milliseconds)&lt;/pingTimeout&gt;
           --&gt;
          &lt;/deployable&gt;
         &lt;/deployables&gt;
        &lt;/deployer&gt;
       &lt;/configuration&gt;
      &lt;/plugin&gt;
  </code></pre>
  
  <p>Please help.</p>
  
  <p>Thanks in advance.</p>
  
  <p>Ashish</p>