diff --git a/buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvmCompiler.kt b/buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvmCompiler.kt
index 0944be06e..fb5761458 100644
--- a/buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvmCompiler.kt
+++ b/buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvmCompiler.kt
@@ -46,12 +46,12 @@ object CoreJvmCompiler {
/**
* The version used to in the build classpath.
*/
- const val dogfoodingVersion = "2.0.0-SNAPSHOT.053"
+ const val dogfoodingVersion = "2.0.0-SNAPSHOT.054"
/**
* The version to be used for integration tests.
*/
- const val version = "2.0.0-SNAPSHOT.053"
+ const val version = "2.0.0-SNAPSHOT.054"
/**
* The ID of the Gradle plugin.
diff --git a/buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt b/buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt
index be8a3b7fa..5e443139b 100644
--- a/buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt
+++ b/buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt
@@ -34,8 +34,8 @@ package io.spine.dependency.local
@Suppress("ConstPropertyName", "unused")
object ToolBase {
const val group = Spine.toolsGroup
- const val version = "2.0.0-SNAPSHOT.372"
- const val dogfoodingVersion = "2.0.0-SNAPSHOT.372"
+ const val version = "2.0.0-SNAPSHOT.373"
+ const val dogfoodingVersion = "2.0.0-SNAPSHOT.373"
const val lib = "$group:tool-base:$version"
const val classicCodegen = "$group:classic-codegen:$version"
diff --git a/buildSrc/src/main/kotlin/io/spine/dependency/local/Validation.kt b/buildSrc/src/main/kotlin/io/spine/dependency/local/Validation.kt
index a76093c13..5743f9fcf 100644
--- a/buildSrc/src/main/kotlin/io/spine/dependency/local/Validation.kt
+++ b/buildSrc/src/main/kotlin/io/spine/dependency/local/Validation.kt
@@ -36,7 +36,7 @@ object Validation {
/**
* The version of the Validation library artifacts.
*/
- const val version = "2.0.0-SNAPSHOT.394"
+ const val version = "2.0.0-SNAPSHOT.395"
/**
* The last version of Validation compatible with ProtoData.
diff --git a/dependencies.md b/dependencies.md
index 0da6c75ab..44f3957cd 100644
--- a/dependencies.md
+++ b/dependencies.md
@@ -1,6 +1,6 @@
-# Dependencies of `io.spine.tools:validation-context:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine.tools:validation-context:2.0.0-SNAPSHOT.396`
## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -1139,14 +1139,14 @@
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:36:39 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:35 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine.tools:validation-context-tests:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine.tools:validation-context-tests:2.0.0-SNAPSHOT.396`
## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -1731,28 +1731,28 @@ This report was generated on **Mon Feb 23 16:36:39 WET 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:34 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine.tools:validation-docs:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine.tools:validation-docs:2.0.0-SNAPSHOT.396`
## Runtime
## Compile, tests, and tooling
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:15:05 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:33 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine.tools:validation-gradle-plugin:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine.tools:validation-gradle-plugin:2.0.0-SNAPSHOT.396`
## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -2841,14 +2841,14 @@ This report was generated on **Mon Feb 23 16:15:05 WET 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:34 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine.tools:validation-java:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine.tools:validation-java:2.0.0-SNAPSHOT.396`
## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -3935,14 +3935,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:34 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine.tools:validation-java-bundle:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine.tools:validation-java-bundle:2.0.0-SNAPSHOT.396`
## Runtime
1. **Group** : com.google.auto.service. **Name** : auto-service-annotations. **Version** : 1.1.1.
@@ -4005,14 +4005,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:36:37 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:34 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine:validation-jvm-runtime:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine:validation-jvm-runtime:2.0.0-SNAPSHOT.396`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -4845,14 +4845,14 @@ This report was generated on **Mon Feb 23 16:36:37 WET 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:34 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine.tools:validation-ksp:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine.tools:validation-ksp:2.0.0-SNAPSHOT.396`
## Runtime
1. **Group** : com.google.auto.service. **Name** : auto-service-annotations. **Version** : 1.1.1.
@@ -5781,14 +5781,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:34 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine.tools:validation-consumer:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine.tools:validation-consumer:2.0.0-SNAPSHOT.396`
## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -6379,14 +6379,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:34 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine.tools:validation-consumer-dependency:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine.tools:validation-consumer-dependency:2.0.0-SNAPSHOT.396`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -6897,14 +6897,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:34 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine.tools:validation-extensions:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine.tools:validation-extensions:2.0.0-SNAPSHOT.396`
## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -7588,14 +7588,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:35 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine.tools:validation-runtime:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine.tools:validation-runtime:2.0.0-SNAPSHOT.396`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -8217,14 +8217,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:35 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine.tools:validation-validating:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine.tools:validation-validating:2.0.0-SNAPSHOT.396`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -8889,14 +8889,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:35 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine.tools:validation-validator:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine.tools:validation-validator:2.0.0-SNAPSHOT.396`
## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -9647,14 +9647,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:34 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine.tools:validation-validator-dependency:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine.tools:validation-validator-dependency:2.0.0-SNAPSHOT.396`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -9924,14 +9924,14 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:34 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine.tools:validation-vanilla:2.0.0-SNAPSHOT.395`
+# Dependencies of `io.spine.tools:validation-vanilla:2.0.0-SNAPSHOT.396`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -10282,6 +10282,6 @@ This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Mon Feb 23 16:36:38 WET 2026** using
+This report was generated on **Mon Feb 23 18:35:34 WET 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
\ No newline at end of file
diff --git a/docs/_examples b/docs/_examples
index 8c32da4ed..12c323626 160000
--- a/docs/_examples
+++ b/docs/_examples
@@ -1 +1 @@
-Subproject commit 8c32da4ed2c1ea4a04e391f3517ccb6625a51fa9
+Subproject commit 12c323626a43c1d72662928d38aeb9e7f38cd791
diff --git a/docs/content/docs/validation/01-getting-started/adding-to-build.md b/docs/content/docs/validation/01-getting-started/adding-to-build.md
index fa17d4d62..a1570dd62 100644
--- a/docs/content/docs/validation/01-getting-started/adding-to-build.md
+++ b/docs/content/docs/validation/01-getting-started/adding-to-build.md
@@ -13,9 +13,49 @@ pluginManagement {
}
}
```
-The repositories at https://europe-maven.pkg.dev are needed for obtaining the versions of
+The repositories at https://europe-maven.pkg.dev are needed to obtain versions of
Spine tools and libraries that are not yet published to the Gradle Plugin Portal or Maven Central.
+## Optional: adding Spine-specific Maven repositories
+
+Similar to the plugin repositories, a project using Validation may need artifacts that
+are not yet published to Maven Central. Our Gradle plugins take care of this by adding the
+necessary repositories to the project when applied. Normally, you don't need to add
+repositories manually when using the plugins.
+
+**But there is one exception to this rule:** if you use centralized repository management
+in your `settings.gradle.kts` file and the `repositoriesMode` is set to
+a value other than `PREFER_PROJECT`. For example:
+
+```kotlin
+dependencyResolutionManagement {
+ repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
+ repositories {
+ mavenLocal()
+ mavenCentral()
+ // Other repositories...
+ }
+}
+```
+In such a case, an attempt to add a repository at the project level would fail the build,
+so our plugins do not add the repositories to avoid the failure. Therefore,
+you need to add the repositories manually to the `repositories` block in `settings.gradle.kts`
+using the `maven()` calls as shown in the snippet below.
+
+```kotlin
+dependencyResolutionManagement {
+ repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
+ repositories {
+ mavenLocal()
+ mavenCentral()
+ // Spine-specific repositories:
+ maven("https://europe-maven.pkg.dev/spine-event-engine/snapshots")
+ maven("https://europe-maven.pkg.dev/spine-event-engine/releases")
+ // Other repositories...
+ }
+}
+```
+
## Adding Gradle plugins to the build
Spine Validation can be added to a JVM project in two different ways.
@@ -36,7 +76,7 @@ Add the Validation plugin to the build.
```kotlin
plugins {
module
- id("io.spine.validation") version "2.0.0-SNAPSHOT.395"
+ id("io.spine.validation") version "2.0.0-SNAPSHOT.396"
}
```
@@ -46,7 +86,7 @@ plugins {
> the subprojects of the multi-module examples project.
> For more details on this, clone the [Validation examples repository][validation-examples].
-The plugin wires Validation into Spine Compiler, adds the Validation Java codegen bundle,
+The plugin wires Validation into the Spine Compiler, adds the Validation Java codegen bundle,
and brings in the JVM runtime dependency automatically.
@@ -59,7 +99,7 @@ adding Validation directly. CoreJvm brings in the Validation Gradle plugin for y
```kotlin
plugins {
module
- id("io.spine.core-jvm") version "2.0.0-SNAPSHOT.053"
+ id("io.spine.core-jvm") version "2.0.0-SNAPSHOT.054"
}
```
diff --git a/pom.xml b/pom.xml
index 2ae9cabf3..e9fa29fdd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@ all modules and does not describe the project structure per-subproject.
-->
io.spine.tools
validation
-2.0.0-SNAPSHOT.395
+2.0.0-SNAPSHOT.396
2015
@@ -68,7 +68,7 @@ all modules and does not describe the project structure per-subproject.
io.spine
spine-validation-jvm-runtime
- 2.0.0-SNAPSHOT.394
+ 2.0.0-SNAPSHOT.395
compile
@@ -98,7 +98,7 @@ all modules and does not describe the project structure per-subproject.
io.spine.tools
jvm-tools
- 2.0.0-SNAPSHOT.372
+ 2.0.0-SNAPSHOT.373
compile
@@ -287,12 +287,12 @@ all modules and does not describe the project structure per-subproject.
io.spine.tools
core-jvm-gradle-plugins
- 2.0.0-SNAPSHOT.053
+ 2.0.0-SNAPSHOT.054
io.spine.tools
core-jvm-routing
- 2.0.0-SNAPSHOT.053
+ 2.0.0-SNAPSHOT.054
io.spine.tools
@@ -307,7 +307,7 @@ all modules and does not describe the project structure per-subproject.
io.spine.tools
validation-java-bundle
- 2.0.0-SNAPSHOT.394
+ 2.0.0-SNAPSHOT.395
net.sourceforge.pmd
diff --git a/version.gradle.kts b/version.gradle.kts
index 5254c065e..4b668a79c 100644
--- a/version.gradle.kts
+++ b/version.gradle.kts
@@ -29,4 +29,4 @@
*
* For Spine-based dependencies please see [io.spine.dependency.local.Spine].
*/
-val validationVersion by extra("2.0.0-SNAPSHOT.395")
+val validationVersion by extra("2.0.0-SNAPSHOT.396")