Title: git.build.time has wrong time when using maven 4 · Issue #874 · git-commit-id/git-commit-id-maven-plugin · GitHub
Open Graph Title: git.build.time has wrong time when using maven 4 · Issue #874 · git-commit-id/git-commit-id-maven-plugin
X Title: git.build.time has wrong time when using maven 4 · Issue #874 · git-commit-id/git-commit-id-maven-plugin
Description: Describe the bug (required) This is from my build log: [INFO] --- git-commit-id:9.0.2:revision (revision) @ java-test --- [INFO] Collected git.branch with value main [INFO] Collected git.commit.id.abbrev with value ef3a35e [INFO] Collect...
Open Graph Description: Describe the bug (required) This is from my build log: [INFO] --- git-commit-id:9.0.2:revision (revision) @ java-test --- [INFO] Collected git.branch with value main [INFO] Collected git.commit.id....
X Description: Describe the bug (required) This is from my build log: [INFO] --- git-commit-id:9.0.2:revision (revision) @ java-test --- [INFO] Collected git.branch with value main [INFO] Collected git.commit.id....
Opengraph URL: https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/874
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"git.build.time has wrong time when using maven 4","articleBody":"### Describe the bug (required)\n\nThis is from my build log:\n\n```\n[INFO] --- git-commit-id:9.0.2:revision (revision) @ java-test ---\n[INFO] Collected git.branch with value main\n[INFO] Collected git.commit.id.abbrev with value ef3a35e\n[INFO] Collected git.commit.time with value 2025-09-03T17:52:51+02:00[Europe/Berlin]\n[INFO] Collected git.build.time with value 1980-02-01T01:00:00+01:00[Europe/Berlin]\n[INFO] Collected git.build.version with value 25.9.0-SNAPSHOT\n```\n\n\n### Tell us about your plugin configuration (required)\n\n```xml\n\t\t\t\t\t\t\t\u003cexecutions\u003e\n\t\t\t\t\t\t\t\t\u003cexecution\u003e\n\t\t\t\t\t\t\t\t\t\u003cid\u003erevision\u003c/id\u003e\n\t\t\t\t\t\t\t\t\t\u003cphase\u003egenerate-resources\u003c/phase\u003e\n\t\t\t\t\t\t\t\t\t\u003cgoals\u003e\n\t\t\t\t\t\t\t\t\t\t\u003cgoal\u003erevision\u003c/goal\u003e\n\t\t\t\t\t\t\t\t\t\u003c/goals\u003e\n\t\t\t\t\t\t\t\t\u003c/execution\u003e\n\t\t\t\t\t\t\t\u003c/executions\u003e\n\t\t\t\t\t\t\t\u003cconfiguration\u003e\n\t\t\t\t\t\t\t\t\u003cverbose\u003etrue\u003c/verbose\u003e\n\t\t\t\t\t\t\t\t\u003cgenerateGitPropertiesFile\u003etrue\u003c/generateGitPropertiesFile\u003e\n\t\t\t\t\t\t\t\t\u003cgenerateGitPropertiesFilename\u003e${project.build.outputDirectory}/${project.groupId}.${project.artifactId}.git.properties\u003c/generateGitPropertiesFilename\u003e\n\t\t\t\t\t\t\t\t\u003cincludeOnlyProperties\u003e\n\t\t\t\t\t\t\t\t\t\u003cincludeOnlyProperty\u003e^git.branch$\u003c/includeOnlyProperty\u003e\n\t\t\t\t\t\t\t\t\t\u003cincludeOnlyProperty\u003e^git.commit.id.abbrev$\u003c/includeOnlyProperty\u003e\n\t\t\t\t\t\t\t\t\t\u003cincludeOnlyProperty\u003e^git.commit.time$\u003c/includeOnlyProperty\u003e\n\t\t\t\t\t\t\t\t\t\u003cincludeOnlyProperty\u003e^git.build.version$\u003c/includeOnlyProperty\u003e\n\t\t\t\t\t\t\t\t\t\u003cincludeOnlyProperty\u003e^git.build.time$\u003c/includeOnlyProperty\u003e\n\t\t\t\t\t\t\t\t\u003c/includeOnlyProperties\u003e\n\t\t\t\t\t\t\t\t\u003ccommitIdGenerationMode\u003efull\u003c/commitIdGenerationMode\u003e\n\t\t\t\t\t\t\t\t\u003cdateFormat\u003e${timestamp.17.format}\u003c/dateFormat\u003e\n\t\t\t\t\t\t\t\u003c/configuration\u003e\n```\n\n\n### Tell us about the Plugin version used (required)\n\n9.0.2\n\n### Tell us about the Maven version used (required)\n\nmaven 4.0.0-rc-4\n\n### Steps to Reproduce (required)\n\nI run the plugin with ``mvn clean install`...\n\n\n### Are there any stacktraces or any error messages? (required)\n\nNo stacktraces, just the wrong timestamp\n\n### Is there a (public) project where this issue can be reproduced? (optional)\n\n_No response_\n\n### Your Environment (optional)\n\n_No response_\n\n### Context (optional)\n\n_No response_","author":{"url":"https://github.com/RalfNaujokat","@type":"Person","name":"RalfNaujokat"},"datePublished":"2025-09-03T16:25:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/874/git-commit-id-maven-plugin/issues/874"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7e879e1a-d71d-07b7-899c-5fb21e5a8d8a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A2B4:155A7:88527:AE6A4:699054C1 |
| html-safe-nonce | 19714dcf306c5aa5a44b207412ca14f1da72e018d25957a4e0e04ce227859150 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkI0OjE1NUE3Ojg4NTI3OkFFNkE0OjY5OTA1NEMxIiwidmlzaXRvcl9pZCI6IjY0MDM3MDI5NzkxODcyMDEyMTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4b7f74d4d72f67a9711676332c7b6dfd84b5ff7222c828a987a540dc1c374938 |
| hovercard-subject-tag | issue:3380474040 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/git-commit-id/git-commit-id-maven-plugin/874/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47a31f13cf4469c1df9ad423ba5f10dd6c6cb999d4d357d4d7729c4c2480da01/git-commit-id/git-commit-id-maven-plugin/issues/874 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47a31f13cf4469c1df9ad423ba5f10dd6c6cb999d4d357d4d7729c4c2480da01/git-commit-id/git-commit-id-maven-plugin/issues/874 |
| og:image:alt | Describe the bug (required) This is from my build log: [INFO] --- git-commit-id:9.0.2:revision (revision) @ java-test --- [INFO] Collected git.branch with value main [INFO] Collected git.commit.id.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | RalfNaujokat |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/git-commit-id/git-commit-id-maven-plugin git https://github.com/git-commit-id/git-commit-id-maven-plugin.git |
| octolytics-dimension-user_id | 43124426 |
| octolytics-dimension-user_login | git-commit-id |
| octolytics-dimension-repository_id | 1361792 |
| octolytics-dimension-repository_nwo | git-commit-id/git-commit-id-maven-plugin |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1361792 |
| octolytics-dimension-repository_network_root_nwo | git-commit-id/git-commit-id-maven-plugin |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width