blob: f5c4d05ceb2cf0bb9bffc735fda5fe8938ca6883 [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 Diewald7c50e2d2013-11-18 19:20:22 +00004 <parent>
5 <groupId>KorAP-modules</groupId>
6 <artifactId>KorAP-core-modules</artifactId>
7 <version>1.0</version>
8 </parent>
Nils Diewaldf399a672013-11-18 17:55:22 +00009
Nils Diewald7c50e2d2013-11-18 19:20:22 +000010 <groupId>KorAP-modules</groupId>
Nils Diewaldf399a672013-11-18 17:55:22 +000011 <artifactId>KorAP-lucene-index</artifactId>
Nils Diewald3ed1afa2013-12-05 22:40:38 +000012 <version>0.24</version>
Nils Diewaldf399a672013-11-18 17:55:22 +000013 <packaging>jar</packaging>
14
15 <name>KorAP-lucene-index</name>
16 <url>http://www.ids-mannheim.de/</url>
17
18 <organization>
19 <name>IDS Mannheim</name>
20 <url>http://www.ids-mannheim.de/</url>
21 </organization>
22
23 <developers>
24 <developer>
25 <name>Nils Diewald</name>
26 <email>diewald@ids-mannheim.de</email>
27 <url>http://nils-diewald.de</url>
28 </developer>
29 </developers>
30
31 <properties>
32 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33 </properties>
34
35 <dependencies>
36
37 <!-- junit dependency -->
38 <dependency>
39 <groupId>junit</groupId>
40 <artifactId>junit</artifactId>
41 <version>4.11</version>
42 <scope>test</scope>
43 </dependency>
44
45 <!-- log4j dependency -->
46 <dependency>
47 <groupId>log4j</groupId>
48 <artifactId>log4j</artifactId>
49 <version>1.2.17</version>
50 </dependency>
51 <dependency>
52 <groupId>org.slf4j</groupId>
53 <artifactId>slf4j-log4j12</artifactId>
54 <version>1.7.5</version>
55 </dependency>
56
57 <!-- Lucene core dependency -->
58 <dependency>
59 <artifactId>lucene-core</artifactId>
60 <groupId>org.apache.lucene</groupId>
61 <type>jar</type>
62 <version>4.3.0</version>
63 </dependency>
64
65 <!-- Lucene queryparser dependency -->
66 <dependency>
67 <artifactId>lucene-queryparser</artifactId>
68 <groupId>org.apache.lucene</groupId>
69 <type>jar</type>
70 <version>4.3.0</version>
71 </dependency>
72
73 <!-- Lucene analyzers dependency -->
74 <dependency>
75 <artifactId>lucene-analyzers-common</artifactId>
76 <groupId>org.apache.lucene</groupId>
77 <type>jar</type>
78 <version>4.3.0</version>
79 </dependency>
80
81 <!-- JCache -->
82 <dependency>
83 <groupId>net.sf.jsr107cache</groupId>
84 <artifactId>jsr107cache</artifactId>
85 <version>1.0</version>
86 </dependency>
87
88 <!-- Jackson -->
89 <!-- see https://github.com/FasterXML/jackson-core -->
90 <!-- https://github.com/FasterXML/jackson-databind -->
91 <dependency>
92 <groupId>com.fasterxml.jackson.core</groupId>
93 <artifactId>jackson-databind</artifactId>
94 <version>2.2.2</version>
95 </dependency>
96 <dependency>
97 <groupId>com.fasterxml.jackson.core</groupId>
98 <artifactId>jackson-annotations</artifactId>
99 <version>2.2.2</version>
100 </dependency>
101 <dependency>
102 <groupId>com.fasterxml.jackson.core</groupId>
103 <artifactId>jackson-core</artifactId>
104 <version>2.2.2</version>
105 </dependency>
106
107 </dependencies>
108
109 <build>
110 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
111 <outputDirectory>${basedir}/bin</outputDirectory>
112 <plugins>
113 <plugin>
114 <artifactId>maven-compiler-plugin</artifactId>
115 <version>2.3.2</version>
116 <configuration>
117 <source>1.7</source>
118 <target>1.7</target>
119 </configuration>
120 </plugin>
Nils Diewaldaee45452013-11-27 22:35:55 +0000121
122 <!--
123 install the indexer
124 $ mvn clean compile assembly:single
125 Then run e.g.
Nils Diewald22efd2d2013-11-29 22:54:24 +0000126 $ java -jar target/KorAP-lucene-index-X.XX-jar-with-dependencies.jar src/test/resources/wiki/
127 or
128 $ java -jar target/KorAP-lucene-index-X.XX-jar-with-dependencies.jar /home/ndiewald/Repositories/korap/KorAP-modules/KorAP-lucene-index/sandbox/toindex/A00
Nils Diewaldda080362013-11-30 17:31:43 +0000129 $ java -jar target/KorAP-lucene-index-0.21-jar-with-dependencies.jar /home/ndiewald/Repositories/KorAP/KorAP-modules/KorAP-lucene-index/sandbox/toindex/A00
Nils Diewaldaee45452013-11-27 22:35:55 +0000130
131 -->
132 <plugin>
133 <artifactId>maven-assembly-plugin</artifactId>
134 <configuration>
135 <archive>
136 <manifest>
137 <mainClass>de.ids_mannheim.korap.KorapIndexer</mainClass>
138 </manifest>
139 </archive>
140 <descriptorRefs>
141 <descriptorRef>jar-with-dependencies</descriptorRef>
142 </descriptorRefs>
143 </configuration>
144 <executions>
145 <execution>
146 <id>make-assembly</id>
147 <phase>package</phase>
148 <goals>
149 <goal>single</goal>
150 </goals>
151 </execution>
152 </executions>
153 </plugin>
Nils Diewaldf399a672013-11-18 17:55:22 +0000154 <plugin>
Nils Diewald22efd2d2013-11-29 22:54:24 +0000155 <groupId>org.apache.maven.plugins</groupId>
Nils Diewaldf399a672013-11-18 17:55:22 +0000156 <artifactId>maven-surefire-plugin</artifactId>
Nils Diewald22efd2d2013-11-29 22:54:24 +0000157 <version>2.16</version>
Nils Diewaldf399a672013-11-18 17:55:22 +0000158 <configuration>
Nils Diewald22efd2d2013-11-29 22:54:24 +0000159 <excludes>
160 <exclude>**/TestRealIndex.java</exclude>
161 </excludes>
Nils Diewaldf399a672013-11-18 17:55:22 +0000162 </configuration>
163 </plugin>
Nils Diewaldf399a672013-11-18 17:55:22 +0000164 </plugins>
165 </build>
166</project>