From 54b2a4d3f2bc6fa785b5296374c8611b2cec6746 Mon Sep 17 00:00:00 2001 From: Manoel Campos Date: Mon, 19 Oct 2026 20:01:06 -0300 Subject: [PATCH] Add the Maven Central snapshot repository 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 --- CLAUDE.md | 2 +- pom.xml | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 0c1b80c..c2ae784 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -8,7 +8,7 @@ Ready-to-run examples for the [CloudSim Plus](https://github.com/cloudsimplus/cl ## Dependency on CloudSim Plus -- The **project version sets the CloudSim Plus version**: the `cloudsimplus` dependency uses `${project.version}` (now `9.0.0-snapshot`). So the version must always be a real CloudSim Plus version. +- The **project version sets the CloudSim Plus version**: the `cloudsimplus` dependency uses `${project.version}` (now `9.0.0-SNAPSHOT`). So the version must always be a real CloudSim Plus version. - A snapshot version is not on Maven Central. It must be installed into `~/.m2` from the sibling framework project `../cloudsimplus` (`cd ../cloudsimplus && ./mvnw install`). If the build fails on missing or out-of-date framework classes, rebuild `../cloudsimplus` first. - Logging uses SLF4J + Logback. Examples can lower verbosity with `Log.setLevel(ch.qos.logback.classic.Level.WARN)` (`org.cloudsimplus.util.Log`). diff --git a/pom.xml b/pom.xml index 0c8d724..4116ad4 100755 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ The module version defines the version of CloudSim Plus to be used. This way, it cannot be a version number which doesn't exist for CloudSim Plus. --> - 9.0.0-snapshot + 9.0.0-SNAPSHOT CloudSim Plus Examples @@ -176,6 +176,26 @@ + + + + Central Portal Snapshots + central-portal-snapshots + https://central.sonatype.com/repository/maven-snapshots/ + + false + + + true + + + + org.cloudsimplus