Please add the folliowing to the <plugins> section of the RankLib/pom.xml</plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>ciir.umass.edu.eval.Evaluator</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
This way one can build a (stand-alone) executable jar file with maven's
mvn clean compile assembly:single
To run RankLib from the command line as
java -jar target/RankLib-2.11-SNAPSHOT-jar-with-dependencies.jar
Thank you!