now compiles and runs against java 6.
now maven platform independent