fix some compilation issues.
[maven-release-plugin] prepare release v2.1