We package only Perl and shell scripts in an rpm.We use maven to build the rpm. I would like to know if there is a way to prevent the rpm from compiling successfully when there are syntax errors in the perl/shell scripts.
C/C++/Java code does not get compiled when there are syntax errors, this also prevents the rpm from getting built successfully. Perl/shell being interpreted does not work this way.Is there a way to handle this in pom/Maven?