You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is from a large (100+ modules) multi-module project written in kotlin with the new 2.0.0 version:
Unable to resolve POM for tel.schich:kognigy:4.0.1
java.lang.IllegalStateException: An error occurred attempting to resolve effective POM
at org.cyclonedx.gradle.MavenHelper.resolveEffectivePom(MavenHelper.java:390)
at org.cyclonedx.gradle.MavenProjectLookup.getResolvedMavenProject(MavenProjectLookup.java:74)
at org.cyclonedx.gradle.DependencyGraphTraverser.extractMetaDataFromRepository(DependencyGraphTraverser.java:172)
at org.cyclonedx.gradle.DependencyGraphTraverser.toSbomComponent(DependencyGraphTraverser.java:142)
at org.cyclonedx.gradle.DependencyGraphTraverser.lambda$toSbomComponents$0(DependencyGraphTraverser.java:127)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1859)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:727)
at org.cyclonedx.gradle.DependencyGraphTraverser.toSbomComponents(DependencyGraphTraverser.java:128)
at org.cyclonedx.gradle.DependencyGraphTraverser.traverseGraph(DependencyGraphTraverser.java:122)
at org.cyclonedx.gradle.SbomGraphProvider.lambda$traverseProject$2(SbomGraphProvider.java:120)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
at java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:636)
at java.util.stream.ReferencePipeline$7$1FlatMap.accept(ReferencePipeline.java:294)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
at java.util.TreeMap$KeySpliterator.forEachRemaining(TreeMap.java:3102)
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:697)
at org.cyclonedx.gradle.SbomGraphProvider.call(SbomGraphProvider.java:81)
at org.cyclonedx.gradle.SbomGraphProvider.call(SbomGraphProvider.java:43)
at o.g.a.i.provider.DefaultProvider.calculateOwnValue(DefaultProvider.java:73)
at o.g.a.i.provider.AbstractMinimalProvider.calculateOwnPresentValue(AbstractMinimalProvider.java:82)
at o.g.a.i.provider.AbstractMinimalProvider.get(AbstractMinimalProvider.java:102)
at org.cyclonedx.gradle.CycloneDxTask.createBom(CycloneDxTask.java:298)
Caused by: org.apache.maven.model.building.ModelBuildingException: 4 problems were encountered while building the effective model for tel.schich:kognigy:4.0.1
[ERROR] 'dependencies.dependency.version' for io.ktor:ktor-client-core:jar is missing. @
[ERROR] 'dependencies.dependency.version' for io.ktor:ktor-client-websockets:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.jetbrains.kotlinx:kotlinx-coroutines-core:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.jetbrains.kotlinx:kotlinx-serialization-json:jar is missing. @
at org.apache.maven.model.building.DefaultModelProblemCollector.newModelBuildingException(DefaultModelProblemCollector.java:176)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:550)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:419)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:248)
at org.cyclonedx.gradle.MavenHelper.resolveEffectivePom(MavenHelper.java:388)
... 164 more
Unable to resolve POM for tel.schich:kognigy:4.0.1
java.lang.IllegalStateException: An error occurred attempting to resolve effective POM
at org.cyclonedx.gradle.MavenHelper.resolveEffectivePom(MavenHelper.java:390)
at org.cyclonedx.gradle.MavenProjectLookup.getResolvedMavenProject(MavenProjectLookup.java:74)
at org.cyclonedx.gradle.DependencyGraphTraverser.extractMetaDataFromRepository(DependencyGraphTraverser.java:172)
at org.cyclonedx.gradle.DependencyGraphTraverser.toSbomComponent(DependencyGraphTraverser.java:142)
at org.cyclonedx.gradle.DependencyGraphTraverser.lambda$toSbomComponents$0(DependencyGraphTraverser.java:127)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1859)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:727)
at org.cyclonedx.gradle.DependencyGraphTraverser.toSbomComponents(DependencyGraphTraverser.java:128)
at org.cyclonedx.gradle.DependencyGraphTraverser.traverseGraph(DependencyGraphTraverser.java:122)
at org.cyclonedx.gradle.SbomGraphProvider.lambda$traverseProject$2(SbomGraphProvider.java:120)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
at java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:636)
at java.util.stream.ReferencePipeline$7$1FlatMap.accept(ReferencePipeline.java:294)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
at java.util.TreeMap$KeySpliterator.forEachRemaining(TreeMap.java:3102)
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:697)
at org.cyclonedx.gradle.SbomGraphProvider.call(SbomGraphProvider.java:81)
at org.cyclonedx.gradle.SbomGraphProvider.call(SbomGraphProvider.java:43)
at o.g.a.i.provider.DefaultProvider.calculateOwnValue(DefaultProvider.java:73)
at o.g.a.i.provider.AbstractMinimalProvider.calculateOwnPresentValue(AbstractMinimalProvider.java:82)
at o.g.a.i.provider.AbstractMinimalProvider.get(AbstractMinimalProvider.java:102)
at org.cyclonedx.gradle.CycloneDxTask.createBom(CycloneDxTask.java:298)
Caused by: org.apache.maven.model.building.ModelBuildingException: 4 problems were encountered while building the effective model for tel.schich:kognigy:4.0.1
[ERROR] 'dependencies.dependency.version' for io.ktor:ktor-client-core:jar is missing. @
[ERROR] 'dependencies.dependency.version' for io.ktor:ktor-client-websockets:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.jetbrains.kotlinx:kotlinx-coroutines-core:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.jetbrains.kotlinx:kotlinx-serialization-json:jar is missing. @
at org.apache.maven.model.building.DefaultModelProblemCollector.newModelBuildingException(DefaultModelProblemCollector.java:176)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:550)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:419)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:248)
at org.cyclonedx.gradle.MavenHelper.resolveEffectivePom(MavenHelper.java:388)
... 164 more
Unable to resolve POM for tel.schich:kognigy:4.0.1
java.lang.IllegalStateException: An error occurred attempting to resolve effective POM
at org.cyclonedx.gradle.MavenHelper.resolveEffectivePom(MavenHelper.java:390)
at org.cyclonedx.gradle.MavenProjectLookup.getResolvedMavenProject(MavenProjectLookup.java:74)
at org.cyclonedx.gradle.DependencyGraphTraverser.extractMetaDataFromRepository(DependencyGraphTraverser.java:172)
at org.cyclonedx.gradle.DependencyGraphTraverser.toSbomComponent(DependencyGraphTraverser.java:142)
at org.cyclonedx.gradle.DependencyGraphTraverser.lambda$toSbomComponents$0(DependencyGraphTraverser.java:127)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1859)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:727)
at org.cyclonedx.gradle.DependencyGraphTraverser.toSbomComponents(DependencyGraphTraverser.java:128)
at org.cyclonedx.gradle.DependencyGraphTraverser.traverseGraph(DependencyGraphTraverser.java:122)
at org.cyclonedx.gradle.SbomGraphProvider.lambda$traverseProject$2(SbomGraphProvider.java:120)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
at java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:636)
at java.util.stream.ReferencePipeline$7$1FlatMap.accept(ReferencePipeline.java:294)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
at java.util.TreeMap$KeySpliterator.forEachRemaining(TreeMap.java:3102)
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:697)
at org.cyclonedx.gradle.SbomGraphProvider.call(SbomGraphProvider.java:81)
at org.cyclonedx.gradle.SbomGraphProvider.call(SbomGraphProvider.java:43)
at o.g.a.i.provider.DefaultProvider.calculateOwnValue(DefaultProvider.java:73)
at o.g.a.i.provider.AbstractMinimalProvider.calculateOwnPresentValue(AbstractMinimalProvider.java:82)
at o.g.a.i.provider.AbstractMinimalProvider.get(AbstractMinimalProvider.java:102)
at org.cyclonedx.gradle.CycloneDxTask.createBom(CycloneDxTask.java:298)
Caused by: org.apache.maven.model.building.ModelBuildingException: 4 problems were encountered while building the effective model for tel.schich:kognigy:4.0.1
[ERROR] 'dependencies.dependency.version' for io.ktor:ktor-client-core:jar is missing. @
[ERROR] 'dependencies.dependency.version' for io.ktor:ktor-client-websockets:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.jetbrains.kotlinx:kotlinx-coroutines-core:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.jetbrains.kotlinx:kotlinx-serialization-json:jar is missing. @
at org.apache.maven.model.building.DefaultModelProblemCollector.newModelBuildingException(DefaultModelProblemCollector.java:176)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:550)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:419)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:248)
at org.cyclonedx.gradle.MavenHelper.resolveEffectivePom(MavenHelper.java:388)
... 164 more
Unable to resolve POM for tel.schich:kognigy:4.0.1
java.lang.IllegalStateException: An error occurred attempting to resolve effective POM
at org.cyclonedx.gradle.MavenHelper.resolveEffectivePom(MavenHelper.java:390)
at org.cyclonedx.gradle.MavenProjectLookup.getResolvedMavenProject(MavenProjectLookup.java:74)
at org.cyclonedx.gradle.DependencyGraphTraverser.extractMetaDataFromRepository(DependencyGraphTraverser.java:172)
at org.cyclonedx.gradle.DependencyGraphTraverser.toSbomComponent(DependencyGraphTraverser.java:142)
at org.cyclonedx.gradle.DependencyGraphTraverser.lambda$toSbomComponents$0(DependencyGraphTraverser.java:127)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1859)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:727)
at org.cyclonedx.gradle.DependencyGraphTraverser.toSbomComponents(DependencyGraphTraverser.java:128)
at org.cyclonedx.gradle.DependencyGraphTraverser.traverseGraph(DependencyGraphTraverser.java:122)
at org.cyclonedx.gradle.SbomGraphProvider.lambda$traverseProject$2(SbomGraphProvider.java:120)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
at java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:636)
at java.util.stream.ReferencePipeline$7$1FlatMap.accept(ReferencePipeline.java:294)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
at java.util.TreeMap$KeySpliterator.forEachRemaining(TreeMap.java:3102)
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:697)
at org.cyclonedx.gradle.SbomGraphProvider.call(SbomGraphProvider.java:81)
at org.cyclonedx.gradle.SbomGraphProvider.call(SbomGraphProvider.java:43)
at o.g.a.i.provider.DefaultProvider.calculateOwnValue(DefaultProvider.java:73)
at o.g.a.i.provider.AbstractMinimalProvider.calculateOwnPresentValue(AbstractMinimalProvider.java:82)
at o.g.a.i.provider.AbstractMinimalProvider.get(AbstractMinimalProvider.java:102)
at org.cyclonedx.gradle.CycloneDxTask.createBom(CycloneDxTask.java:298)
Caused by: org.apache.maven.model.building.ModelBuildingException: 4 problems were encountered while building the effective model for tel.schich:kognigy:4.0.1
[ERROR] 'dependencies.dependency.version' for io.ktor:ktor-client-core:jar is missing. @
[ERROR] 'dependencies.dependency.version' for io.ktor:ktor-client-websockets:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.jetbrains.kotlinx:kotlinx-coroutines-core:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.jetbrains.kotlinx:kotlinx-serialization-json:jar is missing. @
at org.apache.maven.model.building.DefaultModelProblemCollector.newModelBuildingException(DefaultModelProblemCollector.java:176)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:550)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:419)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:248)
at org.cyclonedx.gradle.MavenHelper.resolveEffectivePom(MavenHelper.java:388)
... 164 more
Unable to resolve POM for tel.schich:kognigy:4.0.1
java.lang.IllegalStateException: An error occurred attempting to resolve effective POM
at org.cyclonedx.gradle.MavenHelper.resolveEffectivePom(MavenHelper.java:390)
at org.cyclonedx.gradle.MavenProjectLookup.getResolvedMavenProject(MavenProjectLookup.java:74)
at org.cyclonedx.gradle.DependencyGraphTraverser.extractMetaDataFromRepository(DependencyGraphTraverser.java:172)
at org.cyclonedx.gradle.DependencyGraphTraverser.toSbomComponent(DependencyGraphTraverser.java:142)
at org.cyclonedx.gradle.DependencyGraphTraverser.lambda$toSbomComponents$0(DependencyGraphTraverser.java:127)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1859)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:727)
at org.cyclonedx.gradle.DependencyGraphTraverser.toSbomComponents(DependencyGraphTraverser.java:128)
at org.cyclonedx.gradle.DependencyGraphTraverser.traverseGraph(DependencyGraphTraverser.java:122)
at org.cyclonedx.gradle.SbomGraphProvider.lambda$traverseProject$2(SbomGraphProvider.java:120)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
at java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:636)
at java.util.stream.ReferencePipeline$7$1FlatMap.accept(ReferencePipeline.java:294)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
at java.util.TreeMap$KeySpliterator.forEachRemaining(TreeMap.java:3102)
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:697)
at org.cyclonedx.gradle.SbomGraphProvider.call(SbomGraphProvider.java:81)
at org.cyclonedx.gradle.SbomGraphProvider.call(SbomGraphProvider.java:43)
at o.g.a.i.provider.DefaultProvider.calculateOwnValue(DefaultProvider.java:73)
at o.g.a.i.provider.AbstractMinimalProvider.calculateOwnPresentValue(AbstractMinimalProvider.java:82)
at o.g.a.i.provider.AbstractMinimalProvider.get(AbstractMinimalProvider.java:102)
at org.cyclonedx.gradle.CycloneDxTask.createBom(CycloneDxTask.java:298)
Caused by: org.apache.maven.model.building.ModelBuildingException: 4 problems were encountered while building the effective model for tel.schich:kognigy:4.0.1
[ERROR] 'dependencies.dependency.version' for io.ktor:ktor-client-core:jar is missing. @
[ERROR] 'dependencies.dependency.version' for io.ktor:ktor-client-websockets:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.jetbrains.kotlinx:kotlinx-coroutines-core:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.jetbrains.kotlinx:kotlinx-serialization-json:jar is missing. @
at org.apache.maven.model.building.DefaultModelProblemCollector.newModelBuildingException(DefaultModelProblemCollector.java:176)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:550)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:419)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:248)
at org.cyclonedx.gradle.MavenHelper.resolveEffectivePom(MavenHelper.java:388)
... 164 more
Unable to resolve POM for tel.schich:kognigy:4.0.1
java.lang.IllegalStateException: An error occurred attempting to resolve effective POM
at org.cyclonedx.gradle.MavenHelper.resolveEffectivePom(MavenHelper.java:390)
at org.cyclonedx.gradle.MavenProjectLookup.getResolvedMavenProject(MavenProjectLookup.java:74)
at org.cyclonedx.gradle.DependencyGraphTraverser.extractMetaDataFromRepository(DependencyGraphTraverser.java:172)
at org.cyclonedx.gradle.DependencyGraphTraverser.toSbomComponent(DependencyGraphTraverser.java:142)
at org.cyclonedx.gradle.DependencyGraphTraverser.lambda$toSbomComponents$0(DependencyGraphTraverser.java:127)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1859)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:727)
at org.cyclonedx.gradle.DependencyGraphTraverser.toSbomComponents(DependencyGraphTraverser.java:128)
at org.cyclonedx.gradle.DependencyGraphTraverser.traverseGraph(DependencyGraphTraverser.java:122)
at org.cyclonedx.gradle.SbomGraphProvider.lambda$traverseProject$2(SbomGraphProvider.java:120)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
at java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:636)
at java.util.stream.ReferencePipeline$7$1FlatMap.accept(ReferencePipeline.java:294)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
at java.util.TreeMap$KeySpliterator.forEachRemaining(TreeMap.java:3102)
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:697)
at org.cyclonedx.gradle.SbomGraphProvider.call(SbomGraphProvider.java:81)
at org.cyclonedx.gradle.SbomGraphProvider.call(SbomGraphProvider.java:43)
at o.g.a.i.provider.DefaultProvider.calculateOwnValue(DefaultProvider.java:73)
at o.g.a.i.provider.AbstractMinimalProvider.calculateOwnPresentValue(AbstractMinimalProvider.java:82)
at o.g.a.i.provider.AbstractMinimalProvider.get(AbstractMinimalProvider.java:102)
at org.cyclonedx.gradle.CycloneDxTask.createBom(CycloneDxTask.java:298)
Caused by: org.apache.maven.model.building.ModelBuildingException: 4 problems were encountered while building the effective model for tel.schich:kognigy:4.0.1
[ERROR] 'dependencies.dependency.version' for io.ktor:ktor-client-core:jar is missing. @
[ERROR] 'dependencies.dependency.version' for io.ktor:ktor-client-websockets:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.jetbrains.kotlinx:kotlinx-coroutines-core:jar is missing. @
[ERROR] 'dependencies.dependency.version' for org.jetbrains.kotlinx:kotlinx-serialization-json:jar is missing. @
at org.apache.maven.model.building.DefaultModelProblemCollector.newModelBuildingException(DefaultModelProblemCollector.java:176)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:550)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:419)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:248)
at org.cyclonedx.gradle.MavenHelper.resolveEffectivePom(MavenHelper.java:388)
... 164 more
(stacktrace is shortened to start at the createBom task action)
The build still completes successfully.
I think it might be related to the fact that this particular dependency (tel.schich:kognigy) is a kotlin multiplatform project.
To Reproduce
Setup a project with tel.schich:kognigy:4.0.1 as the dependency and generate a BOM.
Expected behavior
No errors/warnings in the output.
Environment (please complete the following information):
OS: Archlinux Kernel 6.12.*
Gradle version 8.12
CycloneDX Plugin version 2.0.0
Additional context
Add any other context about the problem here.
Contribution
I am willing to provide a fix
I will wait until somebody else fixes it
The text was updated successfully, but these errors were encountered:
Describe the bug
This is from a large (100+ modules) multi-module project written in kotlin with the new 2.0.0 version:
(stacktrace is shortened to start at the createBom task action)
The build still completes successfully.
I think it might be related to the fact that this particular dependency (tel.schich:kognigy) is a kotlin multiplatform project.
To Reproduce
Setup a project with tel.schich:kognigy:4.0.1 as the dependency and generate a BOM.
Expected behavior
No errors/warnings in the output.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
Contribution
The text was updated successfully, but these errors were encountered: