Update dependency pl.project13.maven:git-commit-id-plugin to v2.2.6 #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.2.1
->2.2.6
Release Notes
git-commit-id/git-commit-id-maven-plugin
v2.2.6
: Version 2.2.6Compare Source
Version 2.2.6 is a security update for a potential issue within the jackson-databind dependency. As usual you can checkout the detailed list of bug-fixes :-)
New Features / Bug-Fixes:
The main key-aspects is a security update for a potential issue within the jackson-databind dependency. This specific dependency was updated to v2.9.8 in response to https://github.com/FasterXML/jackson-databind/issues/2186 (CVE-2018-19360, CVE-2018-19361, CVE-2018-19362). Even though by default an user of this plugin does not seem to be affected by this potential issue, it is highly recommended to adopt the latest version at your earliest convenience. Similar to version 2.2.5 this version provides full support for Java 7, Java 8, Java 9, Java 10 and Java 11 (and is potentially also working for any higher version).
Am I affected? (technical details)
The specific issues that have been fixed with the update of jackson-databind dependency are:
This plugin uses the jackson-databind dependency for dumping the git information (serialization) to the generated properties file and determining if the generated json properties are up-to-date (deserialization). As of now it appears that only user who generate json properties via
<format>json</format>
may be affected by those issues. This specific configuration is set to<format>properties</format>
by default and hence by default it appears that those issues are out of scope. Only when this configuration is altered a user may need to consider the linked CVE's as potential security problem.In general I would be unsure if this ever even could be considered a true attack vector of this plugin, since the generated json file would need to contain data that would trigger this specific bug in the dependency. If an adversary has access to the content to the location where the generated file is residing, I would assume he can also modify the any local file (including project files) and hence would not need to go through the pain and exploit this problem....
Getting the latest release
The plugin is available from Maven Central (see here), so you don't have to configure any additional repositories to use this plugin. All you need to do is to configure it inside your project as dependency:
Known Issues / Limitations:
Reporting Problems
If you find any problem with this plugin, feel free to report it here
v2.2.5
: Version 2.2.5Compare Source
Version 2.2.5 is finally there and includes various bug-fixes and improvements :-)
New Features / Bug-Fixes:
The main key-aspects that have been improved or being worked on are the following:
git.build.number
andgit.build.number.unique
) for Bamboo, Hudson, Jenkins, TeamCity, Travis, Gitlab CI - https://github.com/ktoso/maven-git-commit-id-plugin/issues/353 / https://github.com/ktoso/maven-git-commit-id-plugin/pull/369git.branch
support for GitlabCI - https://github.com/ktoso/maven-git-commit-id-plugin/pull/368Getting the latest release
The plugin is available from Maven Central (see here), so you don't have to configure any additional repositories to use this plugin. All you need to do is to configure it inside your project as dependency:
Known Issues / Limitations:
Reporting Problems
If you find any problem with this plugin, feel free to report it here
v2.2.4
: Version 2.2.4Compare Source
Version 2.2.4 is finally there and includes various bug-fixes and improvements :-)
New Features / Bug-Fixes:
The main key-aspects that have been improved or being worked on are the following:
-Dmaven.gitcommitid.skip=true
does not skip the plugin execution when the configuration in the POM includes a<skip>false</skip>
- https://github.com/ktoso/maven-git-commit-id-plugin/issues/315transformationRules
for the property where those rules should take effect. EachtransformationRule
consist of two required fieldsapply
andaction
. Theapply
-tag controls when the rule should be applied and can be set toBEFORE
to have the rule being applied before or it can be set toAFTER
to have the rule being applied after the replacement. Theaction
-tag determines the string conversion rule that should be applied. Currenlty supported isLOWER_CASE
andUPPER_CASE
. Potential candidates in the feature areCAPITALIZATION
andINVERT_CASE
(open a ticket if you need them...).See https://github.com/ktoso/maven-git-commit-id-plugin/issues/317 for more details on a use-case.
mvn clean verify -Pcheckstyle -Dmaven.test.skip=true -B
for java 7 and java 8. For java9 one may want to runmvn clean verify -Pcheckstyle -Dcheckstyle.version=8.2 -Dmaven.test.skip=true -B
that uses a more recent checkstyle version. Feel free to check out our FAQ-Section in the Readme that contains a small write up on how you can integrate checkstyle into your IDE.git.closest.tag.name
andgit.closest.tag.count
now will be determined based on properties configured inside the git-describe command (https://github.com/ktoso/maven-git-commit-id-plugin/issues/221). Example:will cause that lightweight tags are also included for the closest tags
Also the
pattern
used inside the gitDescribe might have an impact on the resultinggit.closest.tag.name
andgit.closest.tag.count
git.tags
property (basically it wasn't reporting all tags of a given commit) - https://github.com/ktoso/maven-git-commit-id-plugin/issues/339HEAD
which should reference to the latest commit in your repository. In general this property can be set to something generic likeHEAD^1
or point to a branch or tag-name. To support any kind or use-case this configuration can also be set to an entire commit-hash or it's abbreviated version. Please note that for security purposes not all references might be allowed as configuration.The configuration can be used in the following:
Getting the latest release
The plugin is available from Maven Central (see here), so you don't have to configure any additional repositories to use this plugin. All you need to do is to configure it inside your project as dependency:
Known Issues / Limitations:
Reporting Problems
If you find any problem with this plugin, feel free to report it here
v2.2.3
: Version 2.2.3Compare Source
Version 2.2.3 is finally there and includes various bug-fixes and improvements :-)
New Features / Bug-Fixes:
The main key-aspects that have been improved or being worked on are the following:
-Dmaven.gitcommitid.skip=true
- https://github.com/ktoso/maven-git-commit-id-plugin/issues/268runOnIncremental=false
- https://github.com/ktoso/maven-git-commit-id-plugin/issues/269Getting the latest release
The plugin is available from Maven Central (see here), so you don't have to configure any additional repositories to use this plugin. All you need to do is to configure it inside your project as dependency:
Known Issues / Limitations:
Reporting Problems
If you find any problem with this plugin, feel free to report it here
v2.2.2
: Version 2.2.2Compare Source
Version 2.2.2 is finally there and includes various bug-fixes and improvements :-)
New Features / Bug-Fixes:
The main key-aspects that have been improved or being worked on are the following:
-SNAPSHOT
or git repository isdirty
) - https://github.com/ktoso/maven-git-commit-id-plugin/issues/106Getting the latest release
The plugin is available from Maven Central (see here), so you don't have to configure any additional repositories to use this plugin. All you need to do is to configure it inside your project as dependency:
Reporting Problems
If you find any problem with this plugin, feel free to report it here
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.