machine:
  java:
    version: oraclejdk8
dependencies:
  override:
    - mvn clean install -DskipTests
  cache_directories:
    - ~/.m2

general:
  artifacts:
    - "c5-general-replication/target/surefire-reports"

machine:
  java:
    version: oraclejdk8
  environment:
    MAVEN_OPTS: -Xloggc:./gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps

dependencies:
  override:
    - mvn clean install -DskipTests
  cache_directories:
    - ~/.m2

general:
  artifacts:
    - "c5-general-replication/target/surefire-reports"
    - "gc.log"

Add maven option to enable GC logging on CircleCI, and add the GC log to the build artifact list
Add maven option to enable GC logging on CircleCI, and add the GC log to the build artifact list
