One of my coworker had all the plugin, config setups etc., The only thing missing was that POM.xml was not added as a maven project. It worked fine after fixing it by right-clicking pom.xml -> add as maven project in IntelliJ.