Set Maven module to PLUGIN_MODULE with the help of Guidewire's plugin.

If the plugin is not installed, nothing happens.

http://plugins.jetbrains.com/plugin/7127?pr=