maven/maven-core-it/it2003/test.sh

15 lines
329 B
Bash
Executable File

#!/bin/bash
RESULT=`mvn -X clean | grep 'org.apache.maven.plugins:maven-clean-plugin:maven-plugin:2.0'`
if [ ${RESULT} == "" ]; then
echo "Incorrect version of maven-clean-plugin detected. Test failed."
exit 1;
else
echo "Found correct version of maven-clean-plugin (2.0) in line:"
echo ""
echo $RESULT
echo ""
fi