Repository navigation
Add the Maven Central snapshot repository and move to Java 25 - #4
Merged
Merged
Conversation
8 tasks done
manoelcampos
force-pushed
the
snapshot-repository
branch
from
October 19, 2026 23:57
6cf9902 to
397526a
Compare
- Add the Maven Central snapshot repository, enabling the use of CloudSim Plus SNAPSHOT versions before they are released. Final versions still come from Maven Central. - Compile for Java 25 and build with JDK 25 in CI (maven.yml), since CloudSim Plus 9 requires Java 25. - Remove -XDaddTypeAnnotationsToSymbol=true, which Error Prone only needs on JDK 21. - Use the Amazon Corretto JDK distribution in GitHub Actions, as in the cloudsimplus project (adopt is deprecated in setup-java). Related: cloudsimplus/cloudsimplus#575 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
manoelcampos
force-pushed
the
snapshot-repository
branch
from
October 20, 2026 00:04
397526a to
33f2f00
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to cloudsimplus/cloudsimplus#575
Prepares the project to move to CloudSim Plus 9 (
9.0.0-SNAPSHOT).Changes
Snapshot repository
Adds the Maven Central snapshot repository (
https://central.sonatype.com/repository/maven-snapshots/) topom.xml, so the project can use CloudSim Plus-SNAPSHOTversions before they are released.<releases>is disabled in this repository, so Maven only asks it for-SNAPSHOTversions. Final versions still come from Maven Central, without slowing them down.9.0.0), just remove-SNAPSHOTfrom the version.Java 25
CloudSim Plus 9 is compiled for Java 25, so projects using it must also target Java 25.
pom.xml:<release>17</release>changed to<release>25</release>.maven.yml): JDK 21 changed to JDK 25.-XDaddTypeAnnotationsToSymbol=truecompiler flag. Error Prone only needs it on JDK 21.adopt(deprecated insetup-java).Not included
The project still uses a final CloudSim Plus version (
8.5.1). Moving to9.0.0-SNAPSHOTneeds the snapshot to be published first, plus other changes listed in cloudsimplus/cloudsimplus#575.Checks
mvn clean packagepasses locally on JDK 25. The generated classes are Java 25 bytecode (class file version 69).🤖 Generated with Claude Code