Skip to content

Commit

Permalink
[MVN] Bump Tycho and Maven version for JDK 21 support
Browse files Browse the repository at this point in the history
Related d303e69
Maven bump is manual until Github update there images to have a version of maven above 3.9.X required by Tycho 4 (https://github.com/eclipse-tycho/tycho/blob/tycho-4.0.0/RELEASE_NOTES.md) which is the first version to support JDK 21
  • Loading branch information
RoiArthurB committed Jun 13, 2024
1 parent 59704aa commit a896986
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/travis-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,17 @@ jobs:
java-version: '21'
java-package: jdk

- name: Update Maven to 3.9.X
run: |
# Needed for Tycho 4.X.X and support for JDK 21
wget https://dlcdn.apache.org/maven/maven-3/3.9.7/binaries/apache-maven-3.9.7-bin.tar.gz
tar -xvf apache-maven-3.9.7-bin.tar.gz
mv apache-maven-3.9.7 /opt/
M2_HOME='/opt/apache-maven-3.9.7'
PATH="$M2_HOME/bin:$PATH"
export PATH
mvn -version
- name: Set custom runner parameters
run: |
echo "MAVEN_OPTS='-Dorg.slf4j.simpleLogger.defaultLogLevel=error -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xmx15g'" >> ~/.mavenrc
Expand Down
2 changes: 1 addition & 1 deletion gama.annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tycho.version>3.0.5</tycho.version>
<tycho.version>4.0.8</tycho.version>
<jdk.version>21</jdk.version>
<codehaus.wagon.version>2.0.2</codehaus.wagon.version>
<wagon.version>3.5.3</wagon.version>
Expand Down
2 changes: 1 addition & 1 deletion gama.parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
<properties>
<project.version>0.0.0-SNAPSHOT</project.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tycho.version>3.0.5</tycho.version>
<tycho.version>4.0.8</tycho.version>
<jdk.version>21</jdk.version>
<codehaus.wagon.version>2.0.2</codehaus.wagon.version>
<wagon.version>3.5.3</wagon.version>
Expand Down
2 changes: 1 addition & 1 deletion gama.processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tycho.version>3.0.5</tycho.version>
<tycho.version>4.0.8</tycho.version>
<jdk.version>21</jdk.version>
<codehaus.wagon.version>2.0.2</codehaus.wagon.version>
<wagon.version>3.5.3</wagon.version>
Expand Down

0 comments on commit a896986

Please sign in to comment.