Version 3

    This page describes configuration specifically for jboss projects.

    Detailed information about the maven release plugin can be found on the maven site: http://maven.apache.org/plugins/maven-release-plugin/

     

    When performing a release, the maven release plugin will perform several steps to help ensure that the build is repeatable.

    The release plugin will automatically update your project version and other information in your pom.xml.

     

    To configure your project's svn trunk directory, you should add the tag to your pom.

     

    <scm>
      <connection>scm:svn:https://svn.jboss.org/repos/my-project/trunk</connection>
    </scm>
    

     

    The base directory for tagging a release can be set through plugin configuration in your pom.

     <plugin>
       <artifactId>maven-release-plugin</artifactId>
       <configuration>
         <tagBase>https://svn.jboss.org/repos/my-project/tags</tagBase>
       </configuration>
     </plugin>
    

     

    -


    Notes about the automatic version numbering in the release plugin.

    Testing with version 2.0-beta-5 of the release plugin.

     

    current project version

    default release version

    default new trunk version

    1.0.beta-1-SNAPSHOT

    1.0.beta-1

    1.1.beta-1-SNAPSHOT

    1.0-beta-1-SNAPSHOT

    1.0-beta-1

    1.0-beta-2-SNAPSHOT

    1.0-beta1-SNAPSHOT

    1.0-beta1

    1.0-beta2-SNAPSHOT