<commit_before>package org.jenkins.tools.test.maven;

import java.io.BufferedReader;
import java.io.File;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.jenkins.tools.test.exception.PomExecutionException;

public class ExternalMavenRunner implements MavenRunner {
    
    private File mvn;
    
    public ExternalMavenRunner(File mvn) {
        this.mvn = mvn;
    }

    public void run(Config config, File baseDirectory, File buildLogFile, String... goals) throws PomExecutionException {
        List<String> cmd = new ArrayList<String>();
        cmd.add(mvn.getAbsolutePath());<commit_msg>Always run with -B so as to avoid long download messages.<commit_after>package org.jenkins.tools.test.maven;

import java.io.BufferedReader;
import java.io.File;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.jenkins.tools.test.exception.PomExecutionException;

public class ExternalMavenRunner implements MavenRunner {
    
    private File mvn;
    
    public ExternalMavenRunner(File mvn) {
        this.mvn = mvn;
    }

    public void run(Config config, File baseDirectory, File buildLogFile, String... goals) throws PomExecutionException {
        List<String> cmd = new ArrayList<String>();
        cmd.add(mvn.getAbsolutePath());
        cmd.add("--batch-mode");
{'fraction_non_alphanumeric': 0.10289937464468447, 'fraction_numerical': 0.0, 'mean_word_length': 4.176470588235294, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4744855', 'n_tokens_mistral': 530, 'n_tokens_neox': 516, 'n_words': 126}