Skip to content

Commit

Permalink
Updated with improved error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Jul 3, 2019
1 parent ca7e663 commit 1622a57
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions update-xslt-and-validate.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,24 @@

rem preprocess first - catches errors quickers
call mvn -f pom-preprocess.xml generate-resources
if errorlevel 1 goto error

rem convert to XSLT - takes forever
call mvn -f pom-xslt.xml process-resources
if errorlevel 1 goto error

rem Add license headers to all relevant files
call mvn -f pom-license.xml license:format
if errorlevel 1 goto error

rem validate afterwards
call mvn -f pom-validate.xml validate
if errorlevel 1 goto error

echo Sucessfully done
goto end

:error
pause

:end

0 comments on commit 1622a57

Please sign in to comment.