machine:

  timezone:
    America/Los_Angeles

  java:
    version:
      oraclejdk8

test:
  post:
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;

machine:

  timezone:
    America/Los_Angeles

  java:
    version:
      oraclejdk8

test:
  # Call 'mvn deploy' instead of the default 'mvn integration-test'
  override:
    - mvn deploy
  post:
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;

Call 'mvn deploy' instead of the default 'mvn integration-test'
Call 'mvn deploy' instead of the default 'mvn integration-test'
