<commit_before><?xml version="1.0"?>
<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>
    <artifactId>search</artifactId>
    <groupId>org.sakaiproject.search</groupId>
    <version>1.5-SNAPSHOT</version>
    <relativePath>../../pom.xml</relativePath>
  </parent>
  <name>search-impl</name>
  <groupId>org.sakaiproject.search</groupId>
  <artifactId>search-impl</artifactId>
  <packaging>jar</packaging>

    <profiles>
        <profile>
            <id>1.5</id>
            <activation>
                <jdk>1.5</jdk>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.sakaiproject.search</groupId>
                    <artifactId>search-test-1.5</artifactId>
                    <version>${project.version}</version>
                    <scope>test</scope>
                </dependency>
            </dependencies>
            <properties>
                <deploy.target />
                <maven.test.jvmargs />
                <poi.version>3.7</poi.version>
                <lucene.version>2.9.4</lucene.version>
                <bouncycastle.artifact.version>jdk15</bouncycastle.artifact.version>
            </properties>
        </profile>
        <profile>
            <id>1.6</id>
            <activation>
                <jdk>1.6</jdk>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.sakaiproject.search</groupId>
                    <artifactId>search-test-1.6</artifactId>
                    <version>${project.version}</version>
                    <scope>test</scope>
                </dependency>
            </dependencies>
            <properties>
                <maven.test.jvmargs />
                <poi.version>3.7</poi.version>
                <lucene.version>2.9.4</lucene.version>
                <bouncycastle.artifact.version>jdk16</bouncycastle.artifact.version>
            </properties>
        </profile>
    </profiles>

  <build>
    <resources>
      <resource>
        <directory>${basedir}/src/bundle</directory>
        <includes>
          <include>**/*.*</include>
        </includes>
        <filtering>false</filtering>
      </resource>
      <resource>
        <directory>${basedir}/src/sql</directory>
        <includes>
          <include>**/*.sql</include>
        </includes>
        <filtering>false</filtering>
      </resource>
      <resource>
        <directory>${basedir}/src/java</directory>
        <includes>
          <include>**/*.xml</include>
          <include>**/*.xslt</include>
        </includes>
        <filtering>false</filtering>
      </resource>
    </resources>
