File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 237237fi
238238
239239# Check project xmlns, xmlns:xsi, and xsi:schemaLocation attributes.
240- grep -q ' xmlns="http://maven.apache.org/POM/4.0.0"' pom.xml > /dev/null 2> /dev/null &&
241- grep -q ' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"' pom.xml > /dev/null 2> /dev/null &&
242- grep -q ' xsi:schemaLocation="http://maven.apache.org/POM/4.0.0\b" ' pom.xml > /dev/null 2> /dev/null ||
240+ grep -qF ' xmlns="http://maven.apache.org/POM/4.0.0"' pom.xml > /dev/null 2> /dev/null &&
241+ grep -qF ' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"' pom.xml > /dev/null 2> /dev/null &&
242+ grep -qF ' xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ' pom.xml > /dev/null 2> /dev/null ||
243243{
244244 echo " ====================================================================="
245245 echo " NOTE: Your POM's project attributes are incorrect. Fixing it now."
You can’t perform that action at this time.
0 commit comments