Skip to content

Commit 541a98e

Browse files
author
S L
committed
the dateFormatTimeZone-eature will be available since version 2.2.0
1 parent b8da4ed commit 541a98e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ It's really simple to setup this plugin; below is a sample pom that you may base
132132
<!-- that's the default value -->
133133
<dateFormat>dd.MM.yyyy '@' HH:mm:ss z</dateFormat>
134134

135-
<!-- @since 2.1.16 -->
135+
<!-- @since 2.2.0 -->
136136
<!--
137137
If you want to set the timezone of the dateformat to anything in particular you can do this by using this option.
138138
As a general warning try to avoid three-letter time zone IDs because the same abbreviation are often used for multiple time zones.
@@ -640,7 +640,7 @@ Optional parameters:
640640
* **dotGitDirectory** - `(default: ${project.basedir}/.git)` the location of your .git folder. `${project.basedir}/.git` is the default value and will most probably be ok for single module projects, in other cases please use `../` to get higher up in the dir tree. An example would be: `${project.basedir}/../.git` which I'm currently using in my projects :-)
641641
* **prefix** - `(default: git)` is the "namespace" for all exposed properties
642642
* **dateFormat** - `(default: dd.MM.yyyy '@' HH:mm:ss z)` is a normal SimpleDateFormat String and will be used to represent git.build.time and git.commit.time
643-
* **dateFormatTimeZone** - `(default: empty)` *(available since v2.1.16)* is a TimeZone String (e.g. 'America/Los_Angeles', 'GMT+10', 'PST') and can be used to set the timezone of the *dateFormat* to anything in particular. As a general warning try to avoid three-letter time zone IDs because the same abbreviation are often used for multiple time zones. The default value we'll use the timezone use the timezone that's shipped with java (java.util.TimeZone.getDefault().getID()). *Note*: If you plan to set the java's timezone by using `MAVEN_OPTS=-Duser.timezone=UTC mvn clean package`, `mvn clean package -Duser.timezone=UTC` or any other configuration keep in mind that this option will override those settings and will not take other configurations into account!
643+
* **dateFormatTimeZone** - `(default: empty)` *(available since v2.2.0)* is a TimeZone String (e.g. 'America/Los_Angeles', 'GMT+10', 'PST') and can be used to set the timezone of the *dateFormat* to anything in particular. As a general warning try to avoid three-letter time zone IDs because the same abbreviation are often used for multiple time zones. The default value we'll use the timezone use the timezone that's shipped with java (java.util.TimeZone.getDefault().getID()). *Note*: If you plan to set the java's timezone by using `MAVEN_OPTS=-Duser.timezone=UTC mvn clean package`, `mvn clean package -Duser.timezone=UTC` or any other configuration keep in mind that this option will override those settings and will not take other configurations into account!
644644
* **verbose** - `(default: false)` if true the plugin will print a summary of all collected properties when it's done
645645
* **generateGitPropertiesFile** -`(default: false)` this is false by default, forces the plugin to generate the git.properties file
646646
* **generateGitPropertiesFilename** - `(default: ${project.build.outputDirectory}/git.properties)` - The path for the to be generated properties file. The path can be relative to ${project.basedir} (e.g. target/classes/git.properties) or can be a full path (e.g. ${project.build.outputDirectory}/git.properties).

0 commit comments

Comments
 (0)