Checking M2_HOME environment variable before building the plugin.
Removing JAVA_HOME references (not required).
Removing 'groovy' dependency - 'compile' is just enough.
Removing 'MavenDeployment' declaration type (not required).
Merge pull request #18 from damage-control/check-maven-before-building-plugin

Check maven before building plugin