m2e support, warnings fix, java 1.6, maven 3.0.4