dc2b-33: Resolve the failed to deploy war file issue.

1) move all the plugins from application.properties to BuildConfig.groovy.
2) clean up pom file and comment out all the unnecessary dependencies.