blob: caeff94d5fa3da7aaff15c6ecb00741aefdc65da [file] [log] [blame]
Nils Diewaldf399a672013-11-18 17:55:22 +00001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
Nils Diewald97b66382014-02-11 00:32:23 +00004
5<!--
Nils Diewald7c50e2d2013-11-18 19:20:22 +00006 <parent>
7 <groupId>KorAP-modules</groupId>
8 <artifactId>KorAP-core-modules</artifactId>
Nils Diewald345bdc02014-01-21 21:48:57 +00009 <version>LATEST</version>
Nils Diewald7c50e2d2013-11-18 19:20:22 +000010 </parent>
Nils Diewald97b66382014-02-11 00:32:23 +000011-->
Nils Diewald7c50e2d2013-11-18 19:20:22 +000012 <groupId>KorAP-modules</groupId>
Nils Diewaldf399a672013-11-18 17:55:22 +000013 <artifactId>KorAP-lucene-index</artifactId>
Nils Diewaldefb9c9a2014-02-20 15:05:18 +000014 <version>0.30.3</version>
Nils Diewaldf399a672013-11-18 17:55:22 +000015 <packaging>jar</packaging>
16
17 <name>KorAP-lucene-index</name>
18 <url>http://www.ids-mannheim.de/</url>
19
20 <organization>
21 <name>IDS Mannheim</name>
22 <url>http://www.ids-mannheim.de/</url>
23 </organization>
24
25 <developers>
26 <developer>
27 <name>Nils Diewald</name>
28 <email>diewald@ids-mannheim.de</email>
29 <url>http://nils-diewald.de</url>
30 </developer>
31 </developers>
32
33 <properties>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 </properties>
36
37 <dependencies>
38
39 <!-- junit dependency -->
40 <dependency>
41 <groupId>junit</groupId>
42 <artifactId>junit</artifactId>
43 <version>4.11</version>
44 <scope>test</scope>
45 </dependency>
46
47 <!-- log4j dependency -->
48 <dependency>
49 <groupId>log4j</groupId>
50 <artifactId>log4j</artifactId>
51 <version>1.2.17</version>
52 </dependency>
53 <dependency>
54 <groupId>org.slf4j</groupId>
55 <artifactId>slf4j-log4j12</artifactId>
56 <version>1.7.5</version>
57 </dependency>
58
59 <!-- Lucene core dependency -->
60 <dependency>
61 <artifactId>lucene-core</artifactId>
62 <groupId>org.apache.lucene</groupId>
63 <type>jar</type>
Nils Diewaldbfe554b2014-01-09 19:35:05 +000064 <version>4.3.1</version>
Nils Diewaldf399a672013-11-18 17:55:22 +000065 </dependency>
66
67 <!-- Lucene queryparser dependency -->
68 <dependency>
69 <artifactId>lucene-queryparser</artifactId>
70 <groupId>org.apache.lucene</groupId>
71 <type>jar</type>
Nils Diewaldbfe554b2014-01-09 19:35:05 +000072 <version>4.3.1</version>
Nils Diewaldf399a672013-11-18 17:55:22 +000073 </dependency>
74
75 <!-- Lucene analyzers dependency -->
76 <dependency>
77 <artifactId>lucene-analyzers-common</artifactId>
78 <groupId>org.apache.lucene</groupId>
79 <type>jar</type>
Nils Diewaldbfe554b2014-01-09 19:35:05 +000080 <version>4.3.1</version>
Nils Diewaldf399a672013-11-18 17:55:22 +000081 </dependency>
82
Nils Diewald8a1fc012014-02-19 15:23:33 +000083 <dependency>
84 <groupId>org.hamcrest</groupId>
85 <artifactId>hamcrest-core</artifactId>
86 <version>1.3</version>
87 </dependency>
88
Nils Diewaldefb9c9a2014-02-20 15:05:18 +000089
90 <!-- getopt -->
91 <dependency>
92 <groupId>gnu.getopt</groupId>
93 <artifactId>java-getopt</artifactId>
94 <version>1.0.13</version>
95 </dependency>
96
Nils Diewaldf399a672013-11-18 17:55:22 +000097 <!-- JCache -->
98 <dependency>
99 <groupId>net.sf.jsr107cache</groupId>
100 <artifactId>jsr107cache</artifactId>
101 <version>1.0</version>
102 </dependency>
103
Nils Diewald2cd1c3d2014-01-08 22:53:08 +0000104 <!-- among others Base4 support -->
105 <!--
106 <dependency>
107 <groupId>commons-codec</groupId>
108 <artifactId>commons-codec</artifactId>
109 <version>1.4</version>
110 </dependency>
111 -->
112
Nils Diewaldf399a672013-11-18 17:55:22 +0000113 <!-- Jackson -->
114 <!-- see https://github.com/FasterXML/jackson-core -->
115 <!-- https://github.com/FasterXML/jackson-databind -->
116 <dependency>
117 <groupId>com.fasterxml.jackson.core</groupId>
118 <artifactId>jackson-databind</artifactId>
119 <version>2.2.2</version>
120 </dependency>
121 <dependency>
122 <groupId>com.fasterxml.jackson.core</groupId>
123 <artifactId>jackson-annotations</artifactId>
124 <version>2.2.2</version>
125 </dependency>
126 <dependency>
127 <groupId>com.fasterxml.jackson.core</groupId>
128 <artifactId>jackson-core</artifactId>
129 <version>2.2.2</version>
130 </dependency>
Nils Diewaldf399a672013-11-18 17:55:22 +0000131 </dependencies>
132
133 <build>
134 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
135 <outputDirectory>${basedir}/bin</outputDirectory>
136 <plugins>
137 <plugin>
138 <artifactId>maven-compiler-plugin</artifactId>
139 <version>2.3.2</version>
140 <configuration>
141 <source>1.7</source>
142 <target>1.7</target>
143 </configuration>
144 </plugin>
Nils Diewaldaee45452013-11-27 22:35:55 +0000145
146 <!--
Nils Diewaldefb9c9a2014-02-20 15:05:18 +0000147 install the indexer and the performancetests
Nils Diewaldaee45452013-11-27 22:35:55 +0000148 $ mvn clean compile assembly:single
149 Then run e.g.
Nils Diewaldefb9c9a2014-02-20 15:05:18 +0000150 $ java -jar target/KorAP-lucene-index-0.30.2-jar-with-dependencies.jar src/main/resources/korap.conf /data/hdd/lucene-new/WPD/
Nils Diewaldaee45452013-11-27 22:35:55 +0000151 -->
Nils Diewaldefb9c9a2014-02-20 15:05:18 +0000152
Nils Diewaldaee45452013-11-27 22:35:55 +0000153 <plugin>
Nils Diewaldefb9c9a2014-02-20 15:05:18 +0000154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-assembly-plugin</artifactId>
156 <version>2.2-beta-5</version>
157 <configuration>
158 <!--
159 <finalName>KorapTools</finalName>
160 -->
161 <appendAssemblyId>false</appendAssemblyId>
162 <descriptorRefs>
163 <descriptorRef>jar-with-dependencies</descriptorRef>
164 </descriptorRefs>
165 </configuration>
166 <executions>
167
168 <execution>
169 <id>KorapIndexer</id>
170 <phase>package</phase>
171 <goals>
172 <goal>single</goal>
173 </goals>
174 <configuration>
175 <finalName>KorapIndexer</finalName>
176 <archive>
177 <manifest>
178 <mainClass>de.ids_mannheim.korap.KorapIndexer</mainClass>
179 </manifest>
180 </archive>
181 </configuration>
182 </execution>
Nils Diewaldaee45452013-11-27 22:35:55 +0000183 </executions>
184 </plugin>
Nils Diewaldefb9c9a2014-02-20 15:05:18 +0000185
Nils Diewaldf399a672013-11-18 17:55:22 +0000186 <plugin>
Nils Diewald22efd2d2013-11-29 22:54:24 +0000187 <groupId>org.apache.maven.plugins</groupId>
Nils Diewaldf399a672013-11-18 17:55:22 +0000188 <artifactId>maven-surefire-plugin</artifactId>
Nils Diewald22efd2d2013-11-29 22:54:24 +0000189 <version>2.16</version>
Nils Diewaldf399a672013-11-18 17:55:22 +0000190 <configuration>
Nils Diewald22efd2d2013-11-29 22:54:24 +0000191 <excludes>
192 <exclude>**/TestRealIndex.java</exclude>
Nils Diewaldefb9c9a2014-02-20 15:05:18 +0000193 <exclude>**/benchmark/*</exclude>
Nils Diewald22efd2d2013-11-29 22:54:24 +0000194 </excludes>
Nils Diewaldf399a672013-11-18 17:55:22 +0000195 </configuration>
196 </plugin>
Nils Diewaldf399a672013-11-18 17:55:22 +0000197 </plugins>
198 </build>
199</project>