<!-- java source -->
    <testResources>
      <testResource>
        <directory>${basedir}/src/testBundle</directory>
        <includes>
          <include>**/*.*</include>
        </includes>
        <filtering>false</filtering>
      </testResource>
      <testResource>
        <directory>${basedir}/src/test</directory>
        <includes>
          <include>**/*.properties</include>
        </includes>
        <filtering>false</filtering>
      </testResource>
    </testResources>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkMode>pertest</forkMode>
          <argLine>${maven.test.jvmargs}</argLine>
          <!-- This test randomly has errors at present SAK-13616 -->
          <excludes>
             <exclude>**/OpenFilesTest.java</exclude>
          </excludes>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>org.sakaiproject.kernel</groupId>
      <artifactId>sakai-kernel-util</artifactId>
    </dependency>
    <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring</artifactId>
    </dependency>
    <dependency>
      <groupId>org.sakaiproject.kernel</groupId>
      <artifactId>sakai-kernel-api</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.sakaiproject.kernel</groupId>
      <artifactId>sakai-component-manager</artifactId>
    </dependency>
    <dependency>
      <groupId>org.sakaiproject.search</groupId>
      <artifactId>search-api</artifactId>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.sakaiproject.search</groupId>
      <artifactId>search-model</artifactId>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.sakaiproject.search</groupId>
      <artifactId>search-util</artifactId>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.apache.lucene</groupId>
      <artifactId>lucene-core</artifactId>
      <version>${lucene.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.apache.lucene</groupId>
      <artifactId>lucene-highlighter</artifactId>
      <version>${lucene.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.apache.lucene</groupId>
      <artifactId>lucene-spellchecker</artifactId>
      <version>${lucene.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
    	<groupId>org.apache.sanselan</groupId>
    	<artifactId>sanselan</artifactId>
    	<version>0.97-incubator</version>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-dbcp</groupId>
      <artifactId>commons-dbcp</artifactId>
      <version>1.2.2</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>jtidy</groupId>
      <artifactId>jtidy</artifactId>
      <version>4aug2000r7-dev</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.apache.poi</groupId>
      <artifactId>poi</artifactId>
      <version>${poi.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.apache.poi</groupId>
      <artifactId>poi-ooxml</artifactId>
      <version>${poi.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.apache.poi</groupId>
      <artifactId>poi-scratchpad</artifactId>
      <version>${poi.version}</version>
      <type>jar</type>
    </dependency>
    <!-- As Tika is uses PDFbox the 2 versions need to 
    be co-ordinated -->
    <dependency>
      <groupId>org.apache.pdfbox</groupId>
      <artifactId>pdfbox</artifactId>
      <version>1.6.0</version>
      <type>jar</type>
    </dependency>
    <!-- PDF box uses BouncyCastle for crypotgraphic functions at runtime -->
    <dependency>
    	<groupId>org.bouncycastle</groupId>
    	<artifactId>bcprov-${bouncycastle.artifact.version}</artifactId>
    	<version>1.44</version>
    </dependency>
     <dependency>
    	<groupId>org.bouncycastle</groupId>
    	<artifactId>bcmail-${bouncycastle.artifact.version}</artifactId>
    	<version>1.44</version>
    </dependency>
    <dependency>
	<groupId>org.apache.tika</groupId>
	<artifactId>tika-core</artifactId>
	<version>1.0</version>
	</dependency>
    <dependency>
	<groupId>org.apache.tika</groupId>
	<artifactId>tika-parsers</artifactId>
	<version>1.0</version>
	</dependency>
    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-httpclient</groupId>
      <artifactId>commons-httpclient</artifactId>
      <version>3.1</version>
      <type>jar</type>
    </dependency>
<!--
    HSQL DB does not have clean transaction isolation 
    and hence cannot be used to correctly test the 
    transaction sequence code, hence derby
    -->
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.8.2.2</version>
      <type>jar</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <type>jar</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.easymock</groupId>
      <artifactId>easymock</artifactId>
      <version>2.4</version>
      <type>jar</type>
      <scope>test</scope>
    </dependency>
    <dependency>
    	<groupId>commons-lang</groupId>
    	<artifactId>commons-lang</artifactId>
    </dependency>
    <!--  added for search/entitybroker integration -->
    <dependency>
        <groupId>org.sakaiproject.entitybroker</groupId>
        <artifactId>entitybroker-api</artifactId>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>org.sakaiproject.entitybroker</groupId>
        <artifactId>entitybroker-utils</artifactId>
    </dependency>
  </dependencies>
</project>
<commit_msg>SAK-20908 Update maven compiler plugin to use sakai.jdk.version property<commit_after><?xml version="1.0"?>
<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>
    <artifactId>search</artifactId>
    <groupId>org.sakaiproject.search</groupId>
    <version>1.5-SNAPSHOT</version>
    <relativePath>../../pom.xml</relativePath>
  </parent>
  <name>search-impl</name>
  <groupId>org.sakaiproject.search</groupId>
  <artifactId>search-impl</artifactId>
  <packaging>jar</packaging>

    <profiles>
        <profile>
            <id>1.5</id>
            <activation>
                <jdk>1.5</jdk>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.sakaiproject.search</groupId>
                    <artifactId>search-test-1.5</artifactId>
                    <version>${project.version}</version>
                    <scope>test</scope>
                </dependency>
            </dependencies>
            <properties>
                <deploy.target />
                <maven.test.jvmargs />
                <poi.version>3.7</poi.version>
                <lucene.version>2.9.4</lucene.version>
                <bouncycastle.artifact.version>jdk15</bouncycastle.artifact.version>
            </properties>
        </profile>
        <profile>
            <id>1.6</id>
            <activation>
                <jdk>1.6</jdk>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.sakaiproject.search</groupId>
                    <artifactId>search-test-1.6</artifactId>
                    <version>${project.version}</version>
                    <scope>test</scope>
                </dependency>
            </dependencies>
            <properties>
                <maven.test.jvmargs />
                <poi.version>3.7</poi.version>
                <lucene.version>2.9.4</lucene.version>
                <bouncycastle.artifact.version>jdk16</bouncycastle.artifact.version>
            </properties>
        </profile>
        <profile>
            <id>1.7</id>
            <activation>
                <jdk>1.7</jdk>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.sakaiproject.search</groupId>
                    <artifactId>search-test-1.6</artifactId>
                    <version>${project.version}</version>
                    <scope>test</scope>
                </dependency>
            </dependencies>
            <properties>
                <maven.test.jvmargs />
                <poi.version>3.7</poi.version>
                <lucene.version>2.9.4</lucene.version>
                <bouncycastle.artifact.version>jdk16</bouncycastle.artifact.version>
            </properties>
        </profile>
    </profiles>

  <build>
    <resources>
      <resource>
        <directory>${basedir}/src/bundle</directory>
        <includes>
          <include>**/*.*</include>
        </includes>
        <filtering>false</filtering>
      </resource>
      <resource>
        <directory>${basedir}/src/sql</directory>
        <includes>
          <include>**/*.sql</include>
        </includes>
        <filtering>false</filtering>
      </resource>
      <resource>
        <directory>${basedir}/src/java</directory>
        <includes>
          <include>**/*.xml</include>
          <include>**/*.xslt</include>
        </includes>
        <filtering>false</filtering>
      </resource>
    </resources>
<!-- java source -->
    <testResources>
      <testResource>
        <directory>${basedir}/src/testBundle</directory>
        <includes>
          <include>**/*.*</include>
        </includes>
        <filtering>false</filtering>
      </testResource>
      <testResource>
        <directory>${basedir}/src/test</directory>
        <includes>
          <include>**/*.properties</include>
        </includes>
        <filtering>false</filtering>
      </testResource>
    </testResources>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkMode>pertest</forkMode>
          <argLine>${maven.test.jvmargs}</argLine>
          <!-- This test randomly has errors at present SAK-13616 -->
          <excludes>
             <exclude>**/OpenFilesTest.java</exclude>
          </excludes>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>org.sakaiproject.kernel</groupId>
      <artifactId>sakai-kernel-util</artifactId>
    </dependency>
    <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring</artifactId>
    </dependency>
    <dependency>
      <groupId>org.sakaiproject.kernel</groupId>
      <artifactId>sakai-kernel-api</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.sakaiproject.kernel</groupId>
      <artifactId>sakai-component-manager</artifactId>
    </dependency>
    <dependency>
      <groupId>org.sakaiproject.search</groupId>
      <artifactId>search-api</artifactId>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.sakaiproject.search</groupId>
      <artifactId>search-model</artifactId>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.sakaiproject.search</groupId>
      <artifactId>search-util</artifactId>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.apache.lucene</groupId>
      <artifactId>lucene-core</artifactId>
      <version>${lucene.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.apache.lucene</groupId>
      <artifactId>lucene-highlighter</artifactId>
      <version>${lucene.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.apache.lucene</groupId>
      <artifactId>lucene-spellchecker</artifactId>
      <version>${lucene.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
    	<groupId>org.apache.sanselan</groupId>
    	<artifactId>sanselan</artifactId>
    	<version>0.97-incubator</version>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-dbcp</groupId>
      <artifactId>commons-dbcp</artifactId>
      <version>1.2.2</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>jtidy</groupId>
      <artifactId>jtidy</artifactId>
      <version>4aug2000r7-dev</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.apache.poi</groupId>
      <artifactId>poi</artifactId>
      <version>${poi.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.apache.poi</groupId>
      <artifactId>poi-ooxml</artifactId>
      <version>${poi.version}</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>org.apache.poi</groupId>
      <artifactId>poi-scratchpad</artifactId>
      <version>${poi.version}</version>
      <type>jar</type>
    </dependency>
    <!-- As Tika is uses PDFbox the 2 versions need to 
    be co-ordinated -->
    <dependency>
      <groupId>org.apache.pdfbox</groupId>
      <artifactId>pdfbox</artifactId>
      <version>1.6.0</version>
      <type>jar</type>
    </dependency>
    <!-- PDF box uses BouncyCastle for crypotgraphic functions at runtime -->
    <dependency>
    	<groupId>org.bouncycastle</groupId>
    	<artifactId>bcprov-${bouncycastle.artifact.version}</artifactId>
    	<version>1.44</version>
    </dependency>
     <dependency>
    	<groupId>org.bouncycastle</groupId>
    	<artifactId>bcmail-${bouncycastle.artifact.version}</artifactId>
    	<version>1.44</version>
    </dependency>
    <dependency>
	<groupId>org.apache.tika</groupId>
	<artifactId>tika-core</artifactId>
	<version>1.0</version>
	</dependency>
    <dependency>
	<groupId>org.apache.tika</groupId>
	<artifactId>tika-parsers</artifactId>
	<version>1.0</version>
	</dependency>
    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-httpclient</groupId>
      <artifactId>commons-httpclient</artifactId>
      <version>3.1</version>
      <type>jar</type>
    </dependency>
<!--
    HSQL DB does not have clean transaction isolation 
    and hence cannot be used to correctly test the 
    transaction sequence code, hence derby
    -->
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.8.2.2</version>
      <type>jar</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <type>jar</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.easymock</groupId>
      <artifactId>easymock</artifactId>
      <version>2.4</version>
      <type>jar</type>
      <scope>test</scope>
    </dependency>
    <dependency>
    	<groupId>commons-lang</groupId>
    	<artifactId>commons-lang</artifactId>
    </dependency>
    <!--  added for search/entitybroker integration -->
    <dependency>
        <groupId>org.sakaiproject.entitybroker</groupId>
        <artifactId>entitybroker-api</artifactId>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>org.sakaiproject.entitybroker</groupId>
        <artifactId>entitybroker-utils</artifactId>
    </dependency>
  </dependencies>
</project>

{'fraction_non_alphanumeric': 0.1533767711242114, 'fraction_numerical': 0.010135484538214914, 'mean_word_length': 2.308639863130881, 'pattern_counts': {'":': 0, '<': 900, '<?xml version=': 2, '>': 900, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 12}, 'pii_count': 2, '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': '4603049', 'n_tokens_mistral': 6640, 'n_tokens_neox': 5810, 'n_words': 712}