Details
Description
Hi,
As a user of maven (for the dependency management system), I started to write the pom.xml that can be used for the moment to compile Terrier. It is not a finished one, since parts of the build process (e.g. tests, packaging, ...) are not ported, but by typing
mvn install
terrier (and its dependencies) are stored in the local maven repository, and I can use a simple
<dependency>
<groupId>org.terrier</groupId>
<artifactId>terrier</artifactId>
<version>0.3.5</version>
</dependency>
in my projects.
I also had to remove org/terrier/utility/SimpleJettyHTTPServer.java from the compilation (see the pom.xml) since there was no maven entry for jetty 5.1.15 (there is none below version 6). I sometimes selected versions a bit higher than those included with Terrier 3.5. For the moment, everything compiles fine and I will use this bug report if I make improvements to the maven build file.
Benjamin
As a user of maven (for the dependency management system), I started to write the pom.xml that can be used for the moment to compile Terrier. It is not a finished one, since parts of the build process (e.g. tests, packaging, ...) are not ported, but by typing
mvn install
terrier (and its dependencies) are stored in the local maven repository, and I can use a simple
<dependency>
<groupId>org.terrier</groupId>
<artifactId>terrier</artifactId>
<version>0.3.5</version>
</dependency>
in my projects.
I also had to remove org/terrier/utility/SimpleJettyHTTPServer.java from the compilation (see the pom.xml) since there was no maven entry for jetty 5.1.15 (there is none below version 6). I sometimes selected versions a bit higher than those included with Terrier 3.5. For the moment, everything compiles fine and I will use this bug report if I make improvements to the maven build file.
Benjamin
Thanks Benjamin. It seems very much that everyone is using Maven these days, but I dont have any experience with it. If you could continue to post updates, that would be appreciated!
Question, why is version
<version>0.3.5</version>
?
Craig