Move compiler plugin configuration to pluginManagement
Write separate Main class