<commit_before>package eu.dnetlib.iis.common;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.SystemUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.google.common.base.Preconditions;

/**
 * Runner of test workflows using maven
 * 
 * @author madryk
 *
 */
public class MavenTestWorkflowRunner {

    private final static Logger log = LoggerFactory.getLogger(MavenTestWorkflowRunner.class);
    
    
    private final static String WORKFLOW_SOURCE_DIR_KEY = "workflow.source.dir";
    
    private final static String MAVEN_TEST_WORKFLOW_PHASE = "clean package";
    
    private final static String MAVEN_TEST_WORKFLOW_PROFILE = "attach-test-resources,oozie-package,deploy,run";
    
    
    private String mavenExecutable;
    
    private String outputDirName;
    
    
    //------------------------ CONSTRUCTORS --------------------------
    
    /**
     * Default constructor
     */
    public MavenTestWorkflowRunner(String mavenExecutable) {
        Preconditions.checkNotNull(mavenExecutable);
        <commit_msg>After merge fix<commit_after>package eu.dnetlib.iis.common;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.SystemUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.google.common.base.Preconditions;

/**
 * Runner of test workflows using maven
 * 
 * @author madryk
 *
 */
public class MavenTestWorkflowRunner {

    private final static Logger log = LoggerFactory.getLogger(MavenTestWorkflowRunner.class);
    
    
    private final static String WORKFLOW_SOURCE_DIR_KEY = "workflow.source.dir";
    
    private final static String MAVEN_TEST_WORKFLOW_PHASE = "clean package";
    
    private final static String MAVEN_TEST_WORKFLOW_PROFILE = "attach-test-resources,oozie-package,deploy,run";
    
    
    private String mavenExecutable;
    
    private String outputDirName;
    
    
    //------------------------ CONSTRUCTORS --------------------------
    
    /**
     * Default constructor
     */
    public MavenTestWorkflowRunner(String mavenExecutable, String outputDirName) {
        Preconditions.checkNotNull(mavenExecutable);
        
{'fraction_non_alphanumeric': 0.11951013513513513, 'fraction_numerical': 0.0016891891891891893, 'mean_word_length': 2.9681742043551087, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '7394080', 'n_tokens_mistral': 702, 'n_tokens_neox': 695, 'n_words': 138}