Skip to content

Commit

Permalink
Print exception when executiong maven
Browse files Browse the repository at this point in the history
Maven by default do not print stack traces when a mojo fails ,this makes
it quite hard to understand build problems that are caused by unexpected
failures.

This adds the -e switch to maven to print full stack trace.
  • Loading branch information
laeubi authored and akurtakov committed Jan 24, 2024
1 parent edd3b44 commit 6791247
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cje-production/mbscripts/mb220_buildSdkPatch.sh
Expand Up @@ -45,4 +45,5 @@ mvn clean verify -DskipTests=true ${MVN_ARGS} \
-Declipse-p2-repo.url=NOT_FOR_PRODUCTION_USE \
-Dgpg.passphrase=${KEYRING_PASSPHRASE} \
-Dcbi-ecj-version=99.99 \
-e \
${JAVA_DOC_TOOL}

0 comments on commit 6791247

Please sign in to comment.