pl.project13.maven:git-commit-id-plugin:2.1.7

Group / Artifact / Version pl.project13.maven / git-commit-id-plugin / 2.1.7
NameGit Commit Id Plugin Maven Mojo
Descriptiongit-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 only supports svn (which is very sad) and cvs (which is even more sad). 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
Last modified2013-11-03 23:39:08 UTC
Parent GAV org.sonatype.oss / oss-parent / 6
URL http://www.blog.project13.pl
Repository URL http://repo1.maven.org/maven2/pl/project13/maven/git-commit-id-plugin/2.1.7/
Packaging maven-plugin
POM File View
Effective POM File View
Dependency tag
<dependency>
  <groupId>pl.project13.maven</groupId>
  <artifactId>git-commit-id-plugin</artifactId>
  <version>2.1.7</version>
  <type>maven-plugin</type>
</dependency>
'pl.project13.maven:git-commit-id-plugin:maven-plugin:2.1.7'
<dependency org="pl.project13.maven" name="git-commit-id-plugin" rev="2.1.7" />
@Grapes(@Grab(group='pl.project13.maven', module='git-commit-id-plugin', version='2.1.7'))
compile 'pl.project13.maven:git-commit-id-plugin:2.1.7'
libraryDependencies += "pl.project13.maven" % "git-commit-id-plugin" % "2.1.7"
Repository tag
  <repository>
    <id>central</id>
    <url>http://repo1.maven.org/maven2/</url>
  </repository>
Packages

pl.project13.jgit

pl.project13.jgit.dummy

pl.project13.maven.git

pl.project13.maven.git.log

pl.project13.maven.git.util

SCM
  Urlgit@github.com/ktoso/maven-git-commit-id-plugin.git
  Connectionscm:git:https://github.com/ktoso/maven-git-commit-id-plugin
  Developer connectionscm:git:git@github.com:ktoso/maven-git-commit-id-plugin.git
Dependencies
GroupArtifactVersion
org.apache.mavenmaven-plugin-api
org.apache.mavenmaven-project
com.google.injectguice2.0
joda-timejoda-time2.0
com.google.guavaguava13.0
com.intellijannotations9.0.4
org.eclipse.jgitorg.eclipse.jgit
junitjunit
org.easytestingfest-assert
org.codehaus.plexusplexus-utils2.0.5
org.mockitomockito-all
org.apache.commonscommons-io1.3.2
Plugins
GroupArtifactVersion
org.apache.maven.pluginsmaven-compiler-plugin2.5.1
Licenses
  NameGNU Lesser General Public License 3.0
  Urlhttp://www.gnu.org/licenses/lgpl-3.0.txt