Skip to content

Commit 1c24b6f

Browse files
committed
Merge pull request #120 from ktoso/native-git
Native git
2 parents 34265c4 + 7319382 commit 1c24b6f

16 files changed

+1733
-315
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,14 @@ It's really simple to setup this plugin; below is a sample pom that you may base
112112
<!-- false is default here, it prints some more information during the build -->
113113
<verbose>false</verbose>
114114

115+
<!-- @since 2.1.9 -->
116+
<!--
117+
false is default here, if set to true it uses native GIT excutable for
118+
better performance (it must be installed in system and available in system PATH)
119+
120+
-->
121+
<useNativeGit>false</useNativeGit>
122+
115123
<!--
116124
If you'd like to tell the plugin where your .git directory is,
117125
use this setting, otherwise we'll perform a search trying to
@@ -545,6 +553,7 @@ I'd like to give a big thanks to some of these folks, for their suggestions and
545553
* @mostr - for bugfixes and a framework to do integration testing,
546554
* @fredcooke - for consistent feedback and suggestions,
547555
* @MrOnion - for a small yet fast bugfix,
556+
* @TheSnoozer - for helping out others on issues as well as his contributions,
548557
* ... many others - thank you for your contributions,
549558
* ... you! - for using the plugin :-)
550559

pom.xml

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,14 @@
106106
<version>2.0</version>
107107
</dependency>
108108

109+
<!-- JSON -->
110+
<dependency>
111+
<groupId>net.sf.json-lib</groupId>
112+
<artifactId>json-lib</artifactId>
113+
<version>2.4</version>
114+
<classifier>jdk15</classifier>
115+
</dependency>
116+
109117
<!-- Joda Time -->
110118
<dependency>
111119
<groupId>joda-time</groupId>
@@ -171,6 +179,13 @@
171179
<type>jar</type>
172180
<scope>test</scope>
173181
</dependency>
182+
183+
<dependency>
184+
<groupId>pl.pragmatists</groupId>
185+
<artifactId>JUnitParams</artifactId>
186+
<version>1.0.2</version>
187+
<scope>test</scope>
188+
</dependency>
174189
</dependencies>
175190

176191
<build>
@@ -182,6 +197,7 @@
182197
<includes>
183198
<include>**/*.properties</include>
184199
<include>**/*.xml</include>
200+
<include>**/*.json</include>
185201
</includes>
186202
</resource>
187203
</resources>
@@ -199,20 +215,17 @@
199215
<!--</execution>-->
200216
<!--</executions>-->
201217
<!--<configuration>-->
202-
<!--<prefix>git</prefix>-->
203-
204-
<!--<dateFormat>dd.MM.yyyy '@' HH:mm:ss z</dateFormat>-->
205-
206218
<!--<verbose>true</verbose>-->
207-
219+
<!--<skip>false</skip>-->
220+
<!--<prefix>git</prefix>-->
208221
<!--<dotGitDirectory>${project.basedir}/.git</dotGitDirectory>-->
209-
210222
<!--<generateGitPropertiesFile>true</generateGitPropertiesFile>-->
211-
<!--<generateGitPropertiesFilename>testing.properties</generateGitPropertiesFilename>-->
223+
<!--<generateGitPropertiesFilename>target/testing.properties</generateGitPropertiesFilename>-->
212224

213-
<!--<excludeProperties>-->
214-
<!--<excludeProperty>git.commit.*</excludeProperty>-->
215-
<!--</excludeProperties>-->
225+
<!--<dateFormat>dd.MM.yyyy '@' HH:mm:ss z</dateFormat>-->
226+
<!--<useNativeGit>false</useNativeGit>-->
227+
<!--<abbrevLength>7</abbrevLength>-->
228+
<!--<format>properties</format>-->
216229

217230
<!--<gitDescribe>-->
218231
<!--<skip>false</skip>-->
@@ -221,11 +234,16 @@
221234
<!--<dirty>-DEVEL</dirty>-->
222235
<!--<forceLongFormat>false</forceLongFormat>-->
223236
<!--</gitDescribe>-->
224-
225-
<!--<abbrevLength>7</abbrevLength>-->
237+
238+
<!--<excludeProperties>-->
239+
<!--<excludeProperty>git.commit.*</excludeProperty>-->
240+
<!--<excludeProperty>git.remote.origin.url</excludeProperty>-->
241+
<!--</excludeProperties>-->
242+
243+
<!--<failOnNoGitDirectory>true</failOnNoGitDirectory>-->
244+
<!--<failOnUnableToExtractRepoInfo>true</failOnUnableToExtractRepoInfo>-->
226245
<!--</configuration>-->
227246
<!--</plugin>-->
228-
229247
<!-- Setting built-in java compiler properties -->
230248
<plugin>
231249
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)