[BZ-1056195] avoid to create an ArtifactResolver when the KieModule has no dependencies