OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
21.98k stars 6.6k forks source link

[BUG] java.lang.NoSuchMethodError: org.yaml.snakeyaml.constructor.SafeConstructor: method 'void <init>()' not found in gradle plugin when other gradle plugin uses snake yaml 2.0 #15876

Open JotBePunkt opened 1 year ago

JotBePunkt commented 1 year ago

Bug Report Checklist

Description

When using the latest gradle plugin (6.6.0) together with another plugin that uses snake yaml 2.0, the following error message occurs:

17:37:05: Executing 'build'...

> Task :openApiGenerate FAILED
Error snake-parsing yaml content
java.lang.NoSuchMethodError: org.yaml.snakeyaml.constructor.SafeConstructor: method 'void <init>()' not found
    at io.swagger.v3.parser.util.DeserializationUtils$CustomSnakeYamlConstructor.<init>(DeserializationUtils.java:393)
    at io.swagger.v3.parser.util.DeserializationUtils.readYamlTree(DeserializationUtils.java:207)
    at io.swagger.v3.parser.util.DeserializationUtils.deserializeIntoTree(DeserializationUtils.java:143)
    at io.swagger.v3.parser.OpenAPIV3Parser.readContents(OpenAPIV3Parser.java:165)
    at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:94)
    at io.swagger.parser.OpenAPIParser.readLocation(OpenAPIParser.java:16)
    at org.openapitools.codegen.config.CodegenConfigurator.toContext(CodegenConfigurator.java:589)
    at org.openapitools.codegen.config.CodegenConfigurator.toClientOptInput(CodegenConfigurator.java:647)
    at org.openapitools.generator.gradle.plugin.tasks.GenerateTask.doWork(GenerateTask.kt:825)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
    at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:242)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
    at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:227)
    at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:210)
    at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:193)
    at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:166)
    at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:105)
    at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44)
    at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:59)
    at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:56)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
    at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:56)
    at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:44)
    at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:67)
    at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:37)
    at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)
    at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)
    at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
    at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:50)
    at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:28)
    at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.executeDelegateBroadcastingChanges(CaptureStateAfterExecutionStep.java:100)
    at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:72)
    at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:50)
    at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:40)
    at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:29)
    at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:166)
    at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:70)
    at org.gradle.internal.Either$Right.fold(Either.java:175)
    at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:59)
    at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:68)
    at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:46)
    at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:36)
    at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:25)
    at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36)
    at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:91)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:55)
    at java.base/java.util.Optional.orElseGet(Optional.java:364)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)
    at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:37)
    at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:65)
    at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:36)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
    at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:76)
    at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:37)
    at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:94)
    at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:49)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:71)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:45)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNonEmptySources(SkipEmptyWorkStep.java:177)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:81)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:53)
    at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:32)
    at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:21)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
    at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:36)
    at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:23)
    at org.gradle.internal.execution.steps.CleanupStaleOutputsStep.execute(CleanupStaleOutputsStep.java:75)
    at org.gradle.internal.execution.steps.CleanupStaleOutputsStep.execute(CleanupStaleOutputsStep.java:41)
    at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:32)
    at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:287)
    at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
    at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:21)
    at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)
    at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)
    at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:47)
    at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:34)
    at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:64)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:146)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:135)
    at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
    at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
    at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
    at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:337)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:324)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:317)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:303)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)
1 actionable task: 1 executed

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':openApiGenerate'.
> There were issues with the specification. The option can be disabled via validateSpec (Maven/Gradle) or --skip-validate-spec (CLI).
   | Error count: 1, Warning count: 2
  Errors: 
    -org.yaml.snakeyaml.constructor.SafeConstructor: method 'void <init>()' not found
  Warnings: 
    -org.yaml.snakeyaml.constructor.SafeConstructor: method 'void <init>()' not found

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 859ms
17:37:06: Execution finished 'build'.
openapi-generator version

6.6.0

OpenAPI declaration file content or url

(not relevant)

Generation Details

Example build.gradle:

plugins {
    id("java")
    id("com.google.cloud.tools.jib") version "3.3.2"
    id("org.openapi.generator") version "6.6.0"
}

