Skip to content

Commit

Permalink
[hotfix][travis] Retain existing MAVEN_OPTS in Travis maven setup
Browse files Browse the repository at this point in the history
Removes a potential sources of unexpected behavior for when we defined MAVEN_OPTS in .travis.yml, which until now would've been ignored by this script.
  • Loading branch information
zentol committed May 10, 2019
1 parent 6a9d8f7 commit 446e711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/travis/setup_maven.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fi

export M2_HOME="${MAVEN_VERSIONED_DIR}"
export PATH=${M2_HOME}/bin:${PATH}
export MAVEN_OPTS="-Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss.SSS"
export MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss.SSS"

# just in case: clean up the .m2 home and remove invalid jar files
if [ -d "${HOME}/.m2/repository/" ]; then
Expand Down

0 comments on commit 446e711

Please sign in to comment.