<commit_before>package org.cipango.plugin;

import java.io.File;
import java.util.List;

import org.cipango.sipapp.SipAppContext;
import org.eclipse.jetty.plus.webapp.EnvConfiguration;
import org.eclipse.jetty.webapp.Configuration;
import org.eclipse.jetty.util.LazyList;
import org.eclipse.jetty.util.resource.Resource;

public class CipangoSipAppContext extends SipAppContext
{

    private List<File> classpathFiles;
    private File jettyEnvXmlFile;
    private File webXmlFile;

    private String[] configs = 
    	new String[]{
    		"org.mortbay.jetty.plugin.MavenWebInfConfiguration",
    		"org.eclipse.jetty.webapp.WebXmlConfiguration",
    		"org.eclipse.jetty.webapp.MetaInfConfiguration",
    		"org.eclipse.jetty.webapp.FragmentConfiguration",
    		"org.eclipse.jetty.plus.webapp.EnvConfiguration",
    		"org.eclipse.jetty.webapp.JettyWebXmlConfiguration",
    		"org.eclipse.jetty.webapp.TagLibConfiguration",
    		"org.cipango.sipapp.SipXmlConfiguration",
    		"org.cipango.plus.sipapp.Configuration"
    };
    
    private String jettyEnvXml;
    private List<Resource> overlays;
    private boolean unpackOverlays;
    
    public CipangoSipAppContext()
    {
        super();
        setConfigurationClasses(configs);
    }
    
    public void addConfiguration(String configuration)
    {<commit_msg>Fix CIPANGO-101: Unable to configure specific configuration classes with maven plugin<commit_after>package org.cipango.plugin;

import java.io.File;
import java.util.List;

import org.cipango.sipapp.SipAppContext;
import org.eclipse.jetty.plus.webapp.EnvConfiguration;
import org.eclipse.jetty.webapp.Configuration;
import org.eclipse.jetty.util.LazyList;
import org.eclipse.jetty.util.resource.Resource;

public class CipangoSipAppContext extends SipAppContext
{

    private List<File> classpathFiles;
    private File jettyEnvXmlFile;
    private File webXmlFile;

    private String[] configs = 
    	new String[]{
    		"org.mortbay.jetty.plugin.MavenWebInfConfiguration",
    		"org.eclipse.jetty.webapp.WebXmlConfiguration",
    		"org.eclipse.jetty.webapp.MetaInfConfiguration",
    		"org.eclipse.jetty.webapp.FragmentConfiguration",
    		"org.eclipse.jetty.plus.webapp.EnvConfiguration",
    		"org.eclipse.jetty.webapp.JettyWebXmlConfiguration",
    		"org.eclipse.jetty.webapp.TagLibConfiguration",
    		"org.cipango.sipapp.SipXmlConfiguration",
    		"org.cipango.plus.sipapp.Configuration"
    };
    
    private String jettyEnvXml;
    private List<Resource> overlays;
    private boolean unpackOverlays;
    
    public CipangoSipAppContext()
    {
        super();
        setConfigurationClasses(configs);
    }
    
    @Override
    public void setConfigurationClasses(String[] c)
    {
    	super.setConfigurationClasses(c);
    	configs = c;
    }
    
    public void addConfiguration(String configuration)
    {
{'fraction_non_alphanumeric': 0.09741620111731844, 'fraction_numerical': 0.001047486033519553, 'mean_word_length': 3.7044334975369457, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1119274', 'n_tokens_mistral': 930, 'n_tokens_neox': 912, 'n_words': 140}