Joachim Bingel | 4b405f5 | 2013-11-15 15:29:30 +0000 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Joachim Bingel | 6003b85 | 2014-12-18 14:20:55 +0000 | [diff] [blame] | 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> |
Joachim Bingel | 97c194c | 2015-02-03 14:41:30 +0000 | [diff] [blame] | 4 | <!-- <parent> <groupId>KorAP-modules</groupId> <artifactId>KorAP-core-modules</artifactId> |
| 5 | <version>1.1</version> </parent> --> |
Michael Hanl | 10d2150 | 2014-02-07 20:09:58 +0000 | [diff] [blame] | 6 | |
Joachim Bingel | 6003b85 | 2014-12-18 14:20:55 +0000 | [diff] [blame] | 7 | <groupId>KorAP-modules</groupId> |
Joachim Bingel | 2b00f49 | 2015-01-31 18:25:49 +0000 | [diff] [blame] | 8 | <artifactId>Koral</artifactId> |
Joachim Bingel | 97c194c | 2015-02-03 14:41:30 +0000 | [diff] [blame] | 9 | <version>0.1</version> |
Joachim Bingel | 6003b85 | 2014-12-18 14:20:55 +0000 | [diff] [blame] | 10 | <packaging>jar</packaging> |
Joachim Bingel | 2b00f49 | 2015-01-31 18:25:49 +0000 | [diff] [blame] | 11 | <name>Koral</name> |
Joachim Bingel | 6003b85 | 2014-12-18 14:20:55 +0000 | [diff] [blame] | 12 | <url>http://maven.apache.org</url> |
| 13 | <repositories> |
| 14 | <repository> |
| 15 | <id>id-maven-repo</id> |
| 16 | <url>http://maven.indexdata.com</url> |
| 17 | </repository> |
| 18 | </repositories> |
| 19 | <dependencies> |
| 20 | <dependency> |
| 21 | <groupId>org.antlr</groupId> |
| 22 | <artifactId>antlr4-runtime</artifactId> |
| 23 | <version>4.1</version> |
| 24 | </dependency> |
| 25 | <dependency> |
Joachim Bingel | 787836a | 2014-08-07 14:50:18 +0000 | [diff] [blame] | 26 | <groupId>org.antlr</groupId> |
| 27 | <artifactId>antlr4-maven-plugin</artifactId> |
| 28 | <version>4.1</version> |
| 29 | </dependency> |
Joachim Bingel | 6003b85 | 2014-12-18 14:20:55 +0000 | [diff] [blame] | 30 | <dependency> |
Joachim Bingel | 2919a05 | 2014-12-18 15:58:50 +0000 | [diff] [blame] | 31 | <groupId>org.antlr</groupId> |
| 32 | <artifactId>antlr-runtime</artifactId> |
| 33 | <version>3.5</version> |
| 34 | <scope>compile</scope> |
| 35 | </dependency> |
| 36 | <dependency> |
Joachim Bingel | 6003b85 | 2014-12-18 14:20:55 +0000 | [diff] [blame] | 37 | <groupId>com.google.guava</groupId> |
| 38 | <artifactId>guava</artifactId> |
| 39 | <version>15.0</version> |
| 40 | </dependency> |
| 41 | <dependency> |
| 42 | <groupId>com.fasterxml.jackson.core</groupId> |
| 43 | <artifactId>jackson-core</artifactId> |
| 44 | <version>2.3.3</version> |
| 45 | </dependency> |
| 46 | <dependency> |
| 47 | <groupId>com.fasterxml.jackson.core</groupId> |
| 48 | <artifactId>jackson-annotations</artifactId> |
| 49 | <version>2.3.3</version> |
| 50 | </dependency> |
| 51 | <dependency> |
| 52 | <groupId>com.fasterxml.jackson.core</groupId> |
| 53 | <artifactId>jackson-databind</artifactId> |
| 54 | <version>2.3.3</version> |
| 55 | </dependency> |
| 56 | <!-- dependency> <groupId>KorAP-modules</groupId> <artifactId>KorAP-PoliqarpParser</artifactId> |
| 57 | <version>0.1</version> </dependency> <dependency> <groupId>KorAP-modules</groupId> |
| 58 | <artifactId>KorAP-Cosmas2Parser</artifactId> <version>0.02</version> </dependency> |
| 59 | <dependency> <groupId>KorAP-modules</groupId> <artifactId>KorAP-AnnisParser</artifactId> |
| 60 | <version>0.01</version> </dependency --> |
| 61 | <dependency> |
| 62 | <groupId>junit</groupId> |
| 63 | <artifactId>junit</artifactId> |
| 64 | <version>4.11</version> |
| 65 | <scope>test</scope> |
| 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>commons-lang</groupId> |
| 69 | <artifactId>commons-lang</artifactId> |
| 70 | <version>2.6</version> |
| 71 | </dependency> |
| 72 | <dependency> |
| 73 | <groupId>org.z3950.zing</groupId> |
| 74 | <artifactId>cql-java</artifactId> |
| 75 | <version>1.12</version> |
| 76 | </dependency> |
Joachim Bingel | 97c194c | 2015-02-03 14:41:30 +0000 | [diff] [blame] | 77 | <dependency> |
| 78 | <groupId>org.projectlombok</groupId> |
| 79 | <artifactId>lombok</artifactId> |
| 80 | <version>0.11.8</version> |
| 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>log4j</groupId> |
| 84 | <artifactId>log4j</artifactId> |
| 85 | <version>1.2.17</version> |
| 86 | </dependency> |
| 87 | <dependency> |
| 88 | <groupId>log4j</groupId> |
| 89 | <artifactId>apache-log4j-extras</artifactId> |
| 90 | <version>1.2.17</version> |
| 91 | </dependency> |
| 92 | <dependency> |
| 93 | <groupId>org.slf4j</groupId> |
| 94 | <artifactId>slf4j-api</artifactId> |
| 95 | <version>1.7.5</version> |
| 96 | </dependency> |
| 97 | <dependency> |
| 98 | <groupId>org.slf4j</groupId> |
| 99 | <artifactId>slf4j-log4j12</artifactId> |
| 100 | <version>1.7.5</version> |
| 101 | </dependency> |
Joachim Bingel | 6003b85 | 2014-12-18 14:20:55 +0000 | [diff] [blame] | 102 | </dependencies> |
| 103 | <build> |
| 104 | <sourceDirectory>${basedir}/src/main/java</sourceDirectory> |
Joachim Bingel | 1c6c755 | 2015-02-05 17:55:31 +0100 | [diff] [blame] | 105 | <outputDirectory>${basedir}/target/classes</outputDirectory> |
Joachim Bingel | 6e6e547 | 2015-02-10 10:40:06 +0100 | [diff] [blame] | 106 | <plugins> |
| 107 | <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html --> |
| 108 | <plugin> |
| 109 | <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| 110 | <artifactId>maven-java-formatter-plugin</artifactId> |
| 111 | <version>0.4</version> |
| 112 | <configuration> |
| 113 | <configFile>${project.basedir}/korap-style.xml</configFile> |
| 114 | <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion> |
| 115 | <compilerSource>1.7</compilerSource> |
| 116 | <compilerCompliance>1.7</compilerCompliance> |
| 117 | <compilerTargetPlatform>1.7</compilerTargetPlatform> |
| 118 | </configuration> |
| 119 | </plugin> |
| 120 | <plugin> |
| 121 | <artifactId>maven-dependency-plugin</artifactId> |
| 122 | <executions> |
| 123 | <execution> |
| 124 | <phase>install</phase> |
| 125 | <goals> |
| 126 | <goal>copy-dependencies</goal> |
| 127 | </goals> |
| 128 | <configuration> |
| 129 | <outputDirectory>${project.build.directory}/../lib</outputDirectory> |
| 130 | </configuration> |
| 131 | </execution> |
| 132 | </executions> |
| 133 | </plugin> |
| 134 | <plugin> |
| 135 | <groupId>org.apache.maven.plugins</groupId> |
| 136 | <artifactId>maven-jar-plugin</artifactId> |
| 137 | <version>2.5</version> |
| 138 | <configuration> |
| 139 | <archive> |
| 140 | <manifest> |
| 141 | <addClasspath>true</addClasspath> |
| 142 | <classpathPrefix>../lib/</classpathPrefix> |
| 143 | <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass> |
| 144 | </manifest> |
| 145 | </archive> |
| 146 | </configuration> |
| 147 | </plugin> |
| 148 | <plugin> |
| 149 | <!-- This plugin will help to build the ANTLR4 grammar on the fly. The |
| 150 | recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build --> |
| 151 | <groupId>org.antlr</groupId> |
| 152 | <artifactId>antlr4-maven-plugin</artifactId> |
| 153 | <version>4.1</version> |
| 154 | <executions> |
| 155 | <execution> |
| 156 | <id>poliqarpplus</id> |
| 157 | <goals> |
| 158 | <goal>antlr4</goal> |
| 159 | </goals> |
| 160 | <configuration> |
| 161 | <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory> |
| 162 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory> |
| 163 | <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory> |
| 164 | </configuration> |
| 165 | <phase>generate-sources</phase> |
| 166 | </execution> |
| 167 | <execution> |
| 168 | <id>annis</id> |
| 169 | <goals> |
| 170 | <goal>antlr4</goal> |
| 171 | </goals> |
| 172 | <configuration> |
| 173 | <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory> |
| 174 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory> |
| 175 | <libDirectory>${basedir}/src/main/antlr/annis</libDirectory> |
| 176 | </configuration> |
| 177 | <phase>generate-sources</phase> |
| 178 | </execution> |
| 179 | <execution> |
| 180 | <id>collection</id> |
| 181 | <goals> |
| 182 | <goal>antlr4</goal> |
| 183 | </goals> |
| 184 | <configuration> |
| 185 | <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory> |
| 186 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory> |
| 187 | <libDirectory>${basedir}/src/main/antlr/collection</libDirectory> |
| 188 | </configuration> |
| 189 | <phase>generate-sources</phase> |
| 190 | </execution> |
| 191 | </executions> |
| 192 | </plugin> |
| 193 | <plugin> |
| 194 | <!-- This plugin will help to build the ANTLR3 grammar on the fly. The |
| 195 | recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build --> |
| 196 | <groupId>org.antlr</groupId> |
| 197 | <artifactId>antlr3-maven-plugin</artifactId> |
| 198 | <version>3.5.1</version> |
| 199 | <configuration> |
| 200 | <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory> |
| 201 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory> |
| 202 | <libDirectory>${basedir}/src/main/antlr</libDirectory> |
| 203 | </configuration> |
Joachim Bingel | 6003b85 | 2014-12-18 14:20:55 +0000 | [diff] [blame] | 204 | |
Joachim Bingel | 6e6e547 | 2015-02-10 10:40:06 +0100 | [diff] [blame] | 205 | <executions> |
| 206 | <execution> |
| 207 | <goals> |
| 208 | <goal>antlr</goal> |
| 209 | </goals> |
| 210 | <phase>generate-sources</phase> |
| 211 | </execution> |
| 212 | </executions> |
Joachim Bingel | 6003b85 | 2014-12-18 14:20:55 +0000 | [diff] [blame] | 213 | |
Joachim Bingel | 6e6e547 | 2015-02-10 10:40:06 +0100 | [diff] [blame] | 214 | </plugin> |
| 215 | <plugin> |
| 216 | <artifactId>maven-compiler-plugin</artifactId> |
| 217 | <version>2.3.2</version> |
| 218 | <configuration> |
| 219 | <source>1.7</source> |
| 220 | <target>1.7</target> |
| 221 | <!-- excludes> <exclude>**/CosmasTree.java</exclude> </excludes --> |
| 222 | </configuration> |
| 223 | </plugin> |
| 224 | </plugins> |
Joachim Bingel | 6003b85 | 2014-12-18 14:20:55 +0000 | [diff] [blame] | 225 | </build> |
Joachim Bingel | 4b405f5 | 2013-11-15 15:29:30 +0000 | [diff] [blame] | 226 | </project> |