Fix line returns in *.groovy parts and fix IML file to be JAVA module.