Releasing

Overview

The following steps describe how to release the dbUnit Maven Plugin. While the Maven release plugin automates steps such as version change, commit, and deploy, the dbUnit Maven Plugin has manual file information update steps that are outside of its scope.

While the below steps do not use the Maven release plugin, you can use it by performing the manual file edits first then running the release plugin steps.

Release Steps

  1. Update pom.xml
    1. Set version to release version
    2. Set project.build.outputTimestamp property to the release timestamp, typically today's date with midnight time
  2. Update changes.xml
    1. Update release version
    2. Set release date to today
  3. Commit files "Prep release x.y.z"
  4. Tag the commit; prefix release number with "plugin-"
  5. Push the commit
  6. Build and deploy the release
    mvnw clean
    mvnw deploy -Prelease
    
  7. Build and deploy the site
    1. Build site:
      mvnw site
      
    2. Review site results for issues and correct as necessary
    3. Deploy to SourceForge; reference how-to: Deploying to sourceforge.net
      ssh -t sf-username,dbunit@shell.sourceforge.net create
      mvnw site:deploy
      
  8. Generate Announcement Email
    mvnw changes:announcement-generate -Dchanges.version=theNewVersion
    

    Review and adjust the text as desired before using.

  9. Email Users List
  10. Post News on SourceForge
  11. Prepare next release in SCM
    1. Update pom.xml
      1. Update to SNAPSHOT version
    2. Update src/example/pom.xml
      1. Update to match new plugin (SNAPSHOT) version
    3. Update changes.xml with new SNAPSHOT entry