2011/01/26

Using maven-release-plugin and maven-scm-plugin to tag all submodules of a multimodule project

I just created a sample multi module maven project in which by using the maven-release-plugin and the maven-scm-plugin I achieved my goal to create additional tags for the module artifacts as well. For a rationale see the included README.

There are two branches, one working with git and one with Subversion (in the master branch).

1 comment:

  1. Thank you!
    I was using this setup for release:prepare, but recently when I add release:perform I get the following error on the parent:

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4:perform (default-cli) on project olog: An error is occurred in the checkout process: Exception while executing SCM command. unbale to execute ls-remote on git@github.com:Olog/olog.git -> [Help 1]

    Any ideas?

    ReplyDelete