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. 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
    mvn clean
    mvn deploy -Psonatype-oss-release
    
  7. Login to Sonatype OSS and process the release through staging (requires privileges)
  8. Build and deploy the site
    1. Build site:
      mvn 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
      mvn site:deploy
      
  9. Generate Announcement Email
    mvn changes:announcement-generate -Dchanges.version=theNewVersion
    

    Review and adjust the text as desired before using.

  10. Email Users List
  11. Post News on SourceForge
  12. Prepare next release in SCM
    1. Update pom.xml
      1. Update to SNAPSHOT version
    2. Update changes.xml with new SNAPSHOT entry