Add doclint check during release

This commit is contained in:
Andreas Dangel
2017-01-07 18:50:17 +01:00
parent 55eff12d36
commit c3077a99b8

View File

@ -113,6 +113,13 @@ if [ $? -ne 0 ]; then
exit 1
fi
echo "Running doclint..."
mvn -Pdoclint javadoc:javadoc javadoc:test-javadoc
if [ $? -ne 0 ]; then
echo "Failure during doclint...."
exit 1
fi
(
cd pmd-dist/target
unzip pmd-bin-${RELEASE_VERSION}-SNAPSHOT.zip