<commit_before><features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0" name="opennms-${project.version}">    
    <!-- camel features -->
    <repository>mvn:org.apache.camel.karaf/apache-camel/${camelVersion}/xml/features</repository>
    
    <!--  activemq features -->
    <repository>mvn:org.apache.activemq/activemq-karaf/${activemqVersion}/xml/features</repository>

    <!-- Dependency features -->
    <feature name="atomikos" description="Atomikos :: TransactionEssentials" version="${atomikosVersion}">
      <bundle>wrap:mvn:com.atomikos/atomikos-util/${atomikosVersion}</bundle>
      <bundle>wrap:mvn:com.atomikos/transactions-api/${atomikosVersion}</bundle>
      <bundle>wrap:mvn:com.atomikos/transactions/${atomikosVersion}</bundle>
      <bundle>wrap:mvn:com.atomikos/transactions-jta/${atomikosVersion}</bundle>
      <bundle>wrap:mvn:com.atomikos/transactions-jdbc/${atomikosVersion}</bundle>
    </feature>

    <feature name="c3p0" description="c3p0" version="0.9.1.2">
      <bundle>wrap:mvn:c3p0/c3p0/0.9.1.2</bundle>
    </feature>

    <feature name="castor" description="Castor" version="1.1.2.1">
      <!-- This castor.properties file overrides the default settings for Castor so that it works with JDK5+ -->
      <bundle dependency="true">mvn:org.opennms.core/org.opennms.core.castor-properties/${project.version}</bundle>
      <bundle dependency="true">wrap:mvn:oro/oro/${oroVersion}</bundle>
      <!--
        We must make sure that the Bundle-SymbolicName matches the Fragment-Host of org.opennms.core.castor-properties.
      -->
      <bundle>wrap:mvn:org.codehaus.castor/castor/1.1.2.1$Bundle-SymbolicName=org.codehaus.castor&amp;Bundle-Version=1.1.2.1&amp;Import-Package=javax.naming,javax.naming.directory,javax.xml.parsers,org.apache.commons.logging,org.apache.oro.text.regex,org.w3c.dom,org.xml.sax,org.xml.sax.helpers</bundle>
    </feature>

    <feature name="commons-codec" description="Apache :: commons-codec" version="${commonsCodecVersion}">
      <bundle>mvn:commons-codec/commons-codec/${commonsCodecVersion}</bundle>
    </feature>

    <feature name="commons-collections" description="Apache :: commons-collections" version="${commonsCollectionsVersion}">
      <bundle>mvn:commons-collections/commons-collections/${commonsCollectionsVersion}</bundle>
    </feature>

    <feature name="commons-io" description="Apache :: commons-io" version="${commonsIoVersion}">
      <bundle>mvn:commons-io/commons-io/${commonsIoVersion}</bundle>
    </feature>

    <feature name="commons-lang" description="Apache :: commons-lang" version="${commonsLangVersion}">
      <bundle>mvn:commons-lang/commons-lang/${commonsLangVersion}</bundle>
    </feature>

    <feature name="dnsjava" description="dnsjava" version="${dnsjavaVersion}">
      <bundle dependency="true">wrap:mvn:org.dnsjava/dnsjava/${dnsjavaVersion}</bundle>
    </feature>

    <feature name="hibernate" description="Hibernate :: Hibernate ORM" version="3.6.10.Final">
      <bundle dependency="true">wrap:mvn:antlr/antlr/2.7.7</bundle>
      <bundle dependency="true">wrap:mvn:dom4j/dom4j/1.6.1</bundle>
      <bundle dependency="true">wrap:mvn:javax.transaction/jta/1.1</bundle>
      <bundle dependency="true">mvn:commons-collections/commons-collections/3.2.1</bundle>
      <bundle>wrap:mvn:org.hibernate/hibernate-core/3.6.10.Final</bundle>
      <bundle>wrap:mvn:org.hibernate/hibernate-commons-annotations/3.2.0.Final</bundle>
    </feature>

    <feature name="jaxb" description="Apache ServiceMix :: JAXB" version="2.2.0">
      <bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-activation_1.1_spec/1.0.2</bundle>
      <bundle dependency="true">wrap:mvn:javax.xml.stream/stax-api/1.0-2</bundle>
      <bundle dependency="true">wrap:mvn:javax.activation/activation/1.1.1</bundle>
      <bundle dependency="true">wrap:mvn:org.eclipse.persistence/eclipselink/2.5.1</bundle>
      <bundle dependency="true">mvn:org.eclipse.persistence/javax.persistence/2.1.0</bundle>
      <bundle dependency="true">mvn:org.eclipse.persistence/commonj.sdo/2.1.1</bundle>
      <bundle dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/2.2.0</bundle>
      <bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.2/2.2.0</bundle>
      <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.6_1</bundle>
    </feature>

    <feature name="jrobin" description="JRobin" version="1.6.0-SNAPSHOT">
      <bundle>mvn:org.jrobin/jrobin/1.6.0-SNAPSHOT</bundle>
    </feature>

    <feature name="postgresql" description="PostgreSQL :: JDBC Driver" version="9.3-1100-jdbc4">
      <bundle>wrap:mvn:org.postgresql/postgresql/9.3-1100-jdbc4</bundle>
    </feature>

    <feature name="slf4j-api" description="slf4j :: API" version="${slf4jVersion}">
      <bundle>mvn:org.slf4j/slf4j-api/${slf4jVersion}</bundle>
    </feature>

    <feature name="spring-security" description="Spring Security :: Core" version="${springSecurityVersion}">
      <!-- This is necessary for HTTP remoting -->
      <feature version="[3.2,3.3)">spring-web</feature>
      <feature>commons-codec</feature>

      <bundle>mvn:org.springframework.security/spring-security-core/${springSecurityVersion}</bundle>
      <bundle>mvn:org.springframework.security/spring-security-remoting/${springSecurityVersion}</bundle>
    </feature>

    <!-- OpenNMS features -->
    <feature name="opennms-core" description="OpenNMS :: Core" version="${project.version}">
      <feature version="[3.2,3.3)">spring</feature>
      <feature version="[3.2,3.3)">spring-orm</feature>

      <feature>castor</feature>
      <feature>commons-io</feature>
      <feature>dnsjava</feature>
      <feature>jaxb</feature>

      <bundle>mvn:org.opennms.core/org.opennms.core.api/${project.version}</bundle>
      <bundle>mvn:org.opennms.core/org.opennms.core.criteria/${project.version}</bundle>
      <bundle>mvn:org.opennms.core/org.opennms.core.lib/${project.version}</bundle>
      <bundle>mvn:org.opennms.core/org.opennms.core.logging/${project.version}</bundle>
      <bundle>mvn:org.opennms.core/org.opennms.core.soa/${project.version}</bundle>
      <bundle>mvn:org.opennms.core/org.opennms.core.spring/${project.version}</bundle>
      <bundle>mvn:org.opennms.core/org.opennms.core.xml/${project.version}</bundle>
      <bundle>mvn:org.opennms/opennms-util/${project.version}</bundle>
    </feature>

    <feature name="opennms-core-db" description="OpenNMS :: Core :: Database" version="${project.version}"><commit_msg>Got rid of Spring Security feature since it is provided in Karaf 2.3.4+.<commit_after><features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0" name="opennms-${project.version}">    
    <!-- camel features -->
    <repository>mvn:org.apache.camel.karaf/apache-camel/${camelVersion}/xml/features</repository>
    
    <!--  activemq features -->
    <repository>mvn:org.apache.activemq/activemq-karaf/${activemqVersion}/xml/features</repository>

    <!-- Dependency features -->
    <feature name="atomikos" description="Atomikos :: TransactionEssentials" version="${atomikosVersion}">
      <bundle>wrap:mvn:com.atomikos/atomikos-util/${atomikosVersion}</bundle>
      <bundle>wrap:mvn:com.atomikos/transactions-api/${atomikosVersion}</bundle>
      <bundle>wrap:mvn:com.atomikos/transactions/${atomikosVersion}</bundle>
      <bundle>wrap:mvn:com.atomikos/transactions-jta/${atomikosVersion}</bundle>
      <bundle>wrap:mvn:com.atomikos/transactions-jdbc/${atomikosVersion}</bundle>
    </feature>

    <feature name="c3p0" description="c3p0" version="0.9.1.2">
      <bundle>wrap:mvn:c3p0/c3p0/0.9.1.2</bundle>
    </feature>

    <feature name="castor" description="Castor" version="1.1.2.1">
      <!-- This castor.properties file overrides the default settings for Castor so that it works with JDK5+ -->
      <bundle dependency="true">mvn:org.opennms.core/org.opennms.core.castor-properties/${project.version}</bundle>
      <bundle dependency="true">wrap:mvn:oro/oro/${oroVersion}</bundle>
      <!--
        We must make sure that the Bundle-SymbolicName matches the Fragment-Host of org.opennms.core.castor-properties.
      -->
      <bundle>wrap:mvn:org.codehaus.castor/castor/1.1.2.1$Bundle-SymbolicName=org.codehaus.castor&amp;Bundle-Version=1.1.2.1&amp;Import-Package=javax.naming,javax.naming.directory,javax.xml.parsers,org.apache.commons.logging,org.apache.oro.text.regex,org.w3c.dom,org.xml.sax,org.xml.sax.helpers</bundle>
    </feature>

    <feature name="commons-codec" description="Apache :: commons-codec" version="${commonsCodecVersion}">
      <bundle>mvn:commons-codec/commons-codec/${commonsCodecVersion}</bundle>
    </feature>

    <feature name="commons-collections" description="Apache :: commons-collections" version="${commonsCollectionsVersion}">
      <bundle>mvn:commons-collections/commons-collections/${commonsCollectionsVersion}</bundle>
    </feature>

    <feature name="commons-io" description="Apache :: commons-io" version="${commonsIoVersion}">
      <bundle>mvn:commons-io/commons-io/${commonsIoVersion}</bundle>
    </feature>

    <feature name="commons-lang" description="Apache :: commons-lang" version="${commonsLangVersion}">
      <bundle>mvn:commons-lang/commons-lang/${commonsLangVersion}</bundle>
    </feature>

    <feature name="dnsjava" description="dnsjava" version="${dnsjavaVersion}">
      <bundle dependency="true">wrap:mvn:org.dnsjava/dnsjava/${dnsjavaVersion}</bundle>
    </feature>

    <feature name="hibernate" description="Hibernate :: Hibernate ORM" version="3.6.10.Final">
      <bundle dependency="true">wrap:mvn:antlr/antlr/2.7.7</bundle>
      <bundle dependency="true">wrap:mvn:dom4j/dom4j/1.6.1</bundle>
      <bundle dependency="true">wrap:mvn:javax.transaction/jta/1.1</bundle>
      <bundle dependency="true">mvn:commons-collections/commons-collections/3.2.1</bundle>
      <bundle>wrap:mvn:org.hibernate/hibernate-core/3.6.10.Final</bundle>
      <bundle>wrap:mvn:org.hibernate/hibernate-commons-annotations/3.2.0.Final</bundle>
    </feature>

    <feature name="jaxb" description="Apache ServiceMix :: JAXB" version="2.2.0">
      <bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-activation_1.1_spec/1.0.2</bundle>
      <bundle dependency="true">wrap:mvn:javax.xml.stream/stax-api/1.0-2</bundle>
      <bundle dependency="true">wrap:mvn:javax.activation/activation/1.1.1</bundle>
      <bundle dependency="true">wrap:mvn:org.eclipse.persistence/eclipselink/2.5.1</bundle>
      <bundle dependency="true">mvn:org.eclipse.persistence/javax.persistence/2.1.0</bundle>
      <bundle dependency="true">mvn:org.eclipse.persistence/commonj.sdo/2.1.1</bundle>
      <bundle dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/2.2.0</bundle>
      <bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.2/2.2.0</bundle>
      <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.6_1</bundle>
    </feature>

    <feature name="jrobin" description="JRobin" version="1.6.0-SNAPSHOT">
      <bundle>mvn:org.jrobin/jrobin/1.6.0-SNAPSHOT</bundle>
    </feature>

    <feature name="postgresql" description="PostgreSQL :: JDBC Driver" version="9.3-1100-jdbc4">
      <bundle>wrap:mvn:org.postgresql/postgresql/9.3-1100-jdbc4</bundle>
    </feature>

    <feature name="slf4j-api" description="slf4j :: API" version="${slf4jVersion}">
      <bundle>mvn:org.slf4j/slf4j-api/${slf4jVersion}</bundle>
    </feature>

    <!-- OpenNMS features -->
    <feature name="opennms-core" description="OpenNMS :: Core" version="${project.version}">
      <feature version="[3.2,3.3)">spring</feature>
      <feature version="[3.2,3.3)">spring-orm</feature>

      <feature>castor</feature>
      <feature>commons-io</feature>
      <feature>dnsjava</feature>
      <feature>jaxb</feature>

      <bundle>mvn:org.opennms.core/org.opennms.core.api/${project.version}</bundle>
      <bundle>mvn:org.opennms.core/org.opennms.core.criteria/${project.version}</bundle>
      <bundle>mvn:org.opennms.core/org.opennms.core.lib/${project.version}</bundle>
      <bundle>mvn:org.opennms.core/org.opennms.core.logging/${project.version}</bundle>
      <bundle>mvn:org.opennms.core/org.opennms.core.soa/${project.version}</bundle>
      <bundle>mvn:org.opennms.core/org.opennms.core.spring/${project.version}</bundle>
      <bundle>mvn:org.opennms.core/org.opennms.core.xml/${project.version}</bundle>
      <bundle>mvn:org.opennms/opennms-util/${project.version}</bundle>
    </feature>

    <feature name="opennms-core-db" description="OpenNMS :: Core :: Database" version="${project.version}">
{'fraction_non_alphanumeric': 0.17955757765924066, 'fraction_numerical': 0.02063068716661437, 'mean_word_length': 4.4459632635625805, 'pattern_counts': {'":': 0, '<': 278, '<?xml version=': 0, '>': 278, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 18}, 'pii_count': 10, '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': '6265370', 'n_tokens_mistral': 4468, 'n_tokens_neox': 4440, 'n_words': 411}