This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 43fb0300bd10 CAMEL-25401: camel-jira - go back to fugue 6.1.5: fugue 7 
is compiled for Java 25 (#27452)
43fb0300bd10 is described below

commit 43fb0300bd10fa74ef37f3eca82d20678b6d3350
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Oct 6 22:38:06 2026 +0200

    CAMEL-25401: camel-jira - go back to fugue 6.1.5: fugue 7 is compiled for 
Java 25 (#27452)
    
    fugue 7.0.1 (Dependabot, bac605380ad3) is compiled for Java 25 (class file
    version 69), so camel-jira failed on Java 17 and 21 with
    UnsupportedClassVersionError. Back to 6.1.5, which 4.22.x ships; a test 
loads a
    fugue class, as the other camel-jira tests mock the Jira client and never 
did;
    Dependabot ignores fugue's major 7 until Camel's minimum Java is 25.
    
    
    Claude-Session: https://claude.ai/code/session_01STT6whBgK1AqsSsUKrnE8m
    
    Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
---
 .github/dependabot.yml                             |  3 ++
 .../component/jira/JiraFugueJavaVersionTest.java   | 35 ++++++++++++++++++++++
 parent/pom.xml                                     |  2 +-
 3 files changed, 39 insertions(+), 1 deletion(-)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index ddd88346a4cb..614cdbe18e24 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -36,6 +36,9 @@ updates:
       - dependency-name: "org.eclipse.m2e:lifecycle-mapping"
       # Managed manually - gencode version must be <= the lowest runtime 
version across Spring Boot and Quarkus
       - dependency-name: "com.google.protobuf:*"
+      # fugue 7 is compiled for Java 25 and breaks camel-jira on Java 17 and 
21 (CAMEL-25401): revisit when Camel's minimum Java is 25
+      - dependency-name: "io.atlassian.fugue:fugue"
+        update-types: ["version-update:semver-major"]
     groups:
       Aliyun:
         patterns: 
["com.aliyun:*","com.aliyun.openservices:*","com.aliyun.mns:*"]
diff --git 
a/components/camel-jira/src/test/java/org/apache/camel/component/jira/JiraFugueJavaVersionTest.java
 
b/components/camel-jira/src/test/java/org/apache/camel/component/jira/JiraFugueJavaVersionTest.java
new file mode 100644
index 000000000000..a7478e9b5b29
--- /dev/null
+++ 
b/components/camel-jira/src/test/java/org/apache/camel/component/jira/JiraFugueJavaVersionTest.java
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jira;
+
+import io.atlassian.fugue.Suppliers;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+/**
+ * CAMEL-25401: fugue 7 is compiled for Java 25, so camel-jira failed on Java 
17 and 21 with
+ * UnsupportedClassVersionError. The other tests mock the Jira client and 
never load a fugue class; this one does, so a
+ * fugue (or Jira client) jar compiled for a newer Java than the build fails 
here.
+ */
+public class JiraFugueJavaVersionTest {
+
+    @Test
+    public void fugueLoadsOnTheJavaOfTheBuild() {
+        assertEquals("jira", Suppliers.ofInstance("jira").get());
+    }
+}
diff --git a/parent/pom.xml b/parent/pom.xml
index 3ee99f1f19e8..4483db14def1 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -86,7 +86,7 @@
         <asn1bean-version>1.14.0</asn1bean-version>
         <assertj-version>3.27.7</assertj-version>
         <asterisk-java-version>3.42.2</asterisk-java-version>
-        <atlassian-fugue-version>7.0.1</atlassian-fugue-version>
+        <atlassian-fugue-version>6.1.5</atlassian-fugue-version>
         <atmosphere-version>3.1.0</atmosphere-version>
         <avro-version>1.12.2</avro-version>
         <avro-ipc-jetty-version>1.12.2</avro-ipc-jetty-version>

Reply via email to