title: Maven Pom.xml Auto Increment Version
body: <p>I've been trying to figure this out for a few days now, I have looked all over stackoverflow and none of the answers fix my issue. I am trying to have the <code>&lt;version&gt;</code> in my Pom.xml. </p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
    &lt;groupId&gt;maven.Test&lt;/groupId&gt;
    &lt;artifactId&gt;Hello&lt;/artifactId&gt;
    &lt;version&gt;1.0.0-SNAPSHOT&lt;/version&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;
  
  &lt;distributionManagement&gt;
      &lt;repository&gt;
          &lt;id&gt;Artifactory&lt;/id&gt;
          &lt;name&gt;Artifactory-releases&lt;/name&gt;
          &lt;url&gt;${publish.location}&lt;/url&gt;
      &lt;/repository&gt;
      &lt;snapshotRepository&gt;
          &lt;id&gt;Artifactory&lt;/id&gt;
          &lt;name&gt;Artifactory-snapshots&lt;/name&gt;
          &lt;url&gt;${publish.location}&lt;/url&gt;
      &lt;/snapshotRepository&gt;
  &lt;/distributionManagement&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p>I am using Maven 3.3.3 currently, I have looked into SCM plugins but those don't seem to be working. I know you can have it increment versions by setting them as variables but that isn't ideal for my developers. When a build is run using the command <code>mvn deploy</code> I want the version to auto increment to 1.0.1 and so on.</p>
  
  <p>EDIT:</p>
  
  <p>I tried doing the maven release but am running into an issue which may be on me. For the release plugin are there edits I need to make to my Pom.xml? I ran <code>mvn release:prepare</code> but ran into this error:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.3
  .2:prepare (default-cli) on project Hello: Unable to check for local modificatio
  ns
  [ERROR] Provider message:
  [ERROR] The svn command failed.
  [ERROR] Command output:
  [ERROR] 'svn' is not recognized as an internal or external command,
  [ERROR] operable program or batch file.
  </code></pre>