Adding manual and autocommand methods of setting java and pom file type
and compiler.