[DROOLS-373] add dependency artifacts to classpath when compiling from the kie maven plugin
(cherry picked from commit fb0c4e7f0e7d37de7a45012232785ea11bd29b22)