Skip to content

Commit 5d6af1a

Browse files
jamezpVerdent
authored andcommitted
Use the copyright profile instead of invoking the plugin.
Signed-off-by: James R. Perkins <jperkins@redhat.com>
1 parent b448d4d commit 5d6af1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/copyright.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ die(){ echo "${1}" ; exit 1 ;}
1616
readonly RESULT_FILE="target/copyright-check.txt"
1717
mkdir target
1818

19-
mvn -q org.glassfish.copyright:glassfish-copyright-maven-plugin:copyright \
19+
mvn -q validate -Pcopyright \
2020
> ${RESULT_FILE} || (cat ${RESULT_FILE}; die "Error running the Maven command")
2121

2222
grep -i "copyright" ${RESULT_FILE} \

0 commit comments

Comments
 (0)