Repository: micronaut-projects/micronaut-test
Pull request #958 (2024-02-19 21:06:51)

fix(deps): update dependency io.micronaut.beanvalidation:micronaut-hibernate-validator to v4.2.1
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [io.micronaut.beanvalidation:micronaut-hibernate-validator](https://micronaut.io) ([source](https://togithub.com/micronaut-projects/micronaut-hibernate-validator)) | `4.2.0` -> `4.2.1` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.micronaut.beanvalidation:micronaut-hibernate-validator/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.micronaut.beanvalidation:micronaut-hibernate-validator/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.micronaut.beanvalidation:micronaut-hibernate-validator/4.2.0/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.micronaut.beanvalidation:micronaut-hibernate-validator/4.2.0/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>micronaut-projects/micronaut-hibernate-validator (io.micronaut.beanvalidation:micronaut-hibernate-validator)</summary>

### [`v4.2.1`](https://togithub.com/micronaut-projects/micronaut-hibernate-validator/releases/tag/v4.2.1): Micronaut Hibernate Validator 4.2.1

<!-- Release notes generated using configuration in .github/release.yml at 4.2.x -->

#### What's Changed

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### Bug Fixes 🐞

-   fix: add [@&#8203;Primary](https://togithub.com/Primary) annotation for DefaultConstraintValidatorFactory by [@&#8203;sdelamo](https://togithub.com/sdelamo) in [https://github.com/micronaut-projects/micronaut-hibernate-validator/pull/370](https://togithub.com/micronaut-projects/micronaut-hibernate-validator/pull/370)

##### CI ⚙️Build 🐘

-   chore(deps): update gradle/gradle-build-action action to v3 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-hibernate-validator/pull/367](https://togithub.com/micronaut-projects/micronaut-hibernate-validator/pull/367)
-   chore(deps): update dependency gradle to v8.6 - autoclosed by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-hibernate-validator/pull/368](https://togithub.com/micronaut-projects/micronaut-hibernate-validator/pull/368)
-   chore(deps): update gradle/wrapper-validation-action action to v2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-hibernate-validator/pull/365](https://togithub.com/micronaut-projects/micronaut-hibernate-validator/pull/365)

##### GraalVM

-   chore(deps): update graalvm/setup-graalvm action to v1.1.7 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-hibernate-validator/pull/366](https://togithub.com/micronaut-projects/micronaut-hibernate-validator/pull/366)

##### Micronaut Build Plugin

-   chore(deps): update plugin io.micronaut.build.shared.settings to v6.6.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-hibernate-validator/pull/359](https://togithub.com/micronaut-projects/micronaut-hibernate-validator/pull/359)

**Full Changelog**: https://github.com/micronaut-projects/micronaut-hibernate-validator/compare/v4.2.0...v4.2.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 10pm" in timezone Europe/Prague, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/micronaut-projects/micronaut-test).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->


sonarcloud[bot]: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=micronaut-projects_micronaut-test&pullRequest=958) **Quality Gate passed**  
Issues  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=958&resolved=false&inNewCodePeriod=true)

Measures  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=micronaut-projects_micronaut-test&pullRequest=958&resolved=false&inNewCodePeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/no-data-16px.png '') No data about Coverage  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/no-data-16px.png '') No data about Duplication  
  
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=micronaut-projects_micronaut-test&pullRequest=958)



Patch:
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index 8ca81050..3eb31524 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -45,7 +45,7 @@ jobs:
           fetch-depth: 0
 
       - name: "🔧 Setup GraalVM CE"
-        uses: graalvm/setup-graalvm@v1.1.7
+        uses: graalvm/setup-graalvm@v1.1.8
         with:
           distribution: 'graalvm'
           java-version: ${{ matrix.java }}
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 836521fa..0dd00a27 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -1,6 +1,6 @@
 [versions]
-micronaut = "4.3.7"
-micronaut-platform = "4.3.2"
+micronaut = "4.3.10"
+micronaut-platform = "4.3.5"
 micronaut-docs = "2.0.0"
 groovy = "4.0.15"
 
@@ -18,7 +18,7 @@ graal-svm = "23.1.2"
 
 micronaut-test = "4.2.1"
 micronaut-data = "4.6.2"
-micronaut-hibernate-validator = "4.2.0"
+micronaut-hibernate-validator = "4.2.1"
 micronaut-logging = "1.1.2"
 micronaut-r2dbc = "5.3.0"
 micronaut-serde = "2.8.1"
@@ -27,7 +27,7 @@ micronaut-sql = "5.5.1"
 micronaut-reactor = "3.2.1"
 micronaut-test-resources = "2.3.3"
 
-micronaut-gradle-plugin = "4.3.2"
+micronaut-gradle-plugin = "4.3.4"
 
 [libraries]
 # Core
