Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,15 @@ package io.spine.tools.validation
* Each validation option declares the supported placeholders. Take a look at
* `options.proto` for examples.
*
* Important Note: we have the same [enum][io.spine.validation.RuntimeErrorPlaceholder]
* ### Important Note
*
* We have the same items in this enum as in `io.spine.validation.RuntimeErrorPlaceholder`
* in the runtime library, which is exactly as this one. Please keep them in sync.
* This duplication is done intentionally to prevent clash between the runtime library,
* which is added to the classpath of the Compiler and the runtime library, which is part
* of the Compiler itself because it is a part of Spine. As we complete our migration
* of validation to codegen, the runtime library will either be significantly simplified,
* or even its content may be moved to `base`. Then, the duplicate enum should be removed.
*
* @see io.spine.validation.TemplateString
* @see io.spine.validation.RuntimeErrorPlaceholder
*/
public enum class ErrorPlaceholder(public val value: String) {

Expand Down
60 changes: 30 additions & 30 deletions dependencies.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


# Dependencies of `io.spine.tools:validation-context:2.0.0-SNAPSHOT.380`
# Dependencies of `io.spine.tools:validation-context:2.0.0-SNAPSHOT.381`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
Expand Down Expand Up @@ -1139,14 +1139,14 @@

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Thu Dec 18 20:32:39 WET 2025** using
This report was generated on **Fri Dec 19 15:26:30 WET 2025** 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.380`
# Dependencies of `io.spine.tools:validation-context-tests:2.0.0-SNAPSHOT.381`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
Expand Down Expand Up @@ -2233,14 +2233,14 @@ This report was generated on **Thu Dec 18 20:32:39 WET 2025** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Thu Dec 18 20:32:39 WET 2025** using
This report was generated on **Fri Dec 19 15:26:30 WET 2025** 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.380`
# Dependencies of `io.spine.tools:validation-gradle-plugin:2.0.0-SNAPSHOT.381`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
Expand Down Expand Up @@ -3309,14 +3309,14 @@ This report was generated on **Thu Dec 18 20:32:39 WET 2025** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Thu Dec 18 20:32:39 WET 2025** using
This report was generated on **Fri Dec 19 15:26:30 WET 2025** 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.380`
# Dependencies of `io.spine.tools:validation-java:2.0.0-SNAPSHOT.381`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
Expand Down Expand Up @@ -4403,14 +4403,14 @@ This report was generated on **Thu Dec 18 20:32:39 WET 2025** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Thu Dec 18 20:32:39 WET 2025** using
This report was generated on **Fri Dec 19 15:26:30 WET 2025** 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.380`
# Dependencies of `io.spine.tools:validation-java-bundle:2.0.0-SNAPSHOT.381`

## Runtime
1. **Group** : com.google.auto.service. **Name** : auto-service-annotations. **Version** : 1.1.1.
Expand Down Expand Up @@ -5188,14 +5188,14 @@ This report was generated on **Thu Dec 18 20:32:39 WET 2025** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Thu Dec 18 20:32:39 WET 2025** using
This report was generated on **Fri Dec 19 15:26:30 WET 2025** 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.380`
# Dependencies of `io.spine:validation-jvm-runtime:2.0.0-SNAPSHOT.381`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -6044,14 +6044,14 @@ This report was generated on **Thu Dec 18 20:32:39 WET 2025** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Thu Dec 18 20:32:39 WET 2025** using
This report was generated on **Fri Dec 19 15:26:30 WET 2025** 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.380`
# Dependencies of `io.spine.tools:validation-ksp:2.0.0-SNAPSHOT.381`

## Runtime
1. **Group** : com.google.auto.service. **Name** : auto-service-annotations. **Version** : 1.1.1.
Expand Down Expand Up @@ -6996,14 +6996,14 @@ This report was generated on **Thu Dec 18 20:32:39 WET 2025** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Thu Dec 18 20:32:39 WET 2025** using
This report was generated on **Fri Dec 19 15:26:30 WET 2025** 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.380`
# Dependencies of `io.spine.tools:validation-consumer:2.0.0-SNAPSHOT.381`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
Expand Down Expand Up @@ -8090,14 +8090,14 @@ This report was generated on **Thu Dec 18 20:32:39 WET 2025** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Thu Dec 18 20:32:39 WET 2025** using
This report was generated on **Fri Dec 19 15:26:30 WET 2025** 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.380`
# Dependencies of `io.spine.tools:validation-consumer-dependency:2.0.0-SNAPSHOT.381`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -9087,14 +9087,14 @@ This report was generated on **Thu Dec 18 20:32:39 WET 2025** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Thu Dec 18 20:32:39 WET 2025** using
This report was generated on **Fri Dec 19 15:26:30 WET 2025** 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.380`
# Dependencies of `io.spine.tools:validation-extensions:2.0.0-SNAPSHOT.381`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
Expand Down Expand Up @@ -10237,14 +10237,14 @@ This report was generated on **Thu Dec 18 20:32:39 WET 2025** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Thu Dec 18 20:32:39 WET 2025** using
This report was generated on **Fri Dec 19 15:26:30 WET 2025** 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.380`
# Dependencies of `io.spine.tools:validation-runtime:2.0.0-SNAPSHOT.381`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -11234,14 +11234,14 @@ This report was generated on **Thu Dec 18 20:32:39 WET 2025** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Thu Dec 18 20:32:39 WET 2025** using
This report was generated on **Fri Dec 19 15:26:30 WET 2025** 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.380`
# Dependencies of `io.spine.tools:validation-validating:2.0.0-SNAPSHOT.381`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -12235,14 +12235,14 @@ This report was generated on **Thu Dec 18 20:32:39 WET 2025** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Thu Dec 18 20:32:39 WET 2025** using
This report was generated on **Fri Dec 19 15:26:30 WET 2025** 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.380`
# Dependencies of `io.spine.tools:validation-validator:2.0.0-SNAPSHOT.381`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
Expand Down Expand Up @@ -13333,14 +13333,14 @@ This report was generated on **Thu Dec 18 20:32:39 WET 2025** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Thu Dec 18 20:32:39 WET 2025** using
This report was generated on **Fri Dec 19 15:26:30 WET 2025** 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.380`
# Dependencies of `io.spine.tools:validation-validator-dependency:2.0.0-SNAPSHOT.381`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -14165,14 +14165,14 @@ This report was generated on **Thu Dec 18 20:32:39 WET 2025** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Thu Dec 18 20:32:39 WET 2025** using
This report was generated on **Fri Dec 19 15:26:30 WET 2025** 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.380`
# Dependencies of `io.spine.tools:validation-vanilla:2.0.0-SNAPSHOT.381`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -15028,6 +15028,6 @@ This report was generated on **Thu Dec 18 20:32:39 WET 2025** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Thu Dec 18 20:32:39 WET 2025** using
This report was generated on **Fri Dec 19 15:26:30 WET 2025** 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).
36 changes: 36 additions & 0 deletions jvm-runtime/src/main/java/io/spine/validate/FieldAwareMessage.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* Copyright 2025, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package io.spine.validate;

/**
* Provided for backward compatibility.
*
* @deprecated Use {@link io.spine.validation.FieldAwareMessage} instead.
*/
@Deprecated
public interface FieldAwareMessage extends io.spine.validation.FieldAwareMessage {
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ all modules and does not describe the project structure per-subproject.
-->
<groupId>io.spine.tools</groupId>
<artifactId>validation</artifactId>
<version>2.0.0-SNAPSHOT.380</version>
<version>2.0.0-SNAPSHOT.381</version>

<inceptionYear>2015</inceptionYear>

Expand Down
2 changes: 1 addition & 1 deletion version.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
*
* For Spine-based dependencies please see [io.spine.dependency.local.Spine].
*/
val validationVersion by extra("2.0.0-SNAPSHOT.380")
val validationVersion by extra("2.0.0-SNAPSHOT.381")
Loading