Documentation‎ > ‎Technical‎ > ‎

Deploying Maven


When working on ReDBox or Mint it is handy to deploy snapshots on a regular basis. This helps other projects using our Maven artifacts and keeps up with the continuous release goodness.

Please refer to OSS Maven Repository Usage Guide for an overview of the Sonatype OSS Maven Repository infrastructure. 

  •  If you are going to release anything you will need a login for this service and a GPG key.
  •  Once you have a login for you need to visit and ask them to give you access to the project.


0. Start

It's important that you check in any changes and update your code-base. 

Add the sonatype nexus repo to your settings.xml:

<settings xmlns=""

1. Deploy

This is pretty easy:

mvn clean
mvn deploy

Because of our project structure, clean may have a problem but just run deploy and you'll be right.

If you're working on a SNAPSHOT and that's all you want to deploy, STOP HERE. The rest if for a tagged release.

2. Release

You MUST ensure that any dependencies are for released versions and not SNAPSHOTS. This may mean you have to release artifacts from other code bases (such as The Fascinator). 

When you've sorted out dependencies you can start the release procedure below:

mvn release:clean
mvn release:prepare
mvn release:perform

Finding deployed code

Institutional Builds

Institutional builds do not need to be released per se, but you can use '`mvn release:prepare`' to generate tagged branches in subversion for you.