title: What is the format of svn-settings.xml for use with Maven SCM plugin?
body: <p>I'm trying to externalize my username and password but it seems the format of <strong>svn-settings.xml</strong> is incorrect. I can't find any resources on the web except this post <a href="https://stackoverflow.com/questions/1255593/externalising-scm-credentials-with-maven">here</a> and following that gives an error. </p>
  
  <p>In my pom.xml I got</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-scm-plugin&lt;/artifactId&gt;
      &lt;version&gt;1.4&lt;/version&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              ...
              &lt;configuration&gt;
                  &lt;connectionUrl&gt;scm:svn:http://my_hostname/im-tools-repos/trunk&lt;/connectionUrl&gt;
                  &lt;checkoutDirectory&gt;${project.build.directory}/checkout/im-tools&lt;/checkoutDirectory&gt;
              &lt;/configuration&gt;
           &lt;/execution&gt;              
       &lt;/executions&gt;
    &lt;/plugin&gt;
  </code></pre>
  
  <p>In C:\Documents and Settings\my_uid.scm\svn-settings.xml I got</p>
  
  <pre><code>&lt;svn-settings&gt;
     &lt;user&gt;my_uid&lt;/user&gt;
     &lt;password&gt;my_pwd&lt;/password&gt;
   &lt;/svn-settings&gt;
  </code></pre>
  
  <p>When I run Maven it fails with these messages:</p>
  
  <pre><code>C:\Documents and Settings\my_uid\.scm\svn-settings.xml isn't well formed. SKIPPED.Unrecognised tag: 'user' (position: START_TAG seen &lt;svn-settings&gt;\r\n\t&lt;user&gt;... @2:7)
  [INFO] Executing: cmd.exe /X /C "svn --non-interactive checkout http://my_hostname/im-tools-repos/trunk C:\test\bamboo\agent\target\checkout\im-tools"
  [INFO] Working directory: C:\test\bamboo\agent\target\checkout
  [ERROR] Provider message:
  [ERROR] The svn command failed.
  [ERROR] Command output:
  [ERROR] svn: OPTIONS of 'http://my_hostname/im-tools-repos/trunk': authorization failed: Could not authenticate to server: rejected Basic challenge (http://my_hostname)
  </code></pre>
  
  <p>So, what should I use instead of <strong></strong>?</p>