Interface ProjectDependenciesConverter

  • All Known Implementing Classes:
    DefaultProjectDependenciesConverter

    public interface ProjectDependenciesConverter
    Converts a Maven Project with its Maven dependencies resolution graph transformed into a SBOM dependencies list with their dependsOn.
    • Method Detail

      • cleanupBomDependencies

        void cleanupBomDependencies​(org.cyclonedx.model.Metadata metadata,
                                    Map<String,​org.cyclonedx.model.Component> components,
                                    Map<String,​org.cyclonedx.model.Dependency> dependencies)
        Check consistency between BOM components and BOM dependencies, and cleanup: drop components found while walking the Maven dependency resolution graph but that are finally not kept in the effective dependencies list.