Skip to content

Commit 501b889

Browse files
committed
Upgrade to CloudSim Plus 9.0.0-snapshot using JDK 24
- Update dependencies for JDK 24. - Update CI build workflow Signed-off-by: Manoel Campos <[email protected]>
1 parent b973d1c commit 501b889

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11-
name: Java 17 Build
11+
name: Java 24 Build
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Setup Java
15-
uses: actions/setup-java@v3
15+
uses: actions/setup-java@v4
1616
with:
1717
distribution: 'adopt'
18-
java-version: 17
18+
java-version: 24
1919
cache: 'maven'
2020
- name: Maven Build
2121
run: mvn -B package

pom.xml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
The module version defines the version of CloudSim Plus to be used.
99
This way, it cannot be a version number which doesn't exist for CloudSim Plus.
1010
-->
11-
<version>8.5.5</version>
11+
<version>9.0.0-snapshot</version>
1212

1313
<name>CloudSim Plus Examples</name>
1414
<description>
@@ -53,25 +53,22 @@
5353
<license-maven-plugin.version>3.0</license-maven-plugin.version>
5454
<!-- License file to be used by the com.mycila.license-maven-plugin -->
5555
<copyrightfile>../COPYRIGHT</copyrightfile>
56-
<maven.compiler.source>17</maven.compiler.source>
57-
<maven.compiler.target>17</maven.compiler.target>
56+
<maven.compiler.release>24</maven.compiler.release>
57+
<logback.version>1.5.18</logback.version>
5858
</properties>
5959

6060
<build>
6161
<plugins>
6262
<plugin>
6363
<groupId>org.apache.maven.plugins</groupId>
6464
<artifactId>maven-compiler-plugin</artifactId>
65-
<version>3.10.1</version>
66-
<configuration>
67-
<release>17</release>
68-
</configuration>
65+
<version>3.14.0</version>
6966
</plugin>
7067

7168
<plugin>
7269
<groupId>org.apache.maven.plugins</groupId>
7370
<artifactId>maven-jar-plugin</artifactId>
74-
<version>3.3.0</version>
71+
<version>3.4.2</version>
7572
<configuration>
7673
<archive>
7774
<manifest>
@@ -96,7 +93,7 @@
9693
<plugin>
9794
<groupId>org.apache.maven.plugins</groupId>
9895
<artifactId>maven-shade-plugin</artifactId>
99-
<version>3.2.4</version>
96+
<version>3.6.0</version>
10097
<executions>
10198
<execution>
10299
<phase>package</phase>
@@ -147,13 +144,13 @@
147144
<dependency>
148145
<groupId>ch.qos.logback</groupId>
149146
<artifactId>logback-core</artifactId>
150-
<version>1.4.5</version>
147+
<version>${logback.version}</version>
151148
</dependency>
152149
<dependency>
153150
<!-- Automatically includes slf4j-api 2.0 -->
154151
<groupId>ch.qos.logback</groupId>
155152
<artifactId>logback-classic</artifactId>
156-
<version>1.4.5</version>
153+
<version>${logback.version}</version>
157154
</dependency>
158155
</dependencies>
159156
</project>

0 commit comments

Comments
 (0)