This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch use_json_jenkins_api
in repository https://gitbox.apache.org/repos/asf/maven-dist-tool.git
The following commit(s) were added to refs/heads/use_json_jenkins_api by this
push:
new 9879451 upgrade github api to fix incompatibility with jackson
9879451 is described below
commit 987945113680866a96232515a93b1b0dbb6bb976
Author: Olivier Lamy <[email protected]>
AuthorDate: Sun Mar 15 16:03:03 2026 +1000
upgrade github api to fix incompatibility with jackson
Signed-off-by: Olivier Lamy <[email protected]>
---
pom.xml | 2 +-
.../org/apache/maven/dist/tools/memorycheck/MemoryCheckReport.java | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index c3e9108..98707bc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -152,7 +152,7 @@
<dependency>
<groupId>org.kohsuke</groupId>
<artifactId>github-api</artifactId>
- <version>1.129</version>
+ <version>2.0-rc.5</version>
</dependency>
<dependency>
<groupId>org.eclipse.jgit</groupId>
diff --git
a/src/main/java/org/apache/maven/dist/tools/memorycheck/MemoryCheckReport.java
b/src/main/java/org/apache/maven/dist/tools/memorycheck/MemoryCheckReport.java
index 145fbb6..281291d 100644
---
a/src/main/java/org/apache/maven/dist/tools/memorycheck/MemoryCheckReport.java
+++
b/src/main/java/org/apache/maven/dist/tools/memorycheck/MemoryCheckReport.java
@@ -118,9 +118,8 @@ public class MemoryCheckReport extends
AbstractDistCheckReport {
status.forEach(s -> {
sink.listItem();
sink.link(s.getHtmlUrl().toString());
- sink.text(DateTimeFormatter.ISO_LOCAL_DATE
- .withZone(ZoneId.of("UTC"))
- .format(s.getStartedAt().toInstant()));
+ sink.text(
+
DateTimeFormatter.ISO_LOCAL_DATE.withZone(ZoneId.of("UTC")).format(s.getStartedAt()));
if (s.getConclusion() == GHWorkflowRun.Conclusion.SUCCESS) {
iconSuccess(sink);
} else {