[BZ-1108070] fix compilation of a kjar in the kie-maven-plugin when it includes a kiebase from a different kjar
(cherry picked from commit 7320e0cfd24c541668f57b67ba19ce078ca8f851)