Mercurial > hg > LGDataverses
view pom.xml @ 14:be7787c36e58 default tip
new: nofity LGSercies for deleted files
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 02 Nov 2015 16:41:23 +0100 |
parents | c2e2d794847f |
children |
line wrap: on
line source
<?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> <repository> <id>dataone.org</id> <url>http://dev-testing.dataone.org/maven</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </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> <!-- BEGIN Data Deposit API v1 (SWORD v2) --> <dependency> <groupId>org.swordapp</groupId> <artifactId>sword2-server</artifactId> <version>1.0</version> <type>jar</type> <classifier>classes</classifier> </dependency> <dependency> <groupId>org.swordapp</groupId> <artifactId>sword2-server</artifactId> <!-- Built from https://github.com/IQSS/swordv2-java-server-library to return a proper SWORD error message rather than a Glassfish Exception per https://github.com/IQSS/dataverse/issues/893 If the fix is merged upstream at https://github.com/swordapp/JavaServer2.0/issues/6 we can switch back to the official SWORD library. --> <version>1.1-SNAPSHOT</version> <type>war</type> </dependency> <dependency> <!-- required by org.swordapp.server.sword2-server --> <groupId>org.apache.abdera</groupId> <artifactId>abdera-core</artifactId> <version>1.1.3</version> </dependency> <dependency> <!-- required by org.swordapp.server.sword2-server --> <groupId>org.apache.abdera</groupId> <artifactId>abdera-parser</artifactId> <version>1.1.3</version> </dependency> <dependency> <!-- required by org.swordapp.server.sword2-server --> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.3.1</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.2.4</version> <scope>compile</scope> </dependency> <dependency> <!-- required by org.swordapp.server.sword2-server --> <groupId>xom</groupId> <artifactId>xom</artifactId> <version>1.1</version> </dependency> <!-- zhong added --> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.1.0</version> <scope>provided</scope> </dependency> <!-- <version>2.5</version> --> <!-- zhong end --> <!-- END Data Deposit API v1 (SWORD v2) --> <dependency> <groupId>org.mindrot</groupId> <artifactId>jbcrypt</artifactId> <version>0.3m</version> </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.3.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>commons-validator</groupId> <artifactId>commons-validator</artifactId> <version>1.4.0</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> <dependency> <groupId>net.handle</groupId> <artifactId>handle</artifactId> <version>2006-06-16-generated</version> </dependency> <!-- UNF v5 (buggy), (temporarily) added for testing ingest against DVN v3 - L.A. --> <dependency> <groupId>edu.harvard.iq.dvn</groupId> <artifactId>unf5</artifactId> <version>5.0</version> </dependency> <!-- (new) UNF v6: --> <dependency> <groupId>org.dataverse</groupId> <artifactId>unf</artifactId> <version>6.0</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> <dependency> <groupId>org.ocpsoft.rewrite</groupId> <artifactId>rewrite-servlet</artifactId> <version>2.0.12.Final</version> </dependency> <dependency> <groupId>org.ocpsoft.rewrite</groupId> <artifactId>rewrite-config-prettyfaces</artifactId> <version>2.0.12.Final</version> </dependency> <dependency> <groupId>edu.ucsb.nceas</groupId> <artifactId>ezid</artifactId> <version>1.0.0</version> <type>jar</type> </dependency> <dependency> <groupId>org.jsoup</groupId> <artifactId>jsoup</artifactId> <version>1.8.1</version> </dependency> <dependency> <groupId>com.jayway.restassured</groupId> <artifactId>rest-assured</artifactId> <version>2.4.0</version> <scope>test</scope> </dependency> </dependencies> <build> <finalName>LGDataverse</finalName> <resources> <resource> <directory>src/main/java</directory> <includes> <include>*.properties</include> <include>**/mime.types</include> <include>**/*.R</include> </includes> </resource> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.xml</include> </includes> </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.7</source> <target>1.7</target> <compilerArguments> <endorseddirs>${endorsed.dir}</endorseddirs> </compilerArguments> <!-- for use with `mvn -DcompilerArgument=-Xlint:unchecked compile` --> <compilerArgument>${compilerArgument}</compilerArgument> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.3</version> <configuration> <failOnMissingWebXml>false</failOnMissingWebXml> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.6</version> <executions> <execution> <phase>validate</phase> <goals> <goal>copy</goal> </goals> <configuration> <outputDirectory>${endorsed.dir}</outputDirectory> <silent>true</silent> <artifactItems> <artifactItem> <groupId>javax</groupId> <artifactId>javaee-endorsed-api</artifactId> <version>7.0</version> <type>jar</type> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>