<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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>edu.harvard.iq</groupId>
    <artifactId>dataverse</artifactId>
    <version>4.0</version>
    <packaging>war</packaging>

    <name>dataverse</name>

    <properties>
        <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <repositories>
        <repository>
            <id>prime-repo</id>  
            <name>PrimeFaces Maven Repository</name>  
            <url>http://repository.primefaces.org</url>  
            <layout>default</layout>  
        </repository>   
	<repository>
            <id>central-repo</id>  
            <name>Central Repository</name>  
            <url>http://repo1.maven.org/maven2</url>  
            <layout>default</layout>  
        </repository>   	
	<repository>
            <id>dvn.private</id>
            <name>Local repository for hosting jars not available from network repositories.</name>
            <url>file://${project.basedir}/local_lib</url>
        </repository>
    </repositories>
             
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.8.1</version>
            <scope>test</scope>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>org.glassfish</groupId>
            <artifactId>javax.json</artifactId>
            <version>1.0.4</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>commons-httpclient</groupId>
            <artifactId>commons-httpclient</artifactId>
            <version>3.0.1</version>
            <type>jar</type>
        </dependency>
	<dependency>
            <groupId>javax</groupId>
            <artifactId>javaee-api</artifactId>
            <version>7.0</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax</groupId>
            <artifactId>javaee-web-api</artifactId>
            <version>7.0</version>
            <scope>provided</scope>
        </dependency>
        
        <dependency>
            <groupId>org.primefaces</groupId>
            <artifactId>primefaces</artifactId>
            <version>4.0</version>
        </dependency>
        <dependency>
            <groupId>org.primefaces.themes</groupId>
            <artifactId>all-themes</artifactId>
            <version>1.0.10</version>
        </dependency>
	<dependency>
	  <groupId>org.atmosphere</groupId>
	  <artifactId>atmosphere-runtime</artifactId>
	  <version>2.0.8</version>
	</dependency>
        <dependency>
            <groupId>org.omnifaces</groupId>
            <artifactId>omnifaces</artifactId>
            <version>1.7</version> <!-- Or 1.8-SNAPSHOT -->
        </dependency>          
        
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-validator</artifactId>
            <version>5.0.1.Final</version>
        </dependency>
         
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.6</version>
        </dependency>
        <dependency>
            <groupId>org.apache.solr</groupId>
            <artifactId>solr-solrj</artifactId>
            <version>4.6.0</version>
        </dependency>
        <dependency>
            <!-- required by Solr... prevents java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory -->
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
            <version>1.1.3</version>
        </dependency>
	<dependency>
	     <groupId>org.apache.commons</groupId>
	     <artifactId>commons-math</artifactId>
	     <version>2.2</version>
	</dependency> 
	<dependency>
	     <groupId>colt</groupId>
	     <artifactId>colt</artifactId>
	     <version>1.2.0</version>
	</dependency> 
	<!-- fits.jar, not available from network repos, supplied in local_lib -->
       <dependency>
            <groupId>nom.tam.fits</groupId>
            <artifactId>fits</artifactId>
            <version>2012-10-25-generated</version>
        </dependency>
       <!-- Rosuda Rengine and Rserve, packaged by org.nuiton.thirdparty -->
       <!-- TODO: see if there's another, better maintained maven repository for Rosuda libraries? - L.A. -->
       <dependency>
	 <groupId>org.nuiton.thirdparty</groupId>
	 <artifactId>REngine</artifactId>
	 <version>0.6-1</version>
       </dependency>
       <dependency>
	 <groupId>org.nuiton.thirdparty</groupId>
	 <artifactId>Rserve</artifactId>
	 <version>0.6-1</version>
       </dependency>
       <!-- Apache POI - used by ingest to parse MS Excel xslx files -->
       <dependency>
	 <groupId>org.apache.poi</groupId>
	 <artifactId>poi</artifactId>
	 <version>3.10-FINAL</version>
       </dependency>
       <dependency>
	 <groupId>org.apache.poi</groupId>
	 <artifactId>poi-ooxml</artifactId>
	 <version>3.10-FINAL</version>
       </dependency>
       <dependency>
	 <groupId>org.apache.poi</groupId>
	 <artifactId>poi-examples</artifactId>
	 <version>3.10-FINAL</version>
       </dependency>
       <dependency>
            <groupId>edu.harvard.hul.ois.jhove</groupId>
            <artifactId>jhove</artifactId>
            <version>1.11.0</version>
        </dependency>
        <dependency>
            <groupId>edu.harvard.hul.ois.jhove</groupId>
            <artifactId>jhove-module</artifactId>
            <version>1.11.0</version>
        </dependency>
        <dependency>
            <groupId>edu.harvard.hul.ois.jhove</groupId>
            <artifactId>jhove-handler</artifactId>
            <version>1.11.0</version>
        </dependency>
    </dependencies>

    <build>
        <resources>
            <resource><commit_msg>JAI (java advanced imaging) jars added to the pom.xml. (this is for handling TIFF and other more exotic image formats).<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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>edu.harvard.iq</groupId>
    <artifactId>dataverse</artifactId>
    <version>4.0</version>
    <packaging>war</packaging>

    <name>dataverse</name>

    <properties>
        <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <repositories>
        <repository>
            <id>prime-repo</id>  
            <name>PrimeFaces Maven Repository</name>  
            <url>http://repository.primefaces.org</url>  
            <layout>default</layout>  
        </repository>
	<!-- Geo Toolkit repository is need to obtain the JAI (advanced imaging) libraries; since Oracle kind of abandoned that project, the jars seem to have disappeared from the central repository as well. -->
        <repository>	    
            <id>geotk-repo</id>  
            <name>Geo Toolkit Maven Repository</name>  
            <url>http://maven.geotoolkit.org</url>  
            <layout>default</layout>  
        </repository>   
	<repository>
            <id>central-repo</id>  
            <name>Central Repository</name>  
            <url>http://repo1.maven.org/maven2</url>  
            <layout>default</layout>  
        </repository>   	
	<repository>
            <id>dvn.private</id>
            <name>Local repository for hosting jars not available from network repositories.</name>
            <url>file://${project.basedir}/local_lib</url>
        </repository>
    </repositories>
             
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.8.1</version>
            <scope>test</scope>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>org.glassfish</groupId>
            <artifactId>javax.json</artifactId>
            <version>1.0.4</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>commons-httpclient</groupId>
            <artifactId>commons-httpclient</artifactId>
            <version>3.0.1</version>
            <type>jar</type>
        </dependency>
	<dependency>
            <groupId>javax</groupId>
            <artifactId>javaee-api</artifactId>
            <version>7.0</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax</groupId>
            <artifactId>javaee-web-api</artifactId>
            <version>7.0</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.primefaces</groupId>
            <artifactId>primefaces</artifactId>
            <version>4.0</version>
        </dependency>
        <dependency>
            <groupId>org.primefaces.themes</groupId>
            <artifactId>all-themes</artifactId>
            <version>1.0.10</version>
        </dependency>
	<dependency>
	  <groupId>org.atmosphere</groupId>
	  <artifactId>atmosphere-runtime</artifactId>
	  <version>2.0.8</version>
	</dependency>
        <dependency>
            <groupId>org.omnifaces</groupId>
            <artifactId>omnifaces</artifactId>
            <version>1.7</version> <!-- Or 1.8-SNAPSHOT -->
        </dependency>          
        
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-validator</artifactId>
            <version>5.0.1.Final</version>
        </dependency>
         
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.6</version>
        </dependency>
        <dependency>
            <groupId>org.apache.solr</groupId>
            <artifactId>solr-solrj</artifactId>
            <version>4.6.0</version>
        </dependency>
        <dependency>
            <!-- required by Solr... prevents java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory -->
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
            <version>1.1.3</version>
        </dependency>
	<dependency>
	     <groupId>org.apache.commons</groupId>
	     <artifactId>commons-math</artifactId>
	     <version>2.2</version>
	</dependency> 
	<dependency>
	     <groupId>colt</groupId>
	     <artifactId>colt</artifactId>
	     <version>1.2.0</version>
	</dependency> 
	<!-- fits.jar, not available from network repos, supplied in local_lib -->
       <dependency>
            <groupId>nom.tam.fits</groupId>
            <artifactId>fits</artifactId>
            <version>2012-10-25-generated</version>
        </dependency>
       <!-- Rosuda Rengine and Rserve, packaged by org.nuiton.thirdparty -->
       <!-- TODO: see if there's another, better maintained maven repository for Rosuda libraries? - L.A. -->
       <dependency>
	 <groupId>org.nuiton.thirdparty</groupId>
	 <artifactId>REngine</artifactId>
	 <version>0.6-1</version>
       </dependency>
       <dependency>
	 <groupId>org.nuiton.thirdparty</groupId>
	 <artifactId>Rserve</artifactId>
	 <version>0.6-1</version>
       </dependency>
       <!-- Apache POI - used by ingest to parse MS Excel xslx files -->
       <dependency>
	 <groupId>org.apache.poi</groupId>
	 <artifactId>poi</artifactId>
	 <version>3.10-FINAL</version>
       </dependency>
       <dependency>
	 <groupId>org.apache.poi</groupId>
	 <artifactId>poi-ooxml</artifactId>
	 <version>3.10-FINAL</version>
       </dependency>
       <dependency>
	 <groupId>org.apache.poi</groupId>
	 <artifactId>poi-examples</artifactId>
	 <version>3.10-FINAL</version>
       </dependency>
       <dependency>
            <groupId>edu.harvard.hul.ois.jhove</groupId>
            <artifactId>jhove</artifactId>
            <version>1.11.0</version>
        </dependency>
        <dependency>
            <groupId>edu.harvard.hul.ois.jhove</groupId>
            <artifactId>jhove-module</artifactId>
            <version>1.11.0</version>
        </dependency>
        <dependency>
            <groupId>edu.harvard.hul.ois.jhove</groupId>
            <artifactId>jhove-handler</artifactId>
            <version>1.11.0</version>
        </dependency>
	<!-- JAI (Java Advanced Imaging) jars: -->
	<dependency>
	  <groupId>javax.media</groupId>
	  <artifactId>jai_imageio</artifactId>
	  <version>1.1.1</version>
	</dependency>
	<dependency>
	  <groupId>javax.media</groupId>
	  <artifactId>jai_core</artifactId>
	  <version>1.1.3</version>
	</dependency>
	<dependency>
	  <groupId>javax.media</groupId>
	  <artifactId>jai_codec</artifactId>
	  <version>1.1.3</version>
	</dependency>

    </dependencies>

    <build>
        <resources>
            <resource>
{'fraction_non_alphanumeric': 0.14729149401039704, 'fraction_numerical': 0.016047615459956303, 'mean_word_length': 2.150723949679563, 'pattern_counts': {'":': 0, '<': 569, '<?xml version=': 2, '>': 569, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 9}, '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': '4830792', 'n_tokens_mistral': 4470, 'n_tokens_neox': 3866, 'n_words': 534}