Repository

Artifacts/Jars

Popular Tags

ajax analysis annotations ant apache api archetype aspect asynchronously beans binding bpm build buildsystem bytecode cache cms codecoverage codehaus collections concurrency container database directory distributed doc eclipse ejb esb format framework graph graphics hadoop hibernate html http ide imap io jbi jdbc jdo jini jms jmx jndi jsf jsp language logging mail maven metadata microsoft mock net osgi parser pdf persistence plugin pool portal portlet query regexp rmi rpc rss ruleengine scheduling scm scripting security server servlet soa soap socket spring ssh svg swt system taglib template testing transaction ui web webdav webframework webserver webservice workflow xml xquery xslt

[See All Tags]
home » pl.project13.maven » git-commit-id-plugin » 1.9

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 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

Artifact Download (MAVEN-PLUGIN) (14 KB)
POM File View
HomePage http://www.project13.pl
Organization
Issue Tracker




This artifact depends on ...

Group Artifact Version
com.madgag org.eclipse.jgit 0.9.9.5-UNOFFICIAL-ROBERTO-RELEASE
junit junit 3.8.1
org.apache.maven maven-plugin-api 2.2.1
org.apache.maven maven-project 2.2.1
org.codehaus.plexus plexus-utils 2.0.5
org.easytesting fest-assert 1.3
org.mockito mockito-all 1.9.0-rc1

Licenses

License URL
GNU Lesser General Public License 3.0 http://www.gnu.org/licenses/lgpl-3.0.txt

Developers

Name Email Developer Id Roles Organization
Konrad Malawski konrad.malawski<at>project13.pl ktoso Project13.pl

Source Control

Connection scm:git:https://github.com/ktoso/maven-git-commit-id-plugin
Developer Connection scm:git:git@github.com:ktoso/maven-git-commit-id-plugin.git
Tag HEAD
URL git@github.com/ktoso/maven-git-commit-id-plugin.git

Packages

pl.project13.maven.git