Permalink
Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up
Fetching contributors…
Cannot retrieve contributors at this time
<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>io.anserini</groupId> | |
<artifactId>anserini</artifactId> | |
<version>0.3.1-SNAPSHOT</version> | |
<name>Anserini</name> | |
<description>An information retrieval toolkit built on Lucene</description> | |
<url>http://anserini.io/</url> | |
<licenses> | |
<license> | |
<name>The Apache Software License, Version 2.0</name> | |
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
<distribution>repo</distribution> | |
</license> | |
</licenses> | |
<developers> | |
<developer> | |
<name>Jimmy Lin</name> | |
<id>lintool</id> | |
<email>jimmylin@uwaterloo.ca</email> | |
<organization>University of Waterloo</organization> | |
<url>https://cs.uwaterloo.ca/~jimmylin/</url> | |
</developer> | |
<developer> | |
<name>Peilin Yang</name> | |
<id>Peilin-Yang</id> | |
<email>yangpeilyn@gmail.com</email> | |
<organization>Twitter, Inc.</organization> | |
<url>https://peilin-yang.github.io/</url> | |
</developer> | |
</developers> | |
<properties> | |
<lucene.version>7.6.0</lucene.version> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<scm> | |
<connection>scm:git:git@github.com:castorini/Anserini.git</connection> | |
<developerConnection>scm:git:git@github.com:castorini/Anserini.git</developerConnection> | |
<url>git@github.com:castorini/Anserini.git</url> | |
<tag>HEAD</tag> | |
</scm> | |
<repositories> | |
<repository> | |
<id>public</id> | |
<url>https://repo1.maven.org/maven2</url> | |
</repository> | |
<repository> | |
<id>AnseriniMaven</id> | |
<url>https://raw.githubusercontent.com/lintool/AnseriniMaven/master/mvn-repo/</url> | |
</repository> | |
<repository> | |
<id>jitpack.io</id> | |
<url>https://jitpack.io</url> | |
</repository> | |
</repositories> | |
<distributionManagement> | |
<snapshotRepository> | |
<id>sonatype-nexus-snapshots</id> | |
<name>Sonatype Nexus Shapshots</name> | |
<url>https://oss.sonatype.org/content/repositories/snapshots/</url> | |
</snapshotRepository> | |
<repository> | |
<id>sonatype-nexus-staging</id> | |
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | |
</repository> | |
</distributionManagement> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.7.0</version> | |
<configuration> | |
<source>1.8</source> | |
<target>1.8</target> | |
<testSource>1.8</testSource> | |
<testTarget>1.8</testTarget> | |
<showDeprecation>true</showDeprecation> | |
<compilerArgument>-Xlint:unchecked</compilerArgument> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>appassembler-maven-plugin</artifactId> | |
<version>2.0.0</version> | |
<configuration> | |
<extraJvmArguments>-Xms512M -Xmx31G</extraJvmArguments> | |
<programs> | |
<program> | |
<mainClass>io.anserini.index.IndexCollection</mainClass> | |
<id>IndexCollection</id> | |
</program> | |
<program> | |
<mainClass>io.anserini.util.MapCollections</mainClass> | |
<id>MapCollections</id> | |
</program> | |
<program> | |
<mainClass>io.anserini.search.SearchCollection</mainClass> | |
<id>SearchCollection</id> | |
</program> | |
<program> | |
<mainClass>io.anserini.eval.Eval</mainClass> | |
<id>Eval</id> | |
</program> | |
<program> | |
<mainClass>io.anserini.index.IndexUtils</mainClass> | |
<id>IndexUtils</id> | |
</program> | |
</programs> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-javadoc-plugin</artifactId> | |
<version>3.0.1</version> | |
<executions> | |
<execution> | |
<id>attach-javadocs</id> | |
<goals> | |
<goal>jar</goal> | |
</goals> | |
<configuration> | |
<excludePackageNames>io.anserini.kg:io.anserini.ltr</excludePackageNames> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<version>3.1.0</version> | |
<executions> | |
<execution> | |
<!-- default is to bind to package phase: we override and not create fatjar unless explicitly | |
specified on command line - this speeds up the build greatly --> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> | |
<!-- This fixes the issue "An SPI class of type org.apache.lucene.codecs.Codec with name ... does not exist." | |
cf. https://stackoverflow.com/questions/38361533/an-spi-class-of-type-org-apache-lucene-codecs-codec-with-name-lucene54-does-no/38382096 --> | |
<transformers> | |
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> | |
<resource>META-INF/services/org.apache.lucene.codecs.Codec</resource> | |
<resource>META-INF/services/org.apache.lucene.codecs.PostingsFormat</resource> | |
</transformer> | |
</transformers> | |
<!-- This fixes the issue "Invalid signature file digest for Manifest main attributes" | |
cf. http://zhentao-li.blogspot.com/2012/06/maven-shade-plugin-invalid-signature.html --> | |
<filters> | |
<filter> | |
<artifact>*:*</artifact> | |
<excludes> | |
<exclude>META-INF/*.SF</exclude> | |
<exclude>META-INF/*.DSA</exclude> | |
<exclude>META-INF/*.RSA</exclude> | |
</excludes> | |
</filter> | |
</filters> | |
<!-- this will create both a normal thin jar and also a fatjar --> | |
<shadedArtifactAttached>true</shadedArtifactAttached> | |
<shadedClassifierName>fatjar</shadedClassifierName> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-source-plugin</artifactId> | |
<version>3.0.1</version> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-deploy-plugin</artifactId> | |
<version>2.8.2</version> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-release-plugin</artifactId> | |
<version>2.5.3</version> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-gpg-plugin</artifactId> | |
<version>1.6</version> | |
<executions> | |
<execution> | |
<id>sign-artifacts</id> | |
<phase>verify</phase> | |
<goals> | |
<goal>sign</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.lucene</groupId> | |
<artifactId>lucene-core</artifactId> | |
<version>${lucene.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.lucene</groupId> | |
<artifactId>lucene-benchmark</artifactId> | |
<version>${lucene.version}</version> | |
</dependency> | |
<dependency> <!-- needed only for org.apache.lucene.search.CheckHits: candidate for cleanup --> | |
<groupId>org.apache.lucene</groupId> | |
<artifactId>lucene-test-framework</artifactId> | |
<version>${lucene.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.solr</groupId> | |
<artifactId>solr-solrj</artifactId> | |
<version>${lucene.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>edu.umass.ciir</groupId> | |
<artifactId>RankLib</artifactId> | |
<version>2.1</version> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.12</version> | |
</dependency> | |
<dependency> | |
<groupId>com.fasterxml.jackson.core</groupId> | |
<artifactId>jackson-databind</artifactId> | |
<version>2.9.6</version> | |
</dependency> | |
<dependency> | |
<groupId>com.fasterxml.jackson.datatype</groupId> | |
<artifactId>jackson-datatype-jdk8</artifactId> | |
<version>2.8.6</version> | |
</dependency> | |
<dependency> | |
<groupId>com.fasterxml.jackson.dataformat</groupId> | |
<artifactId>jackson-dataformat-yaml</artifactId> | |
<version>2.8.11</version> | |
</dependency> | |
<dependency> | |
<groupId>org.jsoup</groupId> | |
<artifactId>jsoup</artifactId> | |
<version>1.8.3</version> | |
<type>jar</type> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>args4j</groupId> | |
<artifactId>args4j</artifactId> | |
<version>2.32</version> | |
<type>jar</type> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.logging.log4j</groupId> | |
<artifactId>log4j-api</artifactId> | |
<version>2.4</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.logging.log4j</groupId> | |
<artifactId>log4j-core</artifactId> | |
<version>2.4</version> | |
</dependency> | |
<dependency> | |
<groupId>it.unimi.dsi</groupId> | |
<artifactId>fastutil</artifactId> | |
<version>6.5.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.wikiclean</groupId> | |
<artifactId>wikiclean</artifactId> | |
<version>1.1</version> | |
</dependency> | |
<dependency> <!-- needed for CBZip2InputStream --> | |
<groupId>org.apache.ant</groupId> | |
<artifactId>ant</artifactId> | |
<version>1.9.1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.openrdf.sesame</groupId> | |
<artifactId>sesame-rio-ntriples</artifactId> | |
<version>4.1.2</version> | |
</dependency> | |
<dependency> | |
<groupId>com.twitter.twittertext</groupId> | |
<artifactId>twitter-text</artifactId> | |
<version>2.0.10</version> | |
</dependency> | |
<dependency> | |
<groupId>com.github.TREMA-UNH</groupId> | |
<artifactId>trec-car-tools-java</artifactId> | |
<version>13</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-pool2</artifactId> | |
<version>2.6.0</version> | |
</dependency> | |
</dependencies> | |
</project> |