Skip to content

duplicate util when packaging in memory build #2660

@arnoweiss

Description

@arnoweiss

Describe the bug

This is the same as #2610

To Reproduce

I haven't tried it live but the problematic dependency is still there on the classpath when analyzing the dependency tree

aggregateCodeCoverageReportResults - Resolvable configuration used to gather files for the JaCoCo coverage report aggregation via ArtifactViews, not intended to be used directly
+--- root project : (*)
+--- project :edc-controlplane
|    +--- org.slf4j:slf4j-api:2.0.17
|    +--- project :edc-controlplane:edc-controlplane-base
|    |    +--- org.slf4j:slf4j-api:2.0.17
|    |    +--- io.swagger.core.v3:swagger-jaxrs2-jakarta:2.2.26
|    |    |    +--- io.github.classgraph:classgraph:4.8.176
|    |    |    +--- org.javassist:javassist:3.30.2-GA
|    |    |    +--- io.swagger.core.v3:swagger-models-jakarta:2.2.26
|    |    |    |    \--- com.fasterxml.jackson.core:jackson-annotations:2.16.2 -> 2.20
|    |    |    +--- io.swagger.core.v3:swagger-annotations-jakarta:2.2.26 -> 2.2.42
|    |    |    +--- io.swagger.core.v3:swagger-integration-jakarta:2.2.26
|    |    |    |    +--- io.github.classgraph:classgraph:4.8.176
|    |    |    |    +--- io.swagger.core.v3:swagger-core-jakarta:2.2.26
# ...
|    +--- project :edc-controlplane:edc-runtime-memory
|    |    +--- org.slf4j:slf4j-api:2.0.17
|    |    +--- project :edc-controlplane:edc-controlplane-base (*)
|    |    +--- project :edc-dataplane:edc-dataplane-base
|    |    |    +--- org.slf4j:slf4j-api:2.0.17
|    |    |    +--- org.eclipse.tractusx.edc:edc-dataplane-base:0.12.0-rc4
|    |    |    |    +--- org.slf4j:slf4j-api:2.0.17
|    |    |    |    +--- org.eclipse.tractusx.edc:edr-core:0.12.0-rc4 (*)
|    |    |    |    +--- org.eclipse.tractusx.edc:log4j2-monitor:0.12.0-rc4 (*)
|    |    |    |    +--- org.eclipse.tractusx.edc:dataplane-proxy-http:0.12.0-rc4
|    |    |    |    |    +--- org.slf4j:slf4j-api:2.0.17
|    |    |    |    |    +--- org.eclipse.edc:util-lib:0.15.1
|    |    |    |    |    +--- org.eclipse.edc:data-plane-http:0.15.1
|    |    |    |    |    |    +--- org.eclipse.edc:util-lib:0.15.1
|    |    |    |    |    |    +--- <span style="background-color:#F4A593">org.eclipse.edc:data-plane-util:0.15.1</span>
# ...

Expected behavior

excluded - no problems with in-mem runtime

Possible Implementation

add exclusion here:

implementation(project(":edc-dataplane:edc-dataplane-base")) {
exclude("org.eclipse.edc", "data-plane-selector-client")
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglaterImportant issue, but not urgent

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions