mirror of
https://github.com/apache/maven.git
synced 2025-02-08 19:15:12 +00:00
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@344260 13f79535-47bb-0310-9956-ffa450edef68
15 lines
329 B
Bash
Executable File
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
|
|
|