4.0.0 org.sonatype.oss oss-parent 6 pl.project13.maven git-commit-id-plugin maven-plugin 2.1.13 Git Commit Id Plugin Maven Mojo git-commit-id-plugin is a plugin quite similar to https://fisheye.codehaus.org/browse/mojo/tags/buildnumber-maven-plugin-1.0-beta-4 for example but as buildnumber at the time when I started this plugin only supported CVS and SVN, something had to be done. This plugin makes basic repository information available through maven resources. This can be used to display "what version is this?" or "who has deployed this and when, from which branch?" information at runtime - making it easy to find things like "oh, that isn't deployed yet, I'll test it tomorrow" and making both testers and developers life easier. The data currently exported is like this (that's the end effect from the GitRepositoryState Bean): { "branch" : "testing-maven-git-plugin", "commitTime" : "06.01.1970 @ 16:16:26 CET", "commitId" : "787e39f61f99110e74deed68ab9093088d64b969", "commitUserName" : "Konrad Malawski", "commitUserEmail" : "konrad.malawski@java.pl", "commitMessageFull" : "releasing my fun plugin :-) + fixed some typos + cleaned up directory structure + added license etc", "commitMessageShort" : "releasing my fun plugin :-)", "buildTime" : "06.01.1970 @ 16:17:53 CET", "buildUserName" : "Konrad Malawski", "buildUserEmail" : "konrad.malawski@java.pl" } Note that the data is exported via maven resource filtering and is really easy to use with spring - which I've explained in detail in this readme https://github.com/ktoso/maven-git-commit-id-plugin http://www.blog.project13.pl ktoso Konrad Malawski konrad.malawski@java.pl project13.pl http://blog.project13.pl [${maven-plugin-api.version},) GNU Lesser General Public License 3.0 http://www.gnu.org/licenses/lgpl-3.0.txt git@github.com/ktoso/maven-git-commit-id-plugin.git scm:git:https://github.com/ktoso/maven-git-commit-id-plugin scm:git:git@github.com:ktoso/maven-git-commit-id-plugin.git 2.2.1 3.4.1.201406201815-r 4.10 1.9.0 1.6 UTF-8 UTF-8 1.4 org.apache.maven maven-plugin-api ${maven-plugin-api.version} org.apache.maven maven-core ${maven-plugin-api.version} org.apache.maven maven-project ${maven-plugin-api.version} com.fasterxml.jackson.core jackson-databind 2.2.3 joda-time joda-time 2.0 com.google.guava guava 15.0 com.intellij annotations 9.0.4 org.eclipse.jgit org.eclipse.jgit ${jgit.version} junit junit ${junit.version} test org.easytesting fest-assert ${fest-assert.version} test org.codehaus.plexus plexus-utils 2.0.5 test org.mockito mockito-all ${mockito.version} test commons-io commons-io 1.3.2 jar test pl.pragmatists JUnitParams 1.0.2 test src/main/resources true **/*.properties **/*.xml org.apache.maven.plugins maven-compiler-plugin 2.5.1 UTF-8 ${java.target} ${java.target} ossrh https://oss.sonatype.org/content/repositories/snapshots ossrh https://oss.sonatype.org/service/local/staging/deploy/maven2/ gpg org.apache.maven.plugins maven-gpg-plugin sign-artifacts verify sign