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 | a6954de | 2015-03-20 16:37:37 +0100 | [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> |
| 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 | |
Michael Hanl | f33f706 | 2015-06-24 21:14:26 +0200 | [diff] [blame] | 7 | <groupId>de.ids_mannheim.korap</groupId> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 8 | <artifactId>Koral</artifactId> |
Akron | 79cd736 | 2016-06-03 17:05:05 +0200 | [diff] [blame] | 9 | <version>0.22</version> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 10 | <packaging>jar</packaging> |
| 11 | <name>Koral</name> |
| 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> |
margaretha | fb8efe5 | 2016-05-27 17:20:00 +0200 | [diff] [blame^] | 23 | <version>4.5.1</version> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 24 | </dependency> |
| 25 | <dependency> |
| 26 | <groupId>org.antlr</groupId> |
| 27 | <artifactId>antlr4-maven-plugin</artifactId> |
Jim O'Regan | c61a1df | 2016-02-12 12:22:24 +0000 | [diff] [blame] | 28 | <version>4.2</version> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 29 | </dependency> |
| 30 | <dependency> |
| 31 | <groupId>org.antlr</groupId> |
| 32 | <artifactId>antlr-runtime</artifactId> |
| 33 | <version>3.5</version> |
| 34 | <scope>compile</scope> |
| 35 | </dependency> |
| 36 | <dependency> |
| 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> |
| 57 | <groupId>junit</groupId> |
| 58 | <artifactId>junit</artifactId> |
| 59 | <version>4.11</version> |
| 60 | <scope>test</scope> |
| 61 | </dependency> |
| 62 | <dependency> |
| 63 | <groupId>commons-lang</groupId> |
| 64 | <artifactId>commons-lang</artifactId> |
| 65 | <version>2.6</version> |
| 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>org.z3950.zing</groupId> |
| 69 | <artifactId>cql-java</artifactId> |
| 70 | <version>1.12</version> |
| 71 | </dependency> |
| 72 | <dependency> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 73 | <groupId>log4j</groupId> |
| 74 | <artifactId>log4j</artifactId> |
| 75 | <version>1.2.17</version> |
| 76 | </dependency> |
| 77 | <dependency> |
| 78 | <groupId>log4j</groupId> |
| 79 | <artifactId>apache-log4j-extras</artifactId> |
| 80 | <version>1.2.17</version> |
| 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>org.slf4j</groupId> |
| 84 | <artifactId>slf4j-api</artifactId> |
| 85 | <version>1.7.5</version> |
| 86 | </dependency> |
| 87 | <dependency> |
| 88 | <groupId>org.slf4j</groupId> |
| 89 | <artifactId>slf4j-log4j12</artifactId> |
| 90 | <version>1.7.5</version> |
| 91 | </dependency> |
margaretha | fb8efe5 | 2016-05-27 17:20:00 +0200 | [diff] [blame^] | 92 | <dependency> |
| 93 | <groupId>eu.clarin.sru.fcs</groupId> |
| 94 | <artifactId>fcs-simple-endpoint</artifactId> |
| 95 | <version>1.3.0</version> |
| 96 | </dependency> |
| 97 | <dependency> |
| 98 | <groupId>org.apache.lucene</groupId> |
| 99 | <artifactId>lucene-core</artifactId> |
| 100 | <version>5.2.1</version> |
| 101 | </dependency> |
| 102 | <dependency> |
| 103 | <groupId>org.apache.lucene</groupId> |
| 104 | <artifactId>lucene-analyzers-common</artifactId> |
| 105 | <version>5.2.1</version> |
| 106 | </dependency> |
| 107 | <dependency> |
| 108 | <groupId>org.apache.lucene</groupId> |
| 109 | <artifactId>lucene-queryparser</artifactId> |
| 110 | <version>5.2.1</version> |
| 111 | </dependency> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 112 | </dependencies> |
| 113 | <build> |
| 114 | <sourceDirectory>${basedir}/src/main/java</sourceDirectory> |
| 115 | <outputDirectory>${basedir}/target/classes</outputDirectory> |
| 116 | <plugins> |
Michael Hanl | e91345d | 2015-10-22 17:55:27 +0200 | [diff] [blame] | 117 | <plugin> |
| 118 | <groupId>org.apache.maven.plugins</groupId> |
| 119 | <artifactId>maven-compiler-plugin</artifactId> |
| 120 | <version>3.3</version> |
| 121 | <configuration> |
| 122 | <compilerVersion>1.7</compilerVersion> |
| 123 | <source>1.7</source> |
| 124 | <target>1.7</target> |
| 125 | </configuration> |
| 126 | </plugin> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 127 | <!-- |
| 128 | Formatter plugin for Eclipse based coding conventions |
| 129 | http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html |
Michael Hanl | e91345d | 2015-10-22 17:55:27 +0200 | [diff] [blame] | 130 | --> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 131 | <plugin> |
| 132 | <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| 133 | <artifactId>maven-java-formatter-plugin</artifactId> |
| 134 | <version>0.4</version> |
| 135 | <configuration> |
| 136 | <configFile>${project.basedir}/Format.xml</configFile> |
| 137 | <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion> |
| 138 | <compilerSource>1.7</compilerSource> |
| 139 | <compilerCompliance>1.7</compilerCompliance> |
| 140 | <compilerTargetPlatform>1.7</compilerTargetPlatform> |
| 141 | </configuration> |
| 142 | </plugin> |
| 143 | <plugin> |
| 144 | <artifactId>maven-dependency-plugin</artifactId> |
| 145 | <executions> |
| 146 | <execution> |
| 147 | <phase>install</phase> |
| 148 | <goals> |
| 149 | <goal>copy-dependencies</goal> |
| 150 | </goals> |
| 151 | <configuration> |
| 152 | <outputDirectory>${project.build.directory}/../lib</outputDirectory> |
| 153 | </configuration> |
| 154 | </execution> |
| 155 | </executions> |
| 156 | </plugin> |
| 157 | <plugin> |
| 158 | <groupId>org.apache.maven.plugins</groupId> |
| 159 | <artifactId>maven-jar-plugin</artifactId> |
| 160 | <version>2.5</version> |
| 161 | <configuration> |
| 162 | <archive> |
| 163 | <manifest> |
| 164 | <addClasspath>true</addClasspath> |
| 165 | <classpathPrefix>../lib/</classpathPrefix> |
| 166 | <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass> |
| 167 | </manifest> |
| 168 | </archive> |
| 169 | </configuration> |
| 170 | </plugin> |
| 171 | <plugin> |
| 172 | <!-- This plugin will help to build the ANTLR4 grammar on the fly. The |
| 173 | recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build --> |
| 174 | <groupId>org.antlr</groupId> |
| 175 | <artifactId>antlr4-maven-plugin</artifactId> |
Jim O'Regan | c61a1df | 2016-02-12 12:22:24 +0000 | [diff] [blame] | 176 | <version>4.2</version> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 177 | <executions> |
| 178 | <execution> |
| 179 | <id>poliqarpplus</id> |
| 180 | <goals> |
| 181 | <goal>antlr4</goal> |
| 182 | </goals> |
| 183 | <configuration> |
| 184 | <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory> |
| 185 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory> |
| 186 | <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory> |
| 187 | </configuration> |
| 188 | <phase>generate-sources</phase> |
| 189 | </execution> |
| 190 | <execution> |
| 191 | <id>annis</id> |
| 192 | <goals> |
| 193 | <goal>antlr4</goal> |
| 194 | </goals> |
| 195 | <configuration> |
| 196 | <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory> |
| 197 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory> |
| 198 | <libDirectory>${basedir}/src/main/antlr/annis</libDirectory> |
| 199 | </configuration> |
| 200 | <phase>generate-sources</phase> |
| 201 | </execution> |
| 202 | <execution> |
| 203 | <id>collection</id> |
| 204 | <goals> |
| 205 | <goal>antlr4</goal> |
| 206 | </goals> |
| 207 | <configuration> |
| 208 | <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory> |
| 209 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory> |
| 210 | <libDirectory>${basedir}/src/main/antlr/collection</libDirectory> |
| 211 | </configuration> |
| 212 | <phase>generate-sources</phase> |
| 213 | </execution> |
| 214 | </executions> |
| 215 | </plugin> |
| 216 | <plugin> |
| 217 | <!-- This plugin will help to build the ANTLR3 grammar on the fly. The |
| 218 | recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build --> |
| 219 | <groupId>org.antlr</groupId> |
| 220 | <artifactId>antlr3-maven-plugin</artifactId> |
| 221 | <version>3.5.1</version> |
| 222 | <configuration> |
| 223 | <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory> |
| 224 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory> |
| 225 | <libDirectory>${basedir}/src/main/antlr</libDirectory> |
| 226 | </configuration> |
| 227 | |
| 228 | <executions> |
| 229 | <execution> |
| 230 | <goals> |
| 231 | <goal>antlr</goal> |
| 232 | </goals> |
| 233 | <phase>generate-sources</phase> |
| 234 | </execution> |
| 235 | </executions> |
Joachim Bingel | a6954de | 2015-03-20 16:37:37 +0100 | [diff] [blame] | 236 | </plugin> |
| 237 | </plugins> |
| 238 | </build> |
Joachim Bingel | 4b405f5 | 2013-11-15 15:29:30 +0000 | [diff] [blame] | 239 | </project> |