<commit_before><?xml version="1.0" encoding="UTF-8"?>
<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">

  <parent>
    <artifactId>drools-osgi</artifactId>
    <groupId>org.drools</groupId>
    <version>5.1.0.SNAPSHOT</version>
  </parent>

  <modelVersion>4.0.0</modelVersion>
  <artifactId>org.drools.osgi</artifactId>
  <packaging>jar</packaging>

  <name>Drools :: Container :: OSGi :: Plugin</name>
  <build>
    <plugins>    
    
     <!--plugin>
       <artifactId>maven-antrun-plugin</artifactId>
       <inherited>false</inherited>
       <executions>
         <execution>
           <id>clean lib</id>
           <phase>clean</phase>
           <configuration>
             <tasks>                              
                <delete>
                  <fileset dir="lib" includes="**/*.jar" excludes="**/.svn" />                 
                </delete>  
             </tasks>
           </configuration>
           <goals>
             <goal>run</goal>
           </goals>
         </execution>        
       </executions>
     </plugin>    
    
     <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <id>copy-dependencies</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>copy-dependencies</goal>
            </goals>
            <configuration>
              <outputDirectory>lib</outputDirectory>
              <overWriteReleases>true</overWriteReleases>
              <overWriteSnapshots>true</overWriteSnapshots>
              <overWriteIfNewer>true</overWriteIfNewer>
              <stripVersion>true</stripVersion>
            </configuration>
          </execution>
        </executions>
      </plugin-->  

    </plugins>
    
   <resources>
     <resource>
         <directory>META-INF</directory>      
     </resource>
     <resource>
         <directory>lib</directory>       
     </resource>     
   </resources>
    
  </build>

  <dependencies>

    <!-- this should include core and compiler -->
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-decisiontables</artifactId>
      <exclusions>
        <exclusion><commit_msg>JBRULES-2351 OSGi Ready -fiddling with pom for includes/excludes<commit_after><?xml version="1.0" encoding="UTF-8"?>
<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">

  <parent>
    <artifactId>drools-osgi</artifactId>
    <groupId>org.drools</groupId>
    <version>5.1.0.SNAPSHOT</version>
  </parent>

  <modelVersion>4.0.0</modelVersion>
  <artifactId>org.drools.osgi</artifactId>
  <packaging>jar</packaging>

  <name>Drools :: Container :: OSGi :: Plugin</name>
  <build>
    <plugins>    
    
     <plugin>
       <artifactId>maven-antrun-plugin</artifactId>
       <inherited>false</inherited>
       <executions>
         <execution>
           <id>clean lib</id>
           <phase>clean</phase>
           <configuration>
             <tasks>                              
                <delete>
                  <fileset dir="lib" includes="**/*.jar" excludes="**/.svn" />                 
                </delete>  
             </tasks>
           </configuration>
           <goals>
             <goal>run</goal>
           </goals>
         </execution>        
       </executions>
     </plugin>    
    
     <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <id>copy-dependencies</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>copy-dependencies</goal>
            </goals>
            <configuration>
              <outputDirectory>lib</outputDirectory>
              <overWriteReleases>true</overWriteReleases>
              <overWriteSnapshots>true</overWriteSnapshots>
              <overWriteIfNewer>true</overWriteIfNewer>
              <stripVersion>true</stripVersion>
            </configuration>
          </execution>
        </executions>
      </plugin>  

    </plugins>
    
              <resources>          
                <resource>
                  <targetPath>META-INF</targetPath>                
                  <directory>META-INF</directory>
                </resource>  
                <resource>
                  <targetPath>lib</targetPath>                
                  <directory>lib</directory>
                    <includes>
                      <include>*.jar</include>
                      <include>drools-api.jar</include>
                    </includes>
                    <excludes>
                      <exclude>drools-*.jar</exclude>
                    </excludes>                 
                </resource>                    
              </resources>  
    
  </build>

  <dependencies>

    <!-- this should include core and compiler -->
    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-decisiontables</artifactId>
      <exclusions>
        <exclusion>
{'fraction_non_alphanumeric': 0.13777118486927498, 'fraction_numerical': 0.009271277582050807, 'mean_word_length': 1.5907780979827089, 'pattern_counts': {'":': 0, '<': 209, '<?xml version=': 2, '>': 209, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, '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': '4550128', 'n_tokens_mistral': 1677, 'n_tokens_neox': 1513, 'n_words': 191}