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 | c925b49 | 2013-12-03 23:56:10 +0000 | [diff] [blame] | 12 | <version>0.22</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> |
| 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 Diewald | aee4545 | 2013-11-27 22:35:55 +0000 | [diff] [blame] | 121 | |
| 122 | <!-- |
| 123 | install the indexer |
| 124 | $ mvn clean compile assembly:single |
| 125 | Then run e.g. |
Nils Diewald | 22efd2d | 2013-11-29 22:54:24 +0000 | [diff] [blame] | 126 | $ 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 Diewald | da08036 | 2013-11-30 17:31:43 +0000 | [diff] [blame] | 129 | $ 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] | 130 | |
| 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 Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 154 | <plugin> |
Nils Diewald | 22efd2d | 2013-11-29 22:54:24 +0000 | [diff] [blame] | 155 | <groupId>org.apache.maven.plugins</groupId> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 156 | <artifactId>maven-surefire-plugin</artifactId> |
Nils Diewald | 22efd2d | 2013-11-29 22:54:24 +0000 | [diff] [blame] | 157 | <version>2.16</version> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 158 | <configuration> |
Nils Diewald | 22efd2d | 2013-11-29 22:54:24 +0000 | [diff] [blame] | 159 | <excludes> |
| 160 | <exclude>**/TestRealIndex.java</exclude> |
| 161 | </excludes> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 162 | </configuration> |
| 163 | </plugin> |
Nils Diewald | f399a67 | 2013-11-18 17:55:22 +0000 | [diff] [blame] | 164 | </plugins> |
| 165 | </build> |
| 166 | </project> |