<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright (C) FuseSource, Inc.
  http://fusesource.com

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
         
    <parent>
        <groupId>org.jboss.fuse</groupId>
        <artifactId>esb-assembly</artifactId>
        <version>6.1.0.redhat-SNAPSHOT</version>
    </parent>

    <artifactId>jboss-fuse-minimal</artifactId>
    <packaging>pom</packaging>
    
    <name>JBoss Fuse :: ESB :: Assembly (Minimal)</name>

    <dependencies>
        <dependency>
            <groupId>org.jboss.fuse</groupId>
            <artifactId>shared</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.jboss.fuse</groupId>
            <artifactId>jboss-fuse</artifactId>
            <version>${project.version}</version>
            <type>xml</type>
            <classifier>features</classifier>
        </dependency>
    </dependencies>

    <build>
        <plugins>	
            <plugin>
                <groupId>org.apache.karaf.tooling</groupId>
                <artifactId>features-maven-plugin</artifactId>
                <version>${karaf-version}</version>
                <executions>
                    <execution>
                        <id>add-features-to-repo</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>add-features-to-repo</goal>
                        </goals>
                        <configuration>
                            <descriptors>
                                <descriptor>mvn:org.apache.karaf.assemblies.features/standard/${karaf-version}/xml/features</descriptor>
                                <descriptor>mvn:org.apache.karaf.assemblies.features/spring/${karaf-version}/xml/features</descriptor>
                                <descriptor>mvn:org.apache.karaf.assemblies.features/enterprise/${karaf-version}/xml/features</descriptor>
                                <descriptor>mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/${servicemix-nmr-version}/xml/features</descriptor>
                                <descriptor>mvn:org.apache.activemq/activemq-karaf/${activemq-version}/xml/features</descriptor>
                                <descriptor>mvn:org.apache.camel.karaf/apache-camel/${camel-version}/xml/features</descriptor>
                                <descriptor>mvn:org.jboss.fuse/jboss-fuse/${project.version}/xml/features</descriptor>
                                <descriptor>mvn:io.hawt/hawtio-karaf/${hawtio-version}/xml/features</descriptor>
<!--
                                <descriptor>mvn:org.drools/drools-karaf-features/${drools-version}/xml/features</descriptor>
-->

                                <!-- FuseSource only : Fabric -->
                                <descriptor>mvn:org.fusesource.patch/patch-features/${fabric.version}/xml/features</descriptor>
                                <descriptor>mvn:io.fabric8/fabric8-karaf/${fabric.version}/xml/features</descriptor>
                            </descriptors>
                            <includeMvnBasedDescriptors>true</includeMvnBasedDescriptors>
                            <repository>target/features-repo</repository>
                            <features>
                              <feature>karaf-framework</feature>
                              <feature>obr</feature>
                              <feature>config</feature>
                              <feature>xml-specs-api</feature>
                              <feature>esb-commands</feature>
                              <feature>fabric-commands</feature>
                              <feature>fabric-bundle</feature>
                              <feature>fabric-maven-proxy</feature>
                              <feature>camel-core</feature>
                              <feature>camel-spring</feature>
                              <feature>camel-blueprint</feature>
                              <feature>camel-jaxb</feature>
                              <feature>camel-jetty</feature>
                              <feature>camel-jdbc</feature>
                              <feature>camel-jms</feature>
                              <feature>patch</feature>
                            </features>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <id>remove-fabric-bundles</id>
                        <phase>prepare-package</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <target name="remove-fabric-agent">
                                <echo message="Removing fabric-agent, fabric-commands and fabric-configadmin from etc/startup.properties"/>
                                <propertyfile file="target/dependencies/unix/fabric8-karaf-${fabric-version}/etc/startup.properties">
                                    <entry operation="del" key="io/fabric8/fabric-agent/${fabric.version}/fabric-agent-${fabric.version}.jar" />
                                    <entry operation="del" key="io/fabric8/fabric-commands/${fabric.version}/fabric-commands-${fabric.version}.jar" />
                                    <entry operation="del" key="io/fabric8/fabric-configadmin/${fabric.version}/fabric-configadmin-${fabric.version}.jar" />
                                </propertyfile>
                            </target>
                        </configuration>
                    </execution>
                </executions>
            </plugin>              
            <plugin>
                <groupId>org.fusesource.mvnplugins</groupId>
                <artifactId>maven-notices-plugin</artifactId>
                <executions>
                    <execution>
                        <id>merge-notices-in-repository</id>
                        <phase>prepare-package</phase>
                        <goals>
                            <goal>merge-notices-in-repository</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>

