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