Maven release use parts

Maven release plugin is a cool tool which simplifies releasing. But I want to change the behavior a little bit.

Most important I do not want any changes to be commited to the repository automatically. This should be done by developers manually.

I am dreaming of something like:

  1. checking that no SNAPSHOT dependency is used (must)
  2. checking that there are no uncommited changes (optional)
  3. updating version numbers of all artifacts, allow user to enter new version number (must)
    • solved: with with mvn versions:set
  4. build project locally
    • solved: with mvn clean install

I do not know how to cherry-pick some of the methods which do the work in release-plugin. Any ideas?

Upvotes: 1

Views: 242

Answers (1)

khmarbaise
khmarbaise

Reputation: 97467

The things you described will be automatically be done by the maven-release-plugin. If you don't have svn installed on the build server you need to configure the release plugin to use the svnkit installation

Upvotes: 2

Related Questions