Moved temporary files to CMakeFiles directories for Java and J2E targets
Fixed handling of javac return code
Updated Maven pom file to give the project binary directory as a command line parameter