Prevent plugin execution in case of project packaging is pom file.