Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore Default .gitignore file Jul 10, 2013
LICENSE fixed license Jun 28, 2013 fixed typo in readme Jun 28, 2013
pom.xml [maven-release-plugin] prepare for next development iteration Jul 29, 2013

Properties Metadata Maven Plugin

This maven plugin allows the user to add metadata to the pom, during release.

Example :

Provided you launch the maven release plugin through Jenkins (or at least have the environment variables BUILD_URL and SVN_REVISION set), the released pom will have 3 new properties added to the properties tag :


Those metadatas are used by the [Nexus Dependency Management Plugin] (

How to build :

Simply clone this repo and run mvn clean install

Is it in Maven central ? :

No, you will have to add Terracotta maven repositories to your pom.xml :


How to use :

The plugin is org.terracotta.maven.plugins:properties-metadata-maven-plugin and it has two goals: set and clear.

You can try

mvn org.terracotta.maven.plugins:properties-metadata-maven-plugin:set


mvn org.terracotta.maven.plugins:properties-metadata-maven-plugin:clear

on the command line to get a feel of what modifications are going to be made to the pom.

The way it was designed to be used is to hook in to the release plugin's lifecyle by adding those properties to the Release Plugin's config (look for "Release goals and options" and "DryRun goals and options" in Jenkins):

-DpreparationGoals="clean verify org.terracotta.maven.plugins:properties-metadata-maven-plugin:set" -DcompletionGoals="org.terracotta.maven.plugins:properties-metadata-maven-plugin:clear" -DcheckModificationExcludeList=pom.xml

You can read the [maven release plugin documentation for more info on the preparationGoals and completionGoals you can hook to during release:prepare ] (

Authors :

This plugin was developed during Innovation Days by Terracotta, by