Skip to content

Commit 0c39d50

Browse files
author
TheSnoozer
committed
Merge pull request #218 from jmtd/patch-1
Use correct default for generateGitPropertiesFilename in example Configuration
2 parents 71c58dc + d3f04a8 commit 0c39d50

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,11 @@ It's really simple to setup this plugin; below is a sample pom that you may base
150150
<!-- this is false by default, forces the plugin to generate the git.properties file -->
151151
<generateGitPropertiesFile>true</generateGitPropertiesFile>
152152

153-
<!-- The path for the to be generated properties file, it's relative to ${project.basedir} -->
154-
<generateGitPropertiesFilename>src/main/resources/git.properties</generateGitPropertiesFilename>
153+
<!--
154+
The path for the to be generated properties file, it's relative to ${project.basedir}
155+
The default value is ${project.build.outputDirectory}/git.properties
156+
-->
157+
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
155158

156159
<!-- Denotes the format to save properties in. Valid options are "properties" (default) and "json". Properties will be saved to the generateGitPropertiesFilename if generateGitPropertiesFile is set to `true`. -->
157160
<format>properties</format>

0 commit comments

Comments
 (0)