<commit_before><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/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-parent</artifactId>
    <version>2.4-SNAPSHOT</version>
  </parent>

  <artifactId>camel-spring-osgi</artifactId>
  <name>Camel :: Spring :: OSGi</name>
  <description>Camel Spring support with OSGi </description>
  <packaging>bundle</packaging>

  <properties>
      <camel.osgi.import>
        !org.apache.camel.spring.*,
        !org.apache.camel.component,
        !org.apache.camel.component.event,
        !org.apache.camel.component.validator,
        !org.apache.camel.component.xslt,
        !org.apache.camel.osgi.*,
        org.apache.camel.*;${camel.osgi.import.strict.version},
        org.osgi.framework;version="[1.3,2)",
        org.springframework.osgi.*;version="[1.2,2)",
        org.springframework.*;version="[2.5,4)",
        *
      </camel.osgi.import>
      <camel.osgi.export>
        org.apache.camel.spring.*;${camel.osgi.version},
        org.apache.camel.osgi.*;${camel.osgi.version},
        org.apache.camel.component;${camel.osgi.split.pkg};${camel.osgi.version},
        org.apache.camel.component.event;${camel.osgi.split.pkg};${camel.osgi.version},
        org.apache.camel.component.test;${camel.osgi.split.pkg};${camel.osgi.version},
        org.apache.camel.component.validator;${camel.osgi.split.pkg};${camel.osgi.version},
        org.apache.camel.component.xslt;${camel.osgi.split.pkg};${camel.osgi.version}
      </camel.osgi.export>
      <camel.osgi.private.pkg>
        org.apache.camel.core.xml*,
        org.apache.camel.core.osgi*
      </camel.osgi.private.pkg>
      <camel.osgi.activator>
        org.apache.camel.core.osgi.Activator
      </camel.osgi.activator>
  </properties>

  <dependencies>
    <dependency>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-spring</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-osgi</artifactId>
    </dependency> 
    <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.osgi.core</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework.osgi</groupId>
      <artifactId>spring-osgi-core</artifactId>
    </dependency>
  </dependencies>
  <build>
    <resources>
      <resource>
        <directory>src/main/resources</directory>
        <includes>
          <include>**/*</include>
        </includes>
        <filtering>true</filtering>
      </resource>
    </resources>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                        <configuration>
                            <artifactSet>
                                <includes>
                                    <include>org.apache.camel:camel-spring</include>
                                    <include>org.apache.camel:camel-osgi</include>
                                </includes>
                            </artifactSet>
                            <filters>
                                <filter>
                                    <artifact>org.apache.camel:camel-spring</artifact>
                                    <excludes>
                                        <exclude>**/org/**</exclude>
                                    </excludes>
                                </filter>
                                <filter>
                                    <artifact>org.apache.camel:camel-osgi</artifact>
                                    <excludes>
                                        <exclude>**/org/**</exclude>
                                    </excludes>
                                </filter>
                            </filters>
                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
                            <createDependencyReducedPom>true</createDependencyReducedPom>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>


<commit_msg>Export the osgi package from camel-osgi<commit_after><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/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-parent</artifactId>
    <version>2.4-SNAPSHOT</version>
  </parent>

  <artifactId>camel-spring-osgi</artifactId>
  <name>Camel :: Spring :: OSGi</name>
  <description>Camel Spring support with OSGi </description>
  <packaging>bundle</packaging>

  <properties>
      <camel.osgi.import>
        !org.apache.camel.spring.*,
        !org.apache.camel.component,
        !org.apache.camel.component.event,
        !org.apache.camel.component.validator,
        !org.apache.camel.component.xslt,
        !org.apache.camel.osgi.*,
        org.apache.camel.*;${camel.osgi.import.strict.version},
        org.osgi.framework;version="[1.3,2)",
        org.springframework.osgi.*;version="[1.2,2)",
        org.springframework.*;version="[2.5,4)",
        *
      </camel.osgi.import>
      <camel.osgi.export>
        org.apache.camel.osgi.*;${camel.osgi.version},
        org.apache.camel.spring.*;${camel.osgi.version},
        org.apache.camel.osgi.*;${camel.osgi.version},
        org.apache.camel.component;${camel.osgi.split.pkg};${camel.osgi.version},
        org.apache.camel.component.event;${camel.osgi.split.pkg};${camel.osgi.version},
        org.apache.camel.component.test;${camel.osgi.split.pkg};${camel.osgi.version},
        org.apache.camel.component.validator;${camel.osgi.split.pkg};${camel.osgi.version},
        org.apache.camel.component.xslt;${camel.osgi.split.pkg};${camel.osgi.version}
      </camel.osgi.export>
      <camel.osgi.private.pkg>
        org.apache.camel.core.xml*,
        org.apache.camel.core.osgi*
      </camel.osgi.private.pkg>
      <camel.osgi.activator>
        org.apache.camel.core.osgi.Activator
      </camel.osgi.activator>
  </properties>

  <dependencies>
    <dependency>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-spring</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-osgi</artifactId>
    </dependency> 
    <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.osgi.core</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework.osgi</groupId>
      <artifactId>spring-osgi-core</artifactId>
    </dependency>
  </dependencies>
  <build>
    <resources>
      <resource>
        <directory>src/main/resources</directory>
        <includes>
          <include>**/*</include>
        </includes>
        <filtering>true</filtering>
      </resource>
    </resources>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                        <configuration>
                            <artifactSet>
                                <includes>
                                    <include>org.apache.camel:camel-spring</include>
                                    <include>org.apache.camel:camel-osgi</include>
                                </includes>
                            </artifactSet>
                            <filters>
                                <filter>
                                    <artifact>org.apache.camel:camel-spring</artifact>
                                    <excludes>
                                        <exclude>**/org/**</exclude>
                                    </excludes>
                                </filter>
                                <filter>
                                    <artifact>org.apache.camel:camel-osgi</artifact>
                                    <excludes>
                                        <exclude>**/org/**</exclude>
                                    </excludes>
                                </filter>
                            </filters>
                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
                            <createDependencyReducedPom>true</createDependencyReducedPom>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>



{'fraction_non_alphanumeric': 0.14096114738306753, 'fraction_numerical': 0.005993792143851011, 'mean_word_length': 1.5502183406113537, 'pattern_counts': {'":': 0, '<': 247, '<?xml version=': 0, '>': 247, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5199259', 'n_tokens_mistral': 2899, 'n_tokens_neox': 2663, 'n_words': 248}