Use the copyright profile instead of invoking the plugin. Signed-off-by: James R. Perkins <jperkins@redhat.com>
diff --git a/etc/copyright.sh b/etc/copyright.sh index a7ded09..61c8b7b 100755 --- a/etc/copyright.sh +++ b/etc/copyright.sh
@@ -16,7 +16,7 @@ readonly RESULT_FILE="target/copyright-check.txt" mkdir target -mvn -q org.glassfish.copyright:glassfish-copyright-maven-plugin:copyright \ +mvn -q validate -Pcopyright \ > ${RESULT_FILE} || (cat ${RESULT_FILE}; die "Error running the Maven command") grep -i "copyright" ${RESULT_FILE} \