with this configuration, the build has the following dependencies: (using gradle buildEnvironment

17:38:17: Executing 'buildEnvironment'...

> Task :buildEnvironment

------------------------------------------------------------
Root project 'device-management' - Device Management Implementation
------------------------------------------------------------

classpath
+--- com.google.cloud.tools.jib:com.google.cloud.tools.jib.gradle.plugin:3.3.2
|    \--- com.google.cloud.tools:jib-gradle-plugin:3.3.2
|         +--- com.google.http-client:google-http-client:1.42.2
|         |    +--- org.apache.httpcomponents:httpclient:4.5.13
|         |    |    +--- org.apache.httpcomponents:httpcore:4.4.13 -> 4.4.15
|         |    |    +--- commons-logging:commons-logging:1.2
|         |    |    \--- commons-codec:commons-codec:1.11
|         |    +--- org.apache.httpcomponents:httpcore:4.4.15
|         |    +--- com.google.code.findbugs:jsr305:3.0.2
|         |    +--- com.google.guava:guava:30.1.1-android -> 31.1-jre
|         |    |    +--- com.google.guava:failureaccess:1.0.1
|         |    |    +--- com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
|         |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|         |    |    +--- org.checkerframework:checker-qual:3.12.0 -> 3.19.0
|         |    |    +--- com.google.errorprone:error_prone_annotations:2.11.0
|         |    |    \--- com.google.j2objc:j2objc-annotations:1.3
|         |    +--- com.google.j2objc:j2objc-annotations:1.3
|         |    +--- io.opencensus:opencensus-api:0.31.1
|         |    |    \--- io.grpc:grpc-context:1.27.2
|         |    \--- io.opencensus:opencensus-contrib-http-util:0.31.1
|         |         +--- io.opencensus:opencensus-api:0.31.1 (*)
|         |         \--- com.google.guava:guava:29.0-android -> 31.1-jre (*)
|         +--- com.google.http-client:google-http-client-apache-v2:1.42.2
|         |    +--- com.google.http-client:google-http-client:1.42.2 (*)
|         |    +--- org.apache.httpcomponents:httpclient:4.5.13 (*)
|         |    \--- org.apache.httpcomponents:httpcore:4.4.15
|         +--- com.google.auth:google-auth-library-oauth2-http:1.10.0
|         |    +--- com.google.auto.value:auto-value-annotations:1.9
|         |    +--- com.google.code.findbugs:jsr305:3.0.2
|         |    +--- com.google.auth:google-auth-library-credentials:1.10.0
|         |    +--- com.google.http-client:google-http-client:1.42.2 (*)
|         |    +--- com.google.http-client:google-http-client-gson:1.42.2
|         |    |    +--- com.google.http-client:google-http-client:1.42.2 (*)
|         |    |    \--- com.google.code.gson:gson:2.9.0
|         |    \--- com.google.guava:guava:31.0.1-android -> 31.1-jre (*)
|         +--- org.apache.commons:commons-compress:1.21
|         +--- com.google.guava:guava:31.1-jre (*)
|         +--- com.fasterxml.jackson:jackson-bom:2.15.0
|         |    +--- com.fasterxml.jackson.core:jackson-databind:2.15.0 (c)
|         |    +--- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.15.0 (c)
|         |    +--- com.fasterxml.jackson.datatype:jackson-datatype-guava:2.15.0 (c)
|         |    +--- com.fasterxml.jackson.datatype:jackson-datatype-joda:2.15.0 (c)
|         |    +--- com.fasterxml.jackson.core:jackson-annotations:2.15.0 (c)
|         |    +--- com.fasterxml.jackson.core:jackson-core:2.15.0 (c)
|         |    \--- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.0 (c)
|         +--- com.fasterxml.jackson.core:jackson-databind -> 2.15.0
|         |    +--- com.fasterxml.jackson.core:jackson-annotations:2.15.0
|         |    |    \--- com.fasterxml.jackson:jackson-bom:2.15.0 (*)
|         |    +--- com.fasterxml.jackson.core:jackson-core:2.15.0
|         |    |    +--- ch.randelshofer:fastdoubleparser:0.8.0
|         |    |    \--- com.fasterxml.jackson:jackson-bom:2.15.0 (*)
|         |    \--- com.fasterxml.jackson:jackson-bom:2.15.0 (*)
|         +--- com.fasterxml.jackson.datatype:jackson-datatype-jsr310 -> 2.15.0
|         |    +--- com.fasterxml.jackson.core:jackson-annotations:2.15.0 (*)
|         |    +--- com.fasterxml.jackson.core:jackson-core:2.15.0 (*)
|         |    +--- com.fasterxml.jackson.core:jackson-databind:2.15.0 (*)
|         |    \--- com.fasterxml.jackson:jackson-bom:2.15.0 (*)
|         +--- org.ow2.asm:asm:9.5
|         +--- com.google.cloud.tools:jib-build-plan:0.4.0
|         +--- com.google.cloud.tools:jib-plugins-extension-common:0.2.0
|         \--- com.google.cloud.tools:jib-gradle-plugin-extension-api:0.4.0
|              +--- com.google.cloud.tools:jib-build-plan:0.4.0
|              \--- com.google.cloud.tools:jib-plugins-extension-common:0.2.0
\--- org.openapi.generator:org.openapi.generator.gradle.plugin:6.6.0
     \--- org.openapitools:openapi-generator-gradle-plugin:6.6.0
          \--- org.openapitools:openapi-generator:6.6.0
               +--- io.swagger.parser.v3:swagger-parser:2.1.6
               |    +--- io.swagger.parser.v3:swagger-parser-v2-converter:2.1.6
               |    |    +--- io.swagger:swagger-core:1.6.8
               |    |    |    +--- org.apache.commons:commons-lang3:3.2.1 -> 3.12.0
               |    |    |    +--- org.slf4j:slf4j-api:1.7.22 -> 1.7.36
               |    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.13.4 -> 2.15.0 (*)
               |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.13.4.2 -> 2.15.0 (*)
               |    |    |    +--- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.4 -> 2.15.0
               |    |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.15.0 (*)
               |    |    |    |    +--- org.yaml:snakeyaml:2.0
               |    |    |    |    +--- com.fasterxml.jackson.core:jackson-core:2.15.0 (*)
               |    |    |    |    \--- com.fasterxml.jackson:jackson-bom:2.15.0 (*)
               |    |    |    +--- io.swagger:swagger-models:1.6.8
               |    |    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.13.4 -> 2.15.0 (*)
               |    |    |    |    +--- org.slf4j:slf4j-api:1.7.22 -> 1.7.36
               |    |    |    |    \--- io.swagger:swagger-annotations:1.6.8
               |    |    |    +--- org.yaml:snakeyaml:1.33 -> 2.0
               |    |    |    +--- com.google.guava:guava:31.0.1-android -> 31.1-jre (*)
               |    |    |    \--- javax.validation:validation-api:1.1.0.Final
               |    |    +--- io.swagger:swagger-parser:1.0.63
               |    |    |    +--- io.swagger:swagger-core:1.6.8 (*)
               |    |    |    +--- org.yaml:snakeyaml:1.33 -> 2.0
               |    |    |    \--- commons-io:commons-io:2.11.0
               |    |    +--- io.swagger:swagger-compat-spec-parser:1.0.63
               |    |    |    +--- io.swagger:swagger-core:1.6.8 (*)
               |    |    |    +--- io.swagger:swagger-parser:1.0.63 (*)
               |    |    |    +--- com.github.java-json-tools:json-schema-validator:2.2.14
               |    |    |    |    +--- com.google.guava:guava:28.2-android -> 31.1-jre (*)
               |    |    |    |    +--- com.github.java-json-tools:jackson-coreutils-equivalence:1.0
               |    |    |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.11.0 -> 2.15.0 (*)
               |    |    |    |    |    +--- com.google.guava:guava:28.2-android -> 31.1-jre (*)
               |    |    |    |    |    \--- com.github.java-json-tools:jackson-coreutils:2.0
               |    |    |    |    |         +--- com.fasterxml.jackson.core:jackson-databind:2.11.0 -> 2.15.0 (*)
               |    |    |    |    |         +--- com.github.java-json-tools:msg-simple:1.2
               |    |    |    |    |         |    +--- com.github.java-json-tools:btf:1.3
               |    |    |    |    |         |    |    \--- com.google.code.findbugs:jsr305:2.0.1 -> 3.0.2
               |    |    |    |    |         |    \--- com.google.code.findbugs:jsr305:2.0.1 -> 3.0.2
               |    |    |    |    |         \--- com.google.code.findbugs:jsr305:3.0.2
               |    |    |    |    +--- com.github.java-json-tools:json-schema-core:1.2.14
               |    |    |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.11.0 -> 2.15.0 (*)
               |    |    |    |    |    +--- com.google.guava:guava:28.2-android -> 31.1-jre (*)
               |    |    |    |    |    +--- com.github.java-json-tools:jackson-coreutils:2.0 (*)
               |    |    |    |    |    +--- com.github.java-json-tools:jackson-coreutils-equivalence:1.0 (*)
               |    |    |    |    |    +--- com.github.java-json-tools:uri-template:0.10
               |    |    |    |    |    |    +--- com.google.guava:guava:28.1-android -> 31.1-jre (*)
               |    |    |    |    |    |    +--- com.github.java-json-tools:msg-simple:1.2 (*)
               |    |    |    |    |    |    \--- com.google.code.findbugs:jsr305:2.0.1 -> 3.0.2
               |    |    |    |    |    +--- org.mozilla:rhino:1.7.7.2
               |    |    |    |    |    \--- com.google.code.findbugs:jsr305:3.0.2
               |    |    |    |    +--- com.sun.mail:mailapi:1.6.2
               |    |    |    |    +--- joda-time:joda-time:2.10.5 -> 2.10.14
               |    |    |    |    +--- com.googlecode.libphonenumber:libphonenumber:8.11.1
               |    |    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
               |    |    |    |    \--- net.sf.jopt-simple:jopt-simple:5.0.4
               |    |    |    +--- com.github.java-json-tools:json-patch:1.13
               |    |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.11.0 -> 2.15.0 (*)
               |    |    |    |    +--- com.github.java-json-tools:msg-simple:1.2 (*)
               |    |    |    |    \--- com.github.java-json-tools:jackson-coreutils:2.0 (*)
               |    |    |    \--- org.apache.httpcomponents:httpclient:4.5.13 (*)
               |    |    +--- io.swagger.core.v3:swagger-models:2.2.4
               |    |    |    \--- com.fasterxml.jackson.core:jackson-annotations:2.13.4 -> 2.15.0 (*)
               |    |    +--- io.swagger.parser.v3:swagger-parser-core:2.1.6
               |    |    |    \--- io.swagger.core.v3:swagger-models:2.2.4 (*)
               |    |    \--- io.swagger.parser.v3:swagger-parser-v3:2.1.6
               |    |         +--- io.swagger.core.v3:swagger-models:2.2.4 (*)
               |    |         +--- io.swagger.core.v3:swagger-core:2.2.4
               |    |         |    +--- jakarta.xml.bind:jakarta.xml.bind-api:2.3.2
               |    |         |    |    \--- jakarta.activation:jakarta.activation-api:1.2.1
               |    |         |    +--- org.apache.commons:commons-lang3:3.12.0
               |    |         |    +--- org.slf4j:slf4j-api:1.7.35 -> 1.7.36
               |    |         |    +--- com.fasterxml.jackson.core:jackson-annotations:2.13.4 -> 2.15.0 (*)
               |    |         |    +--- com.fasterxml.jackson.core:jackson-databind:2.13.4.2 -> 2.15.0 (*)
               |    |         |    +--- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.4 -> 2.15.0 (*)
               |    |         |    +--- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.4 -> 2.15.0 (*)
               |    |         |    +--- io.swagger.core.v3:swagger-annotations:2.2.4
               |    |         |    +--- org.yaml:snakeyaml:1.33 -> 2.0
               |    |         |    +--- io.swagger.core.v3:swagger-models:2.2.4 (*)
               |    |         |    \--- jakarta.validation:jakarta.validation-api:2.0.2
               |    |         +--- io.swagger.parser.v3:swagger-parser-core:2.1.6 (*)
               |    |         +--- commons-io:commons-io:2.11.0
               |    |         +--- org.yaml:snakeyaml:1.33 -> 2.0
               |    |         +--- com.fasterxml.jackson.core:jackson-annotations:2.13.4 -> 2.15.0 (*)
               |    |         +--- com.fasterxml.jackson.core:jackson-databind:2.13.4.2 -> 2.15.0 (*)
               |    |         \--- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.4 -> 2.15.0 (*)
               |    +--- io.swagger.parser.v3:swagger-parser-v3:2.1.6 (*)
               |    +--- org.yaml:snakeyaml:1.33 -> 2.0
               |    \--- commons-io:commons-io:2.11.0
               +--- com.samskivert:jmustache:1.15
               +--- com.github.jknack:handlebars:4.2.1
               |    \--- org.slf4j:slf4j-api:1.7.30 -> 1.7.36
               +--- com.github.jknack:handlebars-jackson2:4.2.1
               |    +--- com.github.jknack:handlebars:4.2.1 (*)
               |    \--- com.fasterxml.jackson.core:jackson-databind:2.12.5 -> 2.15.0 (*)
               +--- commons-io:commons-io:2.11.0
               +--- org.slf4j:slf4j-ext:1.7.36
               |    \--- org.slf4j:slf4j-api:1.7.36
               +--- org.slf4j:slf4j-api:1.7.36
               +--- org.slf4j:slf4j-simple:1.7.36
               |    \--- org.slf4j:slf4j-api:1.7.36
               +--- org.apache.commons:commons-lang3:3.12.0
               +--- org.apache.commons:commons-text:1.10.0
               |    \--- org.apache.commons:commons-lang3:3.12.0
               +--- commons-cli:commons-cli:1.5.0
               +--- com.google.guava:guava:31.1-jre (*)
               +--- com.fasterxml.jackson.datatype:jackson-datatype-guava:2.14.0 -> 2.15.0
               |    +--- com.google.guava:guava:23.6.1-jre -> 31.1-jre (*)
               |    +--- com.fasterxml.jackson.core:jackson-core:2.15.0 (*)
               |    +--- com.fasterxml.jackson.core:jackson-databind:2.15.0 (*)
               |    \--- com.fasterxml.jackson:jackson-bom:2.15.0 (*)
               +--- org.commonmark:commonmark:0.21.0
               +--- com.github.mifmif:generex:1.0.2
               |    \--- dk.brics.automaton:automaton:1.11-8
               +--- com.github.curious-odd-man:rgxgen:1.4
               +--- com.fasterxml.jackson.core:jackson-databind:2.14.0 -> 2.15.0 (*)
               +--- com.fasterxml.jackson.datatype:jackson-datatype-joda:2.14.0 -> 2.15.0
               |    +--- com.fasterxml.jackson.core:jackson-annotations:2.15.0 (*)
               |    +--- com.fasterxml.jackson.core:jackson-core:2.15.0 (*)
               |    +--- com.fasterxml.jackson.core:jackson-databind:2.15.0 (*)
               |    +--- joda-time:joda-time:2.10.14
               |    \--- com.fasterxml.jackson:jackson-bom:2.15.0 (*)
               +--- com.github.joschi.jackson:jackson-datatype-threetenbp:2.12.5
               |    +--- org.threeten:threetenbp:1.5.1
               |    +--- com.fasterxml.jackson.core:jackson-core:2.12.5 -> 2.15.0 (*)
               |    \--- com.fasterxml.jackson.core:jackson-databind:2.12.5 -> 2.15.0 (*)
               +--- org.openapitools:openapi-generator-core:6.6.0
               |    +--- com.google.guava:guava:31.1-jre (*)
               |    \--- org.slf4j:slf4j-api:1.7.36
               +--- net.java.dev.jna:jna:5.12.1
               \--- com.github.ben-manes.caffeine:caffeine:2.9.3
                    +--- org.checkerframework:checker-qual:3.19.0
                    \--- com.google.errorprone:error_prone_annotations:2.10.0 -> 2.11.0

(c) - A dependency constraint, not a dependency. The dependency affected by the constraint occurs elsewhere in the tree.
(*) - Indicates repeated occurrences of a transitive dependency subtree. Gradle expands transitive dependency subtrees only once per project; repeat occurrences only display the root of the subtree, followed by this annotation.

A web-based, searchable dependency report is available by adding the --scan option.

BUILD SUCCESSFUL in 153ms
1 actionable task: 1 executed
17:38:18: Execution finished 'buildEnvironment'.

without the jib plugin, the following buildEnvironment is created:

17:38:53: Executing 'buildEnvironment'...

> Task :buildEnvironment

------------------------------------------------------------
Root project 'device-management' - Device Management Implementation
------------------------------------------------------------

classpath
\--- org.openapi.generator:org.openapi.generator.gradle.plugin:6.6.0
     \--- org.openapitools:openapi-generator-gradle-plugin:6.6.0
          \--- org.openapitools:openapi-generator:6.6.0
               +--- io.swagger.parser.v3:swagger-parser:2.1.6
               |    +--- io.swagger.parser.v3:swagger-parser-v2-converter:2.1.6
               |    |    +--- io.swagger:swagger-core:1.6.8
               |    |    |    +--- org.apache.commons:commons-lang3:3.2.1 -> 3.12.0
               |    |    |    +--- org.slf4j:slf4j-api:1.7.22 -> 1.7.36
               |    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.13.4 -> 2.14.0
               |    |    |    |    \--- com.fasterxml.jackson:jackson-bom:2.14.0
               |    |    |    |         +--- com.fasterxml.jackson.core:jackson-annotations:2.14.0 (c)
               |    |    |    |         +--- com.fasterxml.jackson.core:jackson-core:2.14.0 (c)
               |    |    |    |         +--- com.fasterxml.jackson.core:jackson-databind:2.14.0 (c)
               |    |    |    |         +--- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.0 (c)
               |    |    |    |         +--- com.fasterxml.jackson.datatype:jackson-datatype-guava:2.14.0 (c)
               |    |    |    |         +--- com.fasterxml.jackson.datatype:jackson-datatype-joda:2.14.0 (c)
               |    |    |    |         \--- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.0 (c)
               |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.13.4.2 -> 2.14.0
               |    |    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.14.0 (*)
               |    |    |    |    +--- com.fasterxml.jackson.core:jackson-core:2.14.0
               |    |    |    |    |    \--- com.fasterxml.jackson:jackson-bom:2.14.0 (*)
               |    |    |    |    \--- com.fasterxml.jackson:jackson-bom:2.14.0 (*)
               |    |    |    +--- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.4 -> 2.14.0
               |    |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.14.0 (*)
               |    |    |    |    +--- org.yaml:snakeyaml:1.33
               |    |    |    |    +--- com.fasterxml.jackson.core:jackson-core:2.14.0 (*)
               |    |    |    |    \--- com.fasterxml.jackson:jackson-bom:2.14.0 (*)
               |    |    |    +--- io.swagger:swagger-models:1.6.8
               |    |    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.13.4 -> 2.14.0 (*)
               |    |    |    |    +--- org.slf4j:slf4j-api:1.7.22 -> 1.7.36
               |    |    |    |    \--- io.swagger:swagger-annotations:1.6.8
               |    |    |    +--- org.yaml:snakeyaml:1.33
               |    |    |    +--- com.google.guava:guava:31.0.1-android -> 31.1-jre
               |    |    |    |    +--- com.google.guava:failureaccess:1.0.1
               |    |    |    |    +--- com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
               |    |    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
               |    |    |    |    +--- org.checkerframework:checker-qual:3.12.0 -> 3.19.0
               |    |    |    |    +--- com.google.errorprone:error_prone_annotations:2.11.0
               |    |    |    |    \--- com.google.j2objc:j2objc-annotations:1.3
               |    |    |    \--- javax.validation:validation-api:1.1.0.Final
               |    |    +--- io.swagger:swagger-parser:1.0.63
               |    |    |    +--- io.swagger:swagger-core:1.6.8 (*)
               |    |    |    +--- org.yaml:snakeyaml:1.33
               |    |    |    \--- commons-io:commons-io:2.11.0
               |    |    +--- io.swagger:swagger-compat-spec-parser:1.0.63
               |    |    |    +--- io.swagger:swagger-core:1.6.8 (*)
               |    |    |    +--- io.swagger:swagger-parser:1.0.63 (*)
               |    |    |    +--- com.github.java-json-tools:json-schema-validator:2.2.14
               |    |    |    |    +--- com.google.guava:guava:28.2-android -> 31.1-jre (*)
               |    |    |    |    +--- com.github.java-json-tools:jackson-coreutils-equivalence:1.0
               |    |    |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.11.0 -> 2.14.0 (*)
               |    |    |    |    |    +--- com.google.guava:guava:28.2-android -> 31.1-jre (*)
               |    |    |    |    |    \--- com.github.java-json-tools:jackson-coreutils:2.0
               |    |    |    |    |         +--- com.fasterxml.jackson.core:jackson-databind:2.11.0 -> 2.14.0 (*)
               |    |    |    |    |         +--- com.github.java-json-tools:msg-simple:1.2
               |    |    |    |    |         |    +--- com.github.java-json-tools:btf:1.3
               |    |    |    |    |         |    |    \--- com.google.code.findbugs:jsr305:2.0.1 -> 3.0.2
               |    |    |    |    |         |    \--- com.google.code.findbugs:jsr305:2.0.1 -> 3.0.2
               |    |    |    |    |         \--- com.google.code.findbugs:jsr305:3.0.2
               |    |    |    |    +--- com.github.java-json-tools:json-schema-core:1.2.14
               |    |    |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.11.0 -> 2.14.0 (*)
               |    |    |    |    |    +--- com.google.guava:guava:28.2-android -> 31.1-jre (*)
               |    |    |    |    |    +--- com.github.java-json-tools:jackson-coreutils:2.0 (*)
               |    |    |    |    |    +--- com.github.java-json-tools:jackson-coreutils-equivalence:1.0 (*)
               |    |    |    |    |    +--- com.github.java-json-tools:uri-template:0.10
               |    |    |    |    |    |    +--- com.google.guava:guava:28.1-android -> 31.1-jre (*)
               |    |    |    |    |    |    +--- com.github.java-json-tools:msg-simple:1.2 (*)
               |    |    |    |    |    |    \--- com.google.code.findbugs:jsr305:2.0.1 -> 3.0.2
               |    |    |    |    |    +--- org.mozilla:rhino:1.7.7.2
               |    |    |    |    |    \--- com.google.code.findbugs:jsr305:3.0.2
               |    |    |    |    +--- com.sun.mail:mailapi:1.6.2
               |    |    |    |    +--- joda-time:joda-time:2.10.5 -> 2.10.8
               |    |    |    |    +--- com.googlecode.libphonenumber:libphonenumber:8.11.1
               |    |    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
               |    |    |    |    \--- net.sf.jopt-simple:jopt-simple:5.0.4
               |    |    |    +--- com.github.java-json-tools:json-patch:1.13
               |    |    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.11.0 -> 2.14.0 (*)
               |    |    |    |    +--- com.github.java-json-tools:msg-simple:1.2 (*)
               |    |    |    |    \--- com.github.java-json-tools:jackson-coreutils:2.0 (*)
               |    |    |    \--- org.apache.httpcomponents:httpclient:4.5.13
               |    |    |         +--- org.apache.httpcomponents:httpcore:4.4.13
               |    |    |         +--- commons-logging:commons-logging:1.2
               |    |    |         \--- commons-codec:commons-codec:1.11
               |    |    +--- io.swagger.core.v3:swagger-models:2.2.4
               |    |    |    \--- com.fasterxml.jackson.core:jackson-annotations:2.13.4 -> 2.14.0 (*)
               |    |    +--- io.swagger.parser.v3:swagger-parser-core:2.1.6
               |    |    |    \--- io.swagger.core.v3:swagger-models:2.2.4 (*)
               |    |    \--- io.swagger.parser.v3:swagger-parser-v3:2.1.6
               |    |         +--- io.swagger.core.v3:swagger-models:2.2.4 (*)
               |    |         +--- io.swagger.core.v3:swagger-core:2.2.4
               |    |         |    +--- jakarta.xml.bind:jakarta.xml.bind-api:2.3.2
               |    |         |    |    \--- jakarta.activation:jakarta.activation-api:1.2.1
               |    |         |    +--- org.apache.commons:commons-lang3:3.12.0
               |    |         |    +--- org.slf4j:slf4j-api:1.7.35 -> 1.7.36
               |    |         |    +--- com.fasterxml.jackson.core:jackson-annotations:2.13.4 -> 2.14.0 (*)
               |    |         |    +--- com.fasterxml.jackson.core:jackson-databind:2.13.4.2 -> 2.14.0 (*)
               |    |         |    +--- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.4 -> 2.14.0 (*)
               |    |         |    +--- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.4 -> 2.14.0
               |    |         |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.14.0 (*)
               |    |         |    |    +--- com.fasterxml.jackson.core:jackson-core:2.14.0 (*)
               |    |         |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.14.0 (*)
               |    |         |    |    \--- com.fasterxml.jackson:jackson-bom:2.14.0 (*)
               |    |         |    +--- io.swagger.core.v3:swagger-annotations:2.2.4
               |    |         |    +--- org.yaml:snakeyaml:1.33
               |    |         |    +--- io.swagger.core.v3:swagger-models:2.2.4 (*)
               |    |         |    \--- jakarta.validation:jakarta.validation-api:2.0.2
               |    |         +--- io.swagger.parser.v3:swagger-parser-core:2.1.6 (*)
               |    |         +--- commons-io:commons-io:2.11.0
               |    |         +--- org.yaml:snakeyaml:1.33
               |    |         +--- com.fasterxml.jackson.core:jackson-annotations:2.13.4 -> 2.14.0 (*)
               |    |         +--- com.fasterxml.jackson.core:jackson-databind:2.13.4.2 -> 2.14.0 (*)
               |    |         \--- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.4 -> 2.14.0 (*)
               |    +--- io.swagger.parser.v3:swagger-parser-v3:2.1.6 (*)
               |    +--- org.yaml:snakeyaml:1.33
               |    \--- commons-io:commons-io:2.11.0
               +--- com.samskivert:jmustache:1.15
               +--- com.github.jknack:handlebars:4.2.1
               |    \--- org.slf4j:slf4j-api:1.7.30 -> 1.7.36
               +--- com.github.jknack:handlebars-jackson2:4.2.1
               |    +--- com.github.jknack:handlebars:4.2.1 (*)
               |    \--- com.fasterxml.jackson.core:jackson-databind:2.12.5 -> 2.14.0 (*)
               +--- commons-io:commons-io:2.11.0
               +--- org.slf4j:slf4j-ext:1.7.36
               |    \--- org.slf4j:slf4j-api:1.7.36
               +--- org.slf4j:slf4j-api:1.7.36
               +--- org.slf4j:slf4j-simple:1.7.36
               |    \--- org.slf4j:slf4j-api:1.7.36
               +--- org.apache.commons:commons-lang3:3.12.0
               +--- org.apache.commons:commons-text:1.10.0
               |    \--- org.apache.commons:commons-lang3:3.12.0
               +--- commons-cli:commons-cli:1.5.0
               +--- com.google.guava:guava:31.1-jre (*)
               +--- com.fasterxml.jackson.datatype:jackson-datatype-guava:2.14.0
               |    +--- com.google.guava:guava:21.0 -> 31.1-jre (*)
               |    +--- com.fasterxml.jackson.core:jackson-core:2.14.0 (*)
               |    +--- com.fasterxml.jackson.core:jackson-databind:2.14.0 (*)
               |    \--- com.fasterxml.jackson:jackson-bom:2.14.0 (*)
               +--- org.commonmark:commonmark:0.21.0
               +--- com.github.mifmif:generex:1.0.2
               |    \--- dk.brics.automaton:automaton:1.11-8
               +--- com.github.curious-odd-man:rgxgen:1.4
               +--- com.fasterxml.jackson.core:jackson-databind:2.14.0 (*)
               +--- com.fasterxml.jackson.datatype:jackson-datatype-joda:2.14.0
               |    +--- com.fasterxml.jackson.core:jackson-annotations:2.14.0 (*)
               |    +--- com.fasterxml.jackson.core:jackson-core:2.14.0 (*)
               |    +--- com.fasterxml.jackson.core:jackson-databind:2.14.0 (*)
               |    +--- joda-time:joda-time:2.10.8
               |    \--- com.fasterxml.jackson:jackson-bom:2.14.0 (*)
               +--- com.github.joschi.jackson:jackson-datatype-threetenbp:2.12.5
               |    +--- org.threeten:threetenbp:1.5.1
               |    +--- com.fasterxml.jackson.core:jackson-core:2.12.5 -> 2.14.0 (*)
               |    \--- com.fasterxml.jackson.core:jackson-databind:2.12.5 -> 2.14.0 (*)
               +--- org.openapitools:openapi-generator-core:6.6.0
               |    +--- com.google.guava:guava:31.1-jre (*)
               |    \--- org.slf4j:slf4j-api:1.7.36
               +--- net.java.dev.jna:jna:5.12.1
               \--- com.github.ben-manes.caffeine:caffeine:2.9.3
                    +--- org.checkerframework:checker-qual:3.19.0
                    \--- com.google.errorprone:error_prone_annotations:2.10.0 -> 2.11.0

(c) - A dependency constraint, not a dependency. The dependency affected by the constraint occurs elsewhere in the tree.
(*) - Indicates repeated occurrences of a transitive dependency subtree. Gradle expands transitive dependency subtrees only once per project; repeat occurrences only display the root of the subtree, followed by this annotation.

A web-based, searchable dependency report is available by adding the --scan option.

BUILD SUCCESSFUL in 94ms
1 actionable task: 1 executed
17:38:53: Execution finished 'buildEnvironment'.
Steps to reproduce

run gradle openApiGenerate in a project with the

Related issues/PRs

https://github.com/OpenAPITools/openapi-generator/issues/15192

Suggest a Fix
Del-S commented 1 year ago

I have the same issue when I add org.owasp:dependency-check-gradle:8.3.1. I also tried to force the version using:

configurations.all {
    resolutionStrategy {
        force("org.yaml:snakeyaml:1.33")
    }
}

but it does not work anyway.

maknesium commented 1 year ago

Hi, we are also affected by this issue. Any idea on how to provide a workaround until the issue has been fixed?

oalyman commented 1 year ago

@Del-S If you want to force dependencies for the plugins you need to use the buildscript block in your build. As long as both plugins work with eg. version 1.33 you can do:

buildscript {
    configurations.all {
        resolutionStrategy {
            force("org.yaml:snakeyaml:1.33")
        }
    }
}
maknesium commented 1 year ago

@oalyman Thank you for the workaround. This works for me for now :)

Del-S commented 1 year ago

@oalyman Oh yeah right. I forgot I was working with plugins and not dependencies. Thank you. :)


Well I tried it and it does not work for me. But I can disable the OWASP plugin so I did that. Thanks anyway.

kaliy commented 1 year ago

I believe this is fixed in #15644, as swagger-parser uses the snakeyaml 2.0 since 2.1.13.

We just need to wait for a new release :)