<commit_msg>ENTESB-1187 - ensure we have fabric agent available in system even if not loaded on startup<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright (C) FuseSource, Inc.
  http://fusesource.com

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
         
    <parent>
        <groupId>org.jboss.fuse</groupId>
        <artifactId>esb-assembly</artifactId>
        <version>6.1.0.redhat-SNAPSHOT</version>
    </parent>

    <artifactId>jboss-fuse-minimal</artifactId>
    <packaging>pom</packaging>
    
    <name>JBoss Fuse :: ESB :: Assembly (Minimal)</name>

    <dependencies>
        <dependency>
            <groupId>org.jboss.fuse</groupId>
            <artifactId>shared</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.jboss.fuse</groupId>
            <artifactId>jboss-fuse</artifactId>
            <version>${project.version}</version>
            <type>xml</type>
            <classifier>features</classifier>
        </dependency>
    </dependencies>

    <build>
        <plugins>	
            <plugin>
                <groupId>org.apache.karaf.tooling</groupId>
                <artifactId>features-maven-plugin</artifactId>
                <version>${karaf-version}</version>
                <executions>
                    <execution>
                        <id>add-features-to-repo</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>add-features-to-repo</goal>
                        </goals>
                        <configuration>
                            <descriptors>
                                <descriptor>mvn:org.apache.karaf.assemblies.features/standard/${karaf-version}/xml/features</descriptor>
                                <descriptor>mvn:org.apache.karaf.assemblies.features/spring/${karaf-version}/xml/features</descriptor>
                                <descriptor>mvn:org.apache.karaf.assemblies.features/enterprise/${karaf-version}/xml/features</descriptor>
                                <descriptor>mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/${servicemix-nmr-version}/xml/features</descriptor>
                                <descriptor>mvn:org.apache.activemq/activemq-karaf/${activemq-version}/xml/features</descriptor>
                                <descriptor>mvn:org.apache.camel.karaf/apache-camel/${camel-version}/xml/features</descriptor>
                                <descriptor>mvn:org.jboss.fuse/jboss-fuse/${project.version}/xml/features</descriptor>
                                <descriptor>mvn:io.hawt/hawtio-karaf/${hawtio-version}/xml/features</descriptor>
<!--
                                <descriptor>mvn:org.drools/drools-karaf-features/${drools-version}/xml/features</descriptor>
-->

                                <!-- FuseSource only : Fabric -->
                                <descriptor>mvn:org.fusesource.patch/patch-features/${fabric.version}/xml/features</descriptor>
                                <descriptor>mvn:io.fabric8/fabric8-karaf/${fabric.version}/xml/features</descriptor>
                            </descriptors>
                            <includeMvnBasedDescriptors>true</includeMvnBasedDescriptors>
                            <repository>target/features-repo</repository>
                            <features>
                              <feature>karaf-framework</feature>
                              <feature>obr</feature>
                              <feature>config</feature>
                              <feature>xml-specs-api</feature>
                              <feature>esb-commands</feature>
                              <feature>fabric</feature>
                              <feature>fabric-bundle</feature>
                              <feature>camel-core</feature>
                              <feature>camel-spring</feature>
                              <feature>camel-blueprint</feature>
                              <feature>camel-jaxb</feature>
                              <feature>camel-jetty</feature>
                              <feature>camel-jdbc</feature>
                              <feature>camel-jms</feature>
                              <feature>patch</feature>
                            </features>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <id>remove-fabric-bundles</id>
                        <phase>prepare-package</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <target name="remove-fabric-agent">
                                <echo message="Removing fabric-agent, fabric-commands and fabric-configadmin from etc/startup.properties"/>
                                <propertyfile file="target/dependencies/unix/fabric8-karaf-${fabric-version}/etc/startup.properties">
                                    <entry operation="del" key="io/fabric8/fabric-agent/${fabric.version}/fabric-agent-${fabric.version}.jar" />
                                    <entry operation="del" key="io/fabric8/fabric-commands/${fabric.version}/fabric-commands-${fabric.version}.jar" />
                                    <entry operation="del" key="io/fabric8/fabric-configadmin/${fabric.version}/fabric-configadmin-${fabric.version}.jar" />
                                </propertyfile>
                            </target>
                        </configuration>
                    </execution>
                </executions>
            </plugin>              
            <plugin>
                <groupId>org.fusesource.mvnplugins</groupId>
                <artifactId>maven-notices-plugin</artifactId>
                <executions>
                    <execution>
                        <id>merge-notices-in-repository</id>
                        <phase>prepare-package</phase>
                        <goals>
                            <goal>merge-notices-in-repository</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>


{'fraction_non_alphanumeric': 0.11885949845413947, 'fraction_numerical': 0.0048093438680865686, 'mean_word_length': 1.4095348452243006, 'pattern_counts': {'":': 0, '<': 357, '<?xml version=': 2, '>': 357, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 32}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6191280', 'n_tokens_mistral': 3897, 'n_tokens_neox': 3589, 'n_words': 465}