@annkitaaggarwal ,Please check if you have below vault plugin configuration in "all" maven module pom.xml where you embed other maven modules like core, ui.apps. ui.config etc.,<plugin>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>filevault-package-maven-plugin</artifactId>
<extensions...