title: Maven distributionManagement or Server (User and Password) as parameter
body: <p>I have a remote repository using Nexus.</p>
  
  <p>These Repositories asks for login, I would prefer to expose these repositories with login.</p>
  
  <p>This is my settings.xml</p>
  
  <pre><code>&lt;settings&gt;
  
  &lt;servers&gt;
      &lt;server&gt;
          &lt;id&gt;dev-repo&lt;/id&gt;
          &lt;username&gt;user&lt;/username&gt;
          &lt;password&gt;password&lt;/password&gt;
      &lt;/server&gt;
  &lt;/servers&gt;
  
  &lt;/settings&gt;
  </code></pre>
  
  <p>And the developers are using a pom.xml with:</p>
  
  <pre><code>&lt;distributionManagement&gt;
              &lt;repository&gt;
                  &lt;id&gt;dev-repo&lt;/id&gt;
                  &lt;url&gt;http://ip:port/nexus/content/repositories/dev-repo/&lt;/url&gt;                          
              &lt;/repository&gt;
      &lt;/distributionManagement&gt;
  </code></pre>
  
  <p>With that configuration everything is OK, but I prefer they have to pass the login in the mvn command or the command ask with a prompt the login instead hard code the login in settings.xml</p>
  
  <p>Any ideas?</p>
  
  <p>Thank you in advance.</p>