adapted to illegal transitive dependency check

These changes have to be made to comply with the illegal transitive dependency check of the enforcer plugin.
Please review the changes to find out possible artifact-source errors.