adapt for java1.6 and maven 2.1.0

ajust some config and pom for java1.6 and maven 2.1.0