You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git-commit-id-plugin is a plugin quite similar to https://fisheye.codehaus.org/browse/mojo/tags/buildnumber-maven-plugin-1.0-beta-4 fo example but as buildnumber only supports svn (which is very sad) and cvs (which is even more sad, and makes bunnies cry) I had to quickly develop an git version of such a plugin. For those who don't know the previous plugins, let me explain what this plugin does:
5
+
git-commit-id-plugin is a plugin quite similar to https://fisheye.codehaus.org/browse/mojo/tags/buildnumber-maven-plugin-1.0-beta-4 fo example but as buildnumber at the time when I started this plugin only supported CVS and SVN, something had to be done.
6
+
I had to quickly develop an git version of such a plugin. For those who don't know the previous plugins, let me explain what this plugin does:
6
7
7
8
Use cases
8
9
=========
@@ -35,7 +36,7 @@ A detailed description of using the pluing is available in the <a href="https://
35
36
36
37
Versions
37
38
--------
38
-
The current version is **2.1.10**.
39
+
The current version is **2.1.11**:
39
40
40
41
You can check the available versions by visiting [search.maven.org](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22pl.project13.maven%22%20AND%20a%3A%22git-commit-id-plugin%22), though using the newest is obviously the best choice.
41
42
@@ -93,7 +94,7 @@ It's really simple to setup this plugin; below is a sample pom that you may base
93
94
<plugin>
94
95
<groupId>pl.project13.maven</groupId>
95
96
<artifactId>git-commit-id-plugin</artifactId>
96
-
<version>2.1.10</version>
97
+
<version>2.1.11</version>
97
98
<executions>
98
99
<execution>
99
100
<goals>
@@ -239,6 +240,7 @@ Now you just have to include such a properties file in your project under `/src/
239
240
240
241
```
241
242
git.branch=${git.branch}
243
+
git.commit.tags=${git.tags}
242
244
243
245
git.commit.id.describe=${git.commit.id.describe}
244
246
@@ -270,6 +272,7 @@ Start out with with adding the above steps to your project, next paste this **gi
0 commit comments