Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: 'temurin'
java-version: 17
java-version: 21
cache: 'maven'
- name: Build camel-kamelets
run: ./mvnw -V -ntp clean install
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: 'temurin'
java-version: 17
java-version: 21
- name: Deploy to ASF Snapshots Repository
# Deploy both artifacts and sources (maybe required by Camel K)
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-sbom-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
java: [ '17' ]
java: [ '21' ]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ jobs:
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: 'temurin'
# 25 for the Camel JBang launcher the tests run (//JAVA 21+ since CAMEL-23112), linked into JBang below instead
# of downloaded (that download fails now and then); 17, listed last, stays the default for the Maven build and
# the Citrus tests. With the Camel apps on 21 JiraIT failed in every run; it passed when JBang downloaded 27
# 25 for the Camel JBang launcher the tests run, linked into JBang below instead of downloaded (that download
# fails now and then); 21, listed last, stays the default for the Maven build (the Java baseline) and the Citrus
# tests. With the Camel apps on 21 JiraIT failed in every run; it passed when JBang downloaded 27
java-version: |
25
17
21
cache: 'maven'
- name: Build Kamelet libraries
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: 'temurin'
java-version: 17
java-version: 21
cache: 'maven'
- name: Build catalog 1st Run
run: ./mvnw clean install -DskipTests -DskipITs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-push-regen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: 'temurin'
java-version: 17
java-version: 21
cache: 'maven'
- name: Build catalog 1st Run
run: ./mvnw clean install -DskipTests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: 'temurin'
java-version: 17
java-version: 21
cache: 'maven'
- name: Run Validator
run: |
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Camel, Camel K, Camel Quarkus and Camel Spring Boot.

- Version: 4.20.0
- Camel: 4.20.0
- Java: 17+
- Java: 21+
- Build: Maven (`mvn verify`); Go is required for the `crds/` generator
- Issue tracker: GitHub — https://github.com/apache/camel-kamelets/issues
- Related repository: `apache/camel` (Camel core — the Kamelet **runtime**
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

[Full Changelog](https://github.com/apache/camel-kamelets/compare/v4.22.1...HEAD)

**Breaking changes:**

- Raise the minimal Java version from 17 to 21, following Camel core \(CAMEL-22996\): the Kamelet libraries are now built for Java 21 and can no longer be used with Java 17

**Closed issues:**

- Remove camel:core from the Kamelet dependencies: every Camel runtime has it [\#3096](https://github.com/apache/camel-kamelets/issues/3096)
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

def LOCAL_REPOSITORY = env.LOCAL_REPOSITORY ?: '/home/jenkins/jenkins-slave/maven-repositories/0'
def AGENT_LABEL = env.AGENT_LABEL ?: 'ubuntu'
def JDK_NAME = env.JDK_NAME ?: 'jdk_17_latest'
def JDK_NAME = env.JDK_NAME ?: 'jdk_21_latest'

def MAVEN_PARAMS = '-U -B -e -fae -V -Dmaven.repo.local=/home/jenkins/.m2/repository -Dmaven.compiler.fork=true'

Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile.ppc64le
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

def LOCAL_REPOSITORY = env.LOCAL_REPOSITORY ?: '/home/jenkins/jenkins-slave/maven-repositories/0'
def AGENT_LABEL = env.AGENT_LABEL ?: 'power9'
def JDK_NAME = env.JDK_NAME ?: 'jdk_17_latest'
def JDK_NAME = env.JDK_NAME ?: 'jdk_21_latest'

def MAVEN_PARAMS = '-U -B -e -fae -V -Dmaven.repo.local=/home/jenkins/.m2/repository -Dmaven.compiler.fork=true'

Expand Down
2 changes: 1 addition & 1 deletion jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
jdk:
- openjdk17
- openjdk21
4 changes: 2 additions & 2 deletions library/camel-kamelets-catalog/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>17</source>
<target>17</target>
<source>21</source>
<target>21</target>
</configuration>
</plugin>
</plugins>
Expand Down
6 changes: 3 additions & 3 deletions library/camel-kamelets-crds/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<maven.compiler.release>17</maven.compiler.release>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.release>21</maven.compiler.release>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>

<fabric8-version>8.0.0</fabric8-version>
<maven-surefire-plugin-version>3.5.0</maven-surefire-plugin-version>
Expand Down
4 changes: 2 additions & 2 deletions library/kamelets-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>17</source>
<target>17</target>
<source>21</source>
<target>21</target>
</configuration>
</plugin>
</plugins>
Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
</modules>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.release>17</maven.compiler.release>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<maven.compiler.release>21</maven.compiler.release>

<failIfNoTests>false</failIfNoTests>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -301,8 +301,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>17</source>
<target>17</target>
<source>21</source>
<target>21</target>
</configuration>
</plugin>
</plugins>
Expand Down
2 changes: 1 addition & 1 deletion tests/camel-kamelets-itest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This folder contains a suite of integration tests for Kamelets

You need the following tools to run the tests:
- Java 17
- Java 21
- [JBang](https://www.jbang.dev/)
- [Camel JBang](https://camel.apache.org/manual/camel-jbang.html)
- [Citrus JBang App](https://citrusframework.org/citrus/reference/html/index.html#runtime-jbang-install)
Expand Down
Loading