kie-wb-common-screens adapted to illegal transitive dependencies check

(cherry picked from commit 333a78e6fd65a394f1ca26ca5c26a34592ea8e60)