cubbles / cubx.core.rte

Contains the artifacts for the in-browser runtime-environment.
https://cubbles.atlassian.net/wiki/display/RTE
1 stars 1 forks source link

Extend dependency conflict detection in dependencyTree to support version conflicts and naming conflicts of cubbles components #3

Closed pwrinc closed 6 years ago

pwrinc commented 6 years ago

Currently the dependencyTree detects conflicts by just comparing webpackageIds of artifacts with same artifactId. This can leeds to false positive conflict detections. The conflict detection needs to support two different types of conflicts:

  1. version conflicts Two artifacts are in version conflict state if
    • the artifactId is identical
    • the webpackage name and groupId (if available) is identical
    • the version string is not identical
  2. naming conflicts Two artifacts are in naming conflict state if
    • the artifactId is identical
    • the webpacakge name and groupId (if available) are not identical
    • the version string in that case doesn't care

Tasks: