Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 1 | <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 Diewald | 97b6638 | 2014-02-11 00:32:23 +0000 | [diff] [blame] | 4 | |
| 5 | <!-- |
Nils Diewald | 7c50e2d | 2013-11-18 19:20:22 +0000 | [diff] [blame] | 6 | <parent> |
| 7 | <groupId>KorAP-modules</groupId> |
| 8 | <artifactId>KorAP-core-modules</artifactId> |
Nils Diewald | 345bdc0 | 2014-01-21 21:48:57 +0000 | [diff] [blame] | 9 | <version>LATEST</version> |
Nils Diewald | 7c50e2d | 2013-11-18 19:20:22 +0000 | [diff] [blame] | 10 | </parent> |
Nils Diewald | 97b6638 | 2014-02-11 00:32:23 +0000 | [diff] [blame] | 11 | --> |
Nils Diewald | 7c50e2d | 2013-11-18 19:20:22 +0000 | [diff] [blame] | 12 | <groupId>KorAP-modules</groupId> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 13 | <artifactId>KorAP-lucene-index</artifactId> |
Nils Diewald | fb4d7b0 | 2014-04-09 17:56:17 +0000 | [diff] [blame^] | 14 | <version>0.30.7</version> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 15 | <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 Diewald | bfe554b | 2014-01-09 19:35:05 +0000 | [diff] [blame] | 64 | <version>4.3.1</version> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 65 | </dependency> |
| 66 | |
| 67 | <!-- Lucene queryparser dependency --> |
| 68 | <dependency> |
| 69 | <artifactId>lucene-queryparser</artifactId> |
| 70 | <groupId>org.apache.lucene</groupId> |
| 71 | <type>jar</type> |
Nils Diewald | bfe554b | 2014-01-09 19:35:05 +0000 | [diff] [blame] | 72 | <version>4.3.1</version> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 73 | </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 Diewald | bfe554b | 2014-01-09 19:35:05 +0000 | [diff] [blame] | 80 | <version>4.3.1</version> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 81 | </dependency> |
| 82 | |
Nils Diewald | 8a1fc01 | 2014-02-19 15:23:33 +0000 | [diff] [blame] | 83 | <dependency> |
| 84 | <groupId>org.hamcrest</groupId> |
| 85 | <artifactId>hamcrest-core</artifactId> |
| 86 | <version>1.3</version> |
| 87 | </dependency> |
| 88 | |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 89 | <!-- JCache --> |
| 90 | <dependency> |
| 91 | <groupId>net.sf.jsr107cache</groupId> |
| 92 | <artifactId>jsr107cache</artifactId> |
| 93 | <version>1.0</version> |
| 94 | </dependency> |
| 95 | |
Nils Diewald | 2cd1c3d | 2014-01-08 22:53:08 +0000 | [diff] [blame] | 96 | <!-- among others Base4 support --> |
| 97 | <!-- |
| 98 | <dependency> |
| 99 | <groupId>commons-codec</groupId> |
| 100 | <artifactId>commons-codec</artifactId> |
| 101 | <version>1.4</version> |
| 102 | </dependency> |
| 103 | --> |
| 104 | |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 105 | <!-- Jackson --> |
| 106 | <!-- see https://github.com/FasterXML/jackson-core --> |
| 107 | <!-- https://github.com/FasterXML/jackson-databind --> |
| 108 | <dependency> |
| 109 | <groupId>com.fasterxml.jackson.core</groupId> |
| 110 | <artifactId>jackson-databind</artifactId> |
| 111 | <version>2.2.2</version> |
| 112 | </dependency> |
| 113 | <dependency> |
| 114 | <groupId>com.fasterxml.jackson.core</groupId> |
| 115 | <artifactId>jackson-annotations</artifactId> |
| 116 | <version>2.2.2</version> |
| 117 | </dependency> |
| 118 | <dependency> |
| 119 | <groupId>com.fasterxml.jackson.core</groupId> |
| 120 | <artifactId>jackson-core</artifactId> |
| 121 | <version>2.2.2</version> |
| 122 | </dependency> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 123 | </dependencies> |
| 124 | |
| 125 | <build> |
| 126 | <sourceDirectory>${basedir}/src/main/java</sourceDirectory> |
| 127 | <outputDirectory>${basedir}/bin</outputDirectory> |
| 128 | <plugins> |
| 129 | <plugin> |
| 130 | <artifactId>maven-compiler-plugin</artifactId> |
| 131 | <version>2.3.2</version> |
| 132 | <configuration> |
| 133 | <source>1.7</source> |
| 134 | <target>1.7</target> |
| 135 | </configuration> |
| 136 | </plugin> |
Nils Diewald | aee4545 | 2013-11-27 22:35:55 +0000 | [diff] [blame] | 137 | |
| 138 | <!-- |
Nils Diewald | efb9c9a | 2014-02-20 15:05:18 +0000 | [diff] [blame] | 139 | install the indexer and the performancetests |
Nils Diewald | aee4545 | 2013-11-27 22:35:55 +0000 | [diff] [blame] | 140 | $ mvn clean compile assembly:single |
| 141 | Then run e.g. |
Nils Diewald | efb9c9a | 2014-02-20 15:05:18 +0000 | [diff] [blame] | 142 | $ java -jar target/KorAP-lucene-index-0.30.2-jar-with-dependencies.jar src/main/resources/korap.conf /data/hdd/lucene-new/WPD/ |
Nils Diewald | aee4545 | 2013-11-27 22:35:55 +0000 | [diff] [blame] | 143 | --> |
Nils Diewald | efb9c9a | 2014-02-20 15:05:18 +0000 | [diff] [blame] | 144 | |
Nils Diewald | aee4545 | 2013-11-27 22:35:55 +0000 | [diff] [blame] | 145 | <plugin> |
Nils Diewald | efb9c9a | 2014-02-20 15:05:18 +0000 | [diff] [blame] | 146 | <groupId>org.apache.maven.plugins</groupId> |
| 147 | <artifactId>maven-assembly-plugin</artifactId> |
| 148 | <version>2.2-beta-5</version> |
| 149 | <configuration> |
| 150 | <!-- |
| 151 | <finalName>KorapTools</finalName> |
| 152 | --> |
Eliza Margaretha | d28469f | 2014-03-10 12:42:21 +0000 | [diff] [blame] | 153 | |
| 154 | <archive> |
| 155 | <manifest> |
| 156 | <addClasspath>true</addClasspath> |
| 157 | <mainClass>de.ids_mannheim.korap.KorapIndexer</mainClass> |
| 158 | </manifest> |
| 159 | </archive> |
| 160 | |
Nils Diewald | efb9c9a | 2014-02-20 15:05:18 +0000 | [diff] [blame] | 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 Diewald | aee4545 | 2013-11-27 22:35:55 +0000 | [diff] [blame] | 183 | </executions> |
| 184 | </plugin> |
Nils Diewald | efb9c9a | 2014-02-20 15:05:18 +0000 | [diff] [blame] | 185 | |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 186 | <plugin> |
Nils Diewald | 22efd2d | 2013-11-29 22:54:24 +0000 | [diff] [blame] | 187 | <groupId>org.apache.maven.plugins</groupId> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 188 | <artifactId>maven-surefire-plugin</artifactId> |
Nils Diewald | 22efd2d | 2013-11-29 22:54:24 +0000 | [diff] [blame] | 189 | <version>2.16</version> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 190 | <configuration> |
Nils Diewald | 22efd2d | 2013-11-29 22:54:24 +0000 | [diff] [blame] | 191 | <excludes> |
| 192 | <exclude>**/TestRealIndex.java</exclude> |
Nils Diewald | efb9c9a | 2014-02-20 15:05:18 +0000 | [diff] [blame] | 193 | <exclude>**/benchmark/*</exclude> |
Eliza Margaretha | 78d2cd1 | 2014-03-10 12:44:40 +0000 | [diff] [blame] | 194 | <exclude>**/TestWPDIndex.java</exclude> |
Nils Diewald | 22efd2d | 2013-11-29 22:54:24 +0000 | [diff] [blame] | 195 | </excludes> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 196 | </configuration> |
| 197 | </plugin> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 198 | </plugins> |
Nils Diewald | cdd465b | 2014-02-24 18:47:38 +0000 | [diff] [blame] | 199 | |
| 200 | <resources> |
| 201 | <resource> |
| 202 | <directory>src/main/resources</directory> |
| 203 | <filtering>true</filtering> |
| 204 | <includes> |
| 205 | <include>index.properties</include> |
| 206 | </includes> |
| 207 | </resource> |
| 208 | <resource> |
| 209 | <directory>src/main/resources</directory> |
| 210 | <filtering>false</filtering> |
| 211 | <excludes> |
| 212 | <exclude>index.properties</exclude> |
| 213 | </excludes> |
| 214 | </resource> |
| 215 | </resources> |
| 216 | |
| 217 | <testResources> |
| 218 | <testResource> |
| 219 | <directory>src/test/resources</directory> |
| 220 | <filtering>true</filtering> |
| 221 | <includes> |
| 222 | <include>index.properties</include> |
| 223 | </includes> |
| 224 | </testResource> |
| 225 | <testResource> |
| 226 | <directory>src/test/resources</directory> |
| 227 | <filtering>false</filtering> |
| 228 | <excludes> |
| 229 | <exclude>index.properties</exclude> |
| 230 | </excludes> |
| 231 | </testResource> |
| 232 | </testResources> |
| 233 | |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 234 | </build> |
| 235 | </project> |