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 | f5f29ff | 2014-02-14 12:24:34 +0000 | [diff] [blame] | 14 | <version>0.30.2</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 | |
| 83 | <!-- JCache --> |
| 84 | <dependency> |
| 85 | <groupId>net.sf.jsr107cache</groupId> |
| 86 | <artifactId>jsr107cache</artifactId> |
| 87 | <version>1.0</version> |
| 88 | </dependency> |
| 89 | |
Nils Diewald | 2cd1c3d | 2014-01-08 22:53:08 +0000 | [diff] [blame] | 90 | <!-- among others Base4 support --> |
| 91 | <!-- |
| 92 | <dependency> |
| 93 | <groupId>commons-codec</groupId> |
| 94 | <artifactId>commons-codec</artifactId> |
| 95 | <version>1.4</version> |
| 96 | </dependency> |
| 97 | --> |
| 98 | |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 99 | <!-- Jackson --> |
| 100 | <!-- see https://github.com/FasterXML/jackson-core --> |
| 101 | <!-- https://github.com/FasterXML/jackson-databind --> |
| 102 | <dependency> |
| 103 | <groupId>com.fasterxml.jackson.core</groupId> |
| 104 | <artifactId>jackson-databind</artifactId> |
| 105 | <version>2.2.2</version> |
| 106 | </dependency> |
| 107 | <dependency> |
| 108 | <groupId>com.fasterxml.jackson.core</groupId> |
| 109 | <artifactId>jackson-annotations</artifactId> |
| 110 | <version>2.2.2</version> |
| 111 | </dependency> |
| 112 | <dependency> |
| 113 | <groupId>com.fasterxml.jackson.core</groupId> |
| 114 | <artifactId>jackson-core</artifactId> |
| 115 | <version>2.2.2</version> |
| 116 | </dependency> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 117 | </dependencies> |
| 118 | |
| 119 | <build> |
| 120 | <sourceDirectory>${basedir}/src/main/java</sourceDirectory> |
| 121 | <outputDirectory>${basedir}/bin</outputDirectory> |
| 122 | <plugins> |
| 123 | <plugin> |
| 124 | <artifactId>maven-compiler-plugin</artifactId> |
| 125 | <version>2.3.2</version> |
| 126 | <configuration> |
| 127 | <source>1.7</source> |
| 128 | <target>1.7</target> |
| 129 | </configuration> |
| 130 | </plugin> |
Nils Diewald | aee4545 | 2013-11-27 22:35:55 +0000 | [diff] [blame] | 131 | |
| 132 | <!-- |
| 133 | install the indexer |
| 134 | $ mvn clean compile assembly:single |
| 135 | Then run e.g. |
Nils Diewald | 22efd2d | 2013-11-29 22:54:24 +0000 | [diff] [blame] | 136 | $ java -jar target/KorAP-lucene-index-X.XX-jar-with-dependencies.jar src/test/resources/wiki/ |
| 137 | or |
| 138 | $ 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 Diewald | da08036 | 2013-11-30 17:31:43 +0000 | [diff] [blame] | 139 | $ 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 Diewald | aee4545 | 2013-11-27 22:35:55 +0000 | [diff] [blame] | 140 | |
| 141 | --> |
| 142 | <plugin> |
| 143 | <artifactId>maven-assembly-plugin</artifactId> |
| 144 | <configuration> |
| 145 | <archive> |
| 146 | <manifest> |
| 147 | <mainClass>de.ids_mannheim.korap.KorapIndexer</mainClass> |
| 148 | </manifest> |
| 149 | </archive> |
| 150 | <descriptorRefs> |
| 151 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 152 | </descriptorRefs> |
| 153 | </configuration> |
| 154 | <executions> |
| 155 | <execution> |
| 156 | <id>make-assembly</id> |
| 157 | <phase>package</phase> |
| 158 | <goals> |
| 159 | <goal>single</goal> |
| 160 | </goals> |
| 161 | </execution> |
| 162 | </executions> |
| 163 | </plugin> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 164 | <plugin> |
Nils Diewald | 22efd2d | 2013-11-29 22:54:24 +0000 | [diff] [blame] | 165 | <groupId>org.apache.maven.plugins</groupId> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 166 | <artifactId>maven-surefire-plugin</artifactId> |
Nils Diewald | 22efd2d | 2013-11-29 22:54:24 +0000 | [diff] [blame] | 167 | <version>2.16</version> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 168 | <configuration> |
Nils Diewald | 22efd2d | 2013-11-29 22:54:24 +0000 | [diff] [blame] | 169 | <excludes> |
| 170 | <exclude>**/TestRealIndex.java</exclude> |
| 171 | </excludes> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 172 | </configuration> |
| 173 | </plugin> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 174 | </plugins> |
| 175 | </build> |
| 176 | </project> |