@@ -53,6 +53,11 @@ managed-mockk = { module = "io.mockk:mockk", version.ref = "managed-mockk" }
 managed-kotest-assertions-core-jvm = { module = "io.kotest:kotest-assertions-core-jvm", version.ref = "managed-kotest" }
 managed-kotest-runner-junit5-jvm = { module = "io.kotest:kotest-runner-junit5-jvm", version.ref = "managed-kotest" }
 
+managed-junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "managed-junit" }
+managed-junit-jupiter-params = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "managed-junit" }
+managed-junit-jupiter-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "managed-junit" }
+managed-junit-vintage-engine = { module = "org.junit.vintage:junit-vintage-engine", version.ref = "managed-junit" }
+
 # BOMs
 boms-junit = { module = "org.junit:junit-bom", version.ref = "managed-junit" }
 boms-kotest = { module = "io.kotest:kotest-bom", version.ref = "managed-kotest" }
@@ -65,9 +70,6 @@ graal-svm = { module = "org.graalvm.nativeimage:svm", version.ref = "graal-svm"
 
 spock-core = { module = "org.spockframework:spock-core" }
 jakarta-inject-api = { module = "jakarta.inject:jakarta.inject-api" }
-junit-jupiter-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "managed-junit" }
-junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "managed-junit" }
-junit-jupiter-params = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "managed-junit" }
 rest-assured = { module = "io.rest-assured:rest-assured" }
 kotlin-stdlib-jdk8 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }
 kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
diff --git a/settings.gradle b/settings.gradle
index 46d16e3d..ce81c9ce 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -6,7 +6,7 @@ pluginManagement {
 }
 
 plugins {
-    id("io.micronaut.build.shared.settings") version "6.6.2"
+    id("io.micronaut.build.shared.settings") version "6.6.4"
 }
 
 enableFeaturePreview 'TYPESAFE_PROJECT_ACCESSORS'


