blob: 81ed84bf8c6781070a4d4dbd2d621f48fd8a396e [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 Diewald4fca3ff2013-12-29 22:59:13 +000012 <version>0.25.2</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>
Nils Diewaldf399a672013-11-18 17:55:22 +0000106 </dependencies>
107
108 <build>
109 <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
110 <outputDirectory>${basedir}/bin</outputDirectory>
111 <plugins>
112 <plugin>
113 <artifactId>maven-compiler-plugin</artifactId>
114 <version>2.3.2</version>
115 <configuration>
116 <source>1.7</source>
117 <target>1.7</target>
118 </configuration>
119 </plugin>
Nils Diewaldaee45452013-11-27 22:35:55 +0000120
121 <!--
122 install the indexer
123 $ mvn clean compile assembly:single
124 Then run e.g.
Nils Diewald22efd2d2013-11-29 22:54:24 +0000125 $ java -jar target/KorAP-lucene-index-X.XX-jar-with-dependencies.jar src/test/resources/wiki/
126 or
127 $ 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 +0000128 $ 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 +0000129
130 -->
131 <plugin>
132 <artifactId>maven-assembly-plugin</artifactId>
133 <configuration>
134 <archive>
135 <manifest>
136 <mainClass>de.ids_mannheim.korap.KorapIndexer</mainClass>
137 </manifest>
138 </archive>
139 <descriptorRefs>
140 <descriptorRef>jar-with-dependencies</descriptorRef>
141 </descriptorRefs>
142 </configuration>
143 <executions>
144 <execution>
145 <id>make-assembly</id>
146 <phase>package</phase>
147 <goals>
148 <goal>single</goal>
149 </goals>
150 </execution>
151 </executions>
152 </plugin>
Nils Diewaldf399a672013-11-18 17:55:22 +0000153 <plugin>
Nils Diewald22efd2d2013-11-29 22:54:24 +0000154 <groupId>org.apache.maven.plugins</groupId>
Nils Diewaldf399a672013-11-18 17:55:22 +0000155 <artifactId>maven-surefire-plugin</artifactId>
Nils Diewald22efd2d2013-11-29 22:54:24 +0000156 <version>2.16</version>
Nils Diewaldf399a672013-11-18 17:55:22 +0000157 <configuration>
Nils Diewald22efd2d2013-11-29 22:54:24 +0000158 <excludes>
159 <exclude>**/TestRealIndex.java</exclude>
160 </excludes>
Nils Diewaldf399a672013-11-18 17:55:22 +0000161 </configuration>
162 </plugin>
Nils Diewaldf399a672013-11-18 17:55:22 +0000163 </plugins>
164 </build>
165</project>