Skip to end of metadata
Go to start of metadata

This tutorial describes how to create a release using CVSNT. This tutorial assumes that the CVS Client and Maven are installed on your machine. If CVS Client is not installed you can get it from here:

Setting Up Your Project

Defining Your CVS Project in Maven POM

You will need to add the SCM and Release plug-in to your POM.


You will need to change the tagBase for your cvs repository.

Now you need to define the SCM connector in your Maven POM.


Enable Maven to Deploy Releases and Snapshot

When maven does the final step of performing the release, it will push the release to your organizations maven repository.

In order for maven to deploy to your organization's maven repository you have to have a settings.xml file in the .m2 folder under your home directory. Here is an example of how one can be set up.


Creating the Release

We are going to do this from the command line. First we will need to check out the project.

Command Prompt

Once successfully logged in we will check out the project.

Command Prompt

Now that the project is checked out I would recommend the first time you try it on a project to do a dry run. What Maven will do is simulate the release but will not commit anything into CVS. Navigate to the pom and run the following command.

Command Prompt

If it all seems to go as planned then clean the release by calling the following command.

Command Prompt

Now you can really prepare the release by removing the -DdryRun=true.

Command Prompt

Once the release is successfully prepared you can finalize the release by using the following Maven command

Command Prompt

That is it, you have successfully created a release.

  • No labels