check for errors before building the package
add ecj dependency for drools on JDK 1.7+
Merge branch '1.12'