title: How to make mvn deploy prompt for password?
body: <p>I'm currently storing my maven credentials in <code>~/.m2/settings.xml</code>:</p>
  
  <pre><code>&lt;server&gt;
    &lt;id&gt;my_server_id&lt;/id&gt;
    &lt;username&gt;my_username&lt;/username&gt;
    &lt;password&gt;my_password&lt;/password&gt;
  &lt;/server&gt;
  </code></pre>
  
  <p>However, I'm not satisfied with having the password in clear text, since the password is used for other services, so I'd rather prompt the user for the password when doing a <code>mvn deploy</code>. I'm deploying to a Nexus OSS install via https.</p>
  
  <p>I know that <a href="http://maven.apache.org/guides/mini/guide-encryption.html">the password can be encrypted</a>, but since <a href="https://github.com/jelmerk/maven-settings-decoder">the encryption is reversible</a>, this solution is not appropriate for my case.</p>
  
  <p>Is there a way to make Maven prompt for a password when doing an https deploy?</p>