title: How use username and password in artifactory-maven-plugin from settings.xml?
body: <p><a href="https://www.jfrog.com/confluence/display/RTF/Maven+Artifactory+Plugin" rel="nofollow">Here</a> is a configuration sample of <code>artifactory-maven-plugin</code>:</p>
  
  <pre><code>&lt;build&gt;
      &lt;plugins&gt;
          ...
          &lt;plugin&gt;
              &lt;groupId&gt;org.jfrog.buildinfo&lt;/groupId&gt;
              &lt;artifactId&gt;artifactory-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.6.1&lt;/version&gt;
              &lt;inherited&gt;false&lt;/inherited&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;build-info&lt;/id&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;publish&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;deployProperties&gt;
                              &lt;gradle&gt;awesome&lt;/gradle&gt;
                              &lt;review.team&gt;qa&lt;/review.team&gt;
                          &lt;/deployProperties&gt;
                          &lt;publisher&gt;
                              &lt;contextUrl&gt;https://oss.jfrog.org&lt;/contextUrl&gt;
                              &lt;username&gt;deployer&lt;/username&gt;
                              &lt;password&gt;{DESede}...&lt;/password&gt;
                              &lt;repoKey&gt;libs-release-local&lt;/repoKey&gt;
                              &lt;snapshotRepoKey&gt;libs-snapshot-local&lt;/snapshotRepoKey&gt;
                          &lt;/publisher&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>In that case I have to manual setup <code>contextUrl</code>, <code>userName</code> and <code>password</code>. While standart maven deploy plugin uses such parameters from <code>setting.xml</code> (like that):</p>
  
  <pre><code>&lt;servers&gt;
    &lt;server&gt;
      &lt;username&gt;username&lt;/username&gt;
      &lt;id&gt;server-id&lt;/id&gt;
      &lt;password&gt;pass&lt;/password&gt;
    &lt;/server&gt;
  &lt;/servers&gt;
  </code></pre>
  
  <p>Why jfrom did not use username, url, ... etc. from <code>setting.xml</code>? Is there a way to specify only server id without pass and username?</p>
  
  <p>Of course someone can define a properties in settings xml and use them in plugin definition, but in that case these properties can be easily shared with all projects and be outputted by anyone to console during third party builds.</p>
  
  <pre><code>&lt;properties&gt;
     &lt;username&gt;&lt;/username&gt;
  &lt;/properties&gt;
  </code></pre>