title: maven connecting to Sonar
body: <p>I have maven installed on my local machine and I'm trying to test out Sonar installed on a remote box.</p>
  
  <p>I found a few post online to configure <code>settings.xml</code> <code>(maven\config\settings.xml)</code> and append a profile entry...which I did but does not work</p>
  
  <pre><code>&lt;profile&gt;
     &lt;id&gt;sonar&lt;/id&gt;
     &lt;activation&gt;
        &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
     &lt;/activation&gt;
     &lt;properties&gt;
        &lt;!-- SERVER ON A REMOTE HOST --&gt;
        &lt;sonar.host.url&gt;http://remotebox:9000&lt;/sonar.host.url&gt;
     &lt;/properties&gt;
  &lt;/profile&gt;
  </code></pre>
  
  <p>What is the cli way? I tried several options but nothing worked.</p>
  
  <p>I tried: <code>mvn sonar:sonar http://remotebox:9000</code></p>
  
  <p>What is the correct syntax?</p>
  
  <p>Thanks in advance.
  Damian</p>
  
  <p>PS. this works fine on the remote box where both maven and sonar are installed...i just want to try it my box to the remote box. </p>