diff --git a/etc/config/copyright-exclude b/etc/config/copyright-exclude index e99f55fd83..56a63c2dc9 100644 --- a/etc/config/copyright-exclude +++ b/etc/config/copyright-exclude @@ -24,6 +24,7 @@ .zip .dat .lua +.md travis.sh .travis.yml /docs/src/main/docbook/inc/modules_table_footer.src diff --git a/etc/travis/travis.sh b/etc/travis/travis.sh index d4c9c08c82..1e6d303f42 100644 --- a/etc/travis/travis.sh +++ b/etc/travis/travis.sh @@ -28,7 +28,9 @@ PING_LOOP_PID=$! mvn -version if [ "$1" = "glassfish-copyright:check" ]; then - mvn $1 + # Next line should be removed. This is only to know why does it fail. + mvn -e glassfish-copyright:copyright + mvn -e $1 else mvn -e -U -B clean install $1 >> $BUILD_OUTPUT 2>&1 fi