[DROOLS-340] fix ClasspathKieProject when using maven to deploy an artifact into jboss
(cherry picked from commit 5bcb38ef8b14dc9af6f1f4809e01eefdd9325c01)