Test patch:
diff --git a/test-core/build.gradle b/test-core/build.gradle
index 4473256d..c820dddc 100644
--- a/test-core/build.gradle
+++ b/test-core/build.gradle
@@ -5,7 +5,7 @@ plugins {
 
 dependencies {
     compileOnly(mn.micronaut.http.server)
-    compileOnly(libs.junit.jupiter.api)
+    compileOnly(libs.managed.junit.jupiter.api)
     compileOnly(mnData.micronaut.data.connection.jdbc)
     compileOnly(mnR2dbc.r2dbc.spi)
     compileOnly(mn.reactor)
diff --git a/test-junit5/build.gradle b/test-junit5/build.gradle
index 9b9e1b02..aac010e4 100644
--- a/test-junit5/build.gradle
+++ b/test-junit5/build.gradle
@@ -34,18 +34,21 @@ tasks.withType(Jar).configureEach {
 }
 
 dependencies {
+
+    compileOnly(libs.graal.svm)
+
     api projects.micronautTestCore
     api(mn.micronaut.inject)
-    api(libs.junit.jupiter.api)
+    api(libs.managed.junit.jupiter.api)
+
     implementation(mn.micronaut.context)
-    compileOnly(libs.graal.svm)
 
     testCompileOnly(mn.micronaut.inject)
 
     testAnnotationProcessor(mn.micronaut.inject.java)
     testAnnotationProcessor(mn.micronaut.graal)
 
-    testImplementation(libs.junit.jupiter.params)
+    testImplementation(libs.managed.junit.jupiter.params)
     testImplementation(mn.micronaut.http.server.netty)
     testImplementation(mn.micronaut.http.client)
     testImplementation(libs.managed.mockito.junit.jupiter)
@@ -58,7 +61,7 @@ dependencies {
     testRuntimeOnly(mnSql.micronaut.jdbc.tomcat)
     testRuntimeOnly(mnSql.h2)
     testRuntimeOnly(mnSerde.micronaut.serde.jackson)
-    testRuntimeOnly(libs.junit.jupiter.engine)
+    testRuntimeOnly(libs.managed.junit.jupiter.engine)
     testRuntimeOnly(testFixtures(projects.micronautTestCore))
 }
 
diff --git a/test-kotest5/build.gradle b/test-kotest5/build.gradle
index d9e101a3..3d780707 100644
--- a/test-kotest5/build.gradle
+++ b/test-kotest5/build.gradle
@@ -5,6 +5,9 @@ plugins {
 }
 
 dependencies {
+
+    compileOnly(libs.jakarta.inject.api)
+
     api projects.micronautTestCore
     api(mn.micronaut.context)
     api(platform(libs.boms.kotest))
@@ -15,27 +18,23 @@ dependencies {
     implementation(libs.kotlin.stdlib.jdk8)
     implementation(libs.kotlin.reflect)
 
-    compileOnly(libs.jakarta.inject.api)
-
-    testCompileOnly(libs.jakarta.inject.api)
-
     kaptTest(platform(mn.micronaut.core.bom))
     kaptTest(mn.micronaut.inject.java)
 
-    testImplementation(libs.managed.mockk)
+    testCompileOnly(libs.jakarta.inject.api)
 
+    testImplementation(libs.managed.mockk)
     testImplementation(mn.micronaut.http.server.netty)
     testImplementation(mn.micronaut.http.client)
-
     testImplementation(mnData.micronaut.data.tx)
     testImplementation(mnData.micronaut.data.hibernate.jpa)
+    testImplementation(mn.snakeyaml)
+    testImplementation(libs.managed.kotest.assertions.core.jvm)
 
     testRuntimeOnly(mnLogging.logback.classic)
     testRuntimeOnly(mnSql.micronaut.jdbc.tomcat)
     testRuntimeOnly(mnSql.h2)
     testRuntimeOnly(mnSerde.micronaut.serde.jackson)
-    testImplementation(mn.snakeyaml)
-    testImplementation(libs.managed.kotest.assertions.core.jvm)
     testRuntimeOnly(testFixtures(projects.micronautTestCore))
 }
 
diff --git a/test-rest-assured/build.gradle b/test-rest-assured/build.gradle
index f66d9ccd..2cc1a9e6 100644
--- a/test-rest-assured/build.gradle
+++ b/test-rest-assured/build.gradle
@@ -4,6 +4,7 @@ plugins {
 
 dependencies {
     annotationProcessor(mn.micronaut.inject.java)
+
     api projects.micronautTestCore
     api(platform(libs.boms.rest.assured))
     api(mn.micronaut.inject)
@@ -11,15 +12,17 @@ dependencies {
         exclude group:"org.codehaus.groovy", module:"groovy"
     }
     implementation(mn.micronaut.context)
-
     implementation(libs.groovy)
-    testCompileOnly(mn.micronaut.inject)
 
     testAnnotationProcessor(mn.micronaut.inject.java)
-    testImplementation(libs.junit.jupiter.api)
+
+    testCompileOnly(mn.micronaut.inject)
+
+    testImplementation(libs.managed.junit.jupiter.api)
     testImplementation projects.micronautTestJunit5
     testImplementation(mn.micronaut.http.server.netty)
     testImplementation(libs.managed.hamcrest)
-    testRuntimeOnly(libs.junit.jupiter.engine)
+
+    testRuntimeOnly(libs.managed.junit.jupiter.engine)
     testRuntimeOnly(mnSerde.micronaut.serde.jackson)
 }
diff --git a/test-spock/build.gradle b/test-spock/build.gradle
index cefadcc2..333089de 100644
--- a/test-spock/build.gradle
+++ b/test-spock/build.gradle
@@ -3,23 +3,25 @@ plugins {
 }
 
 dependencies {
+
+    compileOnly(libs.jakarta.inject.api)
+
     api(platform(libs.boms.spock))
     api projects.micronautTestCore
     api(mn.micronaut.inject)
     api(libs.spock.core) {
         exclude group: "org.codehaus.groovy", module: "groovy-all"
     }
+
     implementation(mn.micronaut.context)
-    compileOnly(libs.jakarta.inject.api)
 
     testCompileOnly(libs.jakarta.inject.api)
+
     testImplementation(mn.micronaut.inject.groovy)
     testImplementation(mn.micronaut.http.server.netty)
     testImplementation(mn.micronaut.http.client)
-
     testImplementation(mnSql.micronaut.jdbc.hikari)
     testImplementation(libs.micronaut.hibernate.validator)
-//    testImplementation(mn.micronaut.hibernate.gorm)
     testImplementation(mnSpring.micronaut.spring)
     testImplementation(mn.snakeyaml)
     testImplementation(mnReactor.micronaut.reactor)
diff --git a/test-suite-at-sql-jpa/build.gradle.kts b/test-suite-at-sql-jpa/build.gradle.kts
index b2f01bfa..e9b52047 100644
--- a/test-suite-at-sql-jpa/build.gradle.kts
+++ b/test-suite-at-sql-jpa/build.gradle.kts
@@ -8,21 +8,22 @@ repositories {
 
 dependencies {
     annotationProcessor(mn.micronaut.inject.java)
-    testAnnotationProcessor(mn.micronaut.inject.java)
-
     annotationProcessor(mnData.micronaut.data.processor)
+
     implementation(mnData.micronaut.data.hibernate.jpa)
     implementation(mnSql.micronaut.jdbc.hikari)
-    runtimeOnly(mnSql.postgresql)
 
+    runtimeOnly(mnSql.postgresql)
     runtimeOnly(mnLogging.logback.classic)
 
-    testImplementation(libs.junit.jupiter.api)
-    testImplementation(projects.micronautTestJunit5)
-    testRuntimeOnly(libs.junit.jupiter.engine)
+    testAnnotationProcessor(mn.micronaut.inject.java)
 
+    testImplementation(libs.managed.junit.jupiter.api)
+    testImplementation(projects.micronautTestJunit5)
     testImplementation(mnTestResources.testcontainers.postgres)
+    testRuntimeOnly(libs.managed.junit.jupiter.engine)
 }
+
 tasks.withType<Test> {
     useJUnitPlatform()
 }