<commit_before>version: 2 # use CircleCI 2.0
jobs: # a collection of steps
  build: # runs not using Workflows must have a `build` job as entry point
    
    working_directory: ~/circleci-sejda # directory where steps will run

    docker: # run the steps with Docker
      - image: circleci/openjdk:8-jdk
      - image: circleci/openjdk:11-jdk
      - image: circleci/openjdk:14-jdk-buster
      - image: circleci/openjdk:15-jdk-buster

    steps: # a collection of executable commands

      - checkout # check out source code to working directory

      - restore_cache: # restore the saved cache after the first run or if `pom.xml` has changed
          # Read about caching dependencies: https://circleci.com/docs/2.0/caching/
          key: circleci-sejda-{{ checksum "pom.xml" }}
      
      - run: mvn dependency:go-offline # gets the project dependencies
      
      - save_cache: # saves the project dependencies
          paths:
            - ~/.m2
          key: circleci-sejda-{{ checksum "pom.xml" }}
      
      # run tests!
      - run: mvn clean package
      
      - store_test_results:
          path: target/surefire-reports<commit_msg>CircleCI offline dependencies for multi module<commit_after>version: 2 # use CircleCI 2.0
jobs: # a collection of steps
  build: # runs not using Workflows must have a `build` job as entry point
    
    working_directory: ~/circleci-sejda # directory where steps will run

    docker: # run the steps with Docker
      - image: circleci/openjdk:8-jdk
      - image: circleci/openjdk:11-jdk
      - image: circleci/openjdk:14-jdk-buster
      - image: circleci/openjdk:15-jdk-buster

    steps: # a collection of executable commands

      - checkout # check out source code to working directory

      - restore_cache: # restore the saved cache after the first run or if `pom.xml` has changed
          # Read about caching dependencies: https://circleci.com/docs/2.0/caching/
          key: circleci-sejda-{{ checksum "pom.xml" }}
      
      - run: mvn de.qaware.maven:go-offline-maven-plugin:resolve-dependencies # gets the project dependencies
      
      - save_cache: # saves the project dependencies
          paths:
            - ~/.m2
          key: circleci-sejda-{{ checksum "pom.xml" }}
      
      # run tests!
      - run: mvn clean package
      
      - store_test_results:
          path: target/surefire-reports
{'fraction_non_alphanumeric': 0.08939014202172096, 'fraction_numerical': 0.01086048454469507, 'mean_word_length': 2.321775312066574, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4185061', 'n_tokens_mistral': 753, 'n_tokens_neox': 712, 'n_words': 220}