Fix Javadoc issues.
Setting version to 1.0.0-M1
Setting version to 1.0.0-M2-SNAPSHOT