Repository navigation
Add the Maven Central snapshot repository and fix the 9.0.0-SNAPSHOT version - #36
Merged
Merged
Conversation
Enables using CloudSim Plus SNAPSHOT versions before they are released. Final versions still come from Maven Central. - Fix the project version case: 9.0.0-snapshot -> 9.0.0-SNAPSHOT, since repository paths are case-sensitive. Related: cloudsimplus/cloudsimplus#575 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 of 8 tasks
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 use CloudSim Plus
9.0.0-SNAPSHOTfrom the Maven Central snapshot repository.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.Version case
The project version changes from
9.0.0-snapshotto9.0.0-SNAPSHOT(inpom.xmlandCLAUDE.md). Thecloudsimplusdependency uses${project.version}, and repository paths are case-sensitive, so the lowercase version would never match the published artifact.Java 25
The project already compiles for Java 25 and uses JDK 25 in CI, as CloudSim Plus 9 requires.
GitHub Actions now use the Amazon Corretto JDK distribution, as the cloudsimplus project does, instead of
adopt(deprecated insetup-java).CI
CI fails until
9.0.0-SNAPSHOTis published (the same failure already happens onmaster). The log confirms Maven now looks forcloudsimplus-9.0.0-SNAPSHOT.jarin the snapshot repository. Publishing is currently blocked by a 401 error, caused by credential scoping in Maven 3.10 (see cloudsimplus/cloudsimplus#575).🤖 Generated with Claude Code