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" |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [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> |
Michael Hanl | 10d2150 | 2014-02-07 20:09:58 +0000 | [diff] [blame] | 4 | |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 5 | <groupId>de.ids_mannheim.korap</groupId> |
| 6 | <artifactId>Koral</artifactId> |
Akron | 49e8d7b | 2020-10-23 12:28:17 +0200 | [diff] [blame] | 7 | <version>0.37</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 8 | <packaging>jar</packaging> |
| 9 | <name>Koral</name> |
Akron | 8727568 | 2020-03-04 07:32:55 +0100 | [diff] [blame] | 10 | <url>https://korap.ids-mannheim.de</url> |
Akron | e9c81d1 | 2016-06-13 17:27:21 +0200 | [diff] [blame] | 11 | |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 12 | <organization> |
| 13 | <name>IDS Mannheim</name> |
| 14 | <url>http://www.ids-mannheim.de/</url> |
| 15 | </organization> |
Akron | e9c81d1 | 2016-06-13 17:27:21 +0200 | [diff] [blame] | 16 | |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 17 | <developers> |
| 18 | <developer> |
| 19 | <name>Joachim Bingel</name> |
| 20 | <email>bingel@ids-mannheim.de</email> |
| 21 | </developer> |
| 22 | <developer> |
| 23 | <name>Nils Diewald</name> |
| 24 | <email>diewald@ids-mannheim.de</email> |
| 25 | <url>http://nils-diewald.de</url> |
| 26 | </developer> |
| 27 | <developer> |
| 28 | <name>Michael Hanl</name> |
| 29 | <email>hanl@ids-mannheim.de</email> |
| 30 | </developer> |
| 31 | <developer> |
| 32 | <name>Eliza Margaretha</name> |
| 33 | <email>margaretha@ids-mannheim.de</email> |
| 34 | </developer> |
| 35 | </developers> |
Akron | e9c81d1 | 2016-06-13 17:27:21 +0200 | [diff] [blame] | 36 | |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 37 | <properties> |
margaretha | f7dbe33 | 2016-06-16 20:14:26 +0200 | [diff] [blame] | 38 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Akron | 95ef1fa | 2018-10-22 13:05:34 +0200 | [diff] [blame] | 39 | <jackson.version>[2.9.5,)</jackson.version> |
dependabot[bot] | 36f64db | 2021-05-10 16:55:22 +0000 | [diff] [blame] | 40 | <antlr4.version>4.9.2</antlr4.version> |
Akron | 8e28adf | 2020-07-24 14:32:56 +0200 | [diff] [blame] | 41 | <antlr3.version>3.5.2</antlr3.version> |
margaretha | 53965cf | 2018-02-12 16:19:10 +0100 | [diff] [blame] | 42 | <java.version>1.8</java.version> |
dependabot[bot] | 6da83e1 | 2021-03-15 05:27:24 +0000 | [diff] [blame] | 43 | <log4j.version>2.14.1</log4j.version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 44 | </properties> |
margaretha | f7dbe33 | 2016-06-16 20:14:26 +0200 | [diff] [blame] | 45 | |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 46 | <repositories> |
| 47 | <repository> |
| 48 | <id>id-maven-repo</id> |
margaretha | 0966767 | 2021-05-10 19:52:34 +0200 | [diff] [blame] | 49 | <url>https://maven.indexdata.com</url> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 50 | </repository> |
| 51 | <repository> |
| 52 | <id>CLARIN</id> |
| 53 | <name>CLARIN Repository</name> |
| 54 | <url>https://nexus.clarin.eu/content/repositories/Clarin</url> |
| 55 | <snapshots> |
| 56 | <enabled>false</enabled> |
| 57 | </snapshots> |
| 58 | </repository> |
| 59 | </repositories> |
| 60 | <dependencies> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 61 | <dependency> |
| 62 | <groupId>org.antlr</groupId> |
| 63 | <artifactId>antlr4-runtime</artifactId> |
Akron | 8e28adf | 2020-07-24 14:32:56 +0200 | [diff] [blame] | 64 | <version>${antlr4.version}</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 65 | </dependency> |
| 66 | <dependency> |
| 67 | <groupId>org.antlr</groupId> |
| 68 | <artifactId>antlr4-maven-plugin</artifactId> |
Akron | 8e28adf | 2020-07-24 14:32:56 +0200 | [diff] [blame] | 69 | <version>${antlr4.version}</version> |
margaretha | 32f424a | 2021-05-10 15:54:41 +0200 | [diff] [blame] | 70 | <!-- <scope>provided</scope> --> |
| 71 | <exclusions> |
margaretha | 7e8fad3 | 2021-06-24 19:08:07 +0200 | [diff] [blame] | 72 | <!-- incompatible with mock server --> |
margaretha | 32f424a | 2021-05-10 15:54:41 +0200 | [diff] [blame] | 73 | <exclusion> |
| 74 | <groupId>org.sonatype.sisu</groupId> |
| 75 | <artifactId>sisu-guava</artifactId> |
| 76 | </exclusion> |
| 77 | </exclusions> |
margaretha | 7e8fad3 | 2021-06-24 19:08:07 +0200 | [diff] [blame] | 78 | </dependency> |
| 79 | <!-- adding manually due to Shell Command Injection and Directory Traversal |
| 80 | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000487 |
| 81 | https://cwe.mitre.org/data/definitions/22.html --> |
| 82 | <dependency> |
| 83 | <groupId>org.codehaus.plexus</groupId> |
| 84 | <artifactId>plexus-utils</artifactId> |
| 85 | <version>3.3.0</version> |
| 86 | </dependency> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 87 | <dependency> |
| 88 | <groupId>org.antlr</groupId> |
| 89 | <artifactId>antlr-runtime</artifactId> |
Akron | 8e28adf | 2020-07-24 14:32:56 +0200 | [diff] [blame] | 90 | <version>${antlr3.version}</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 91 | <scope>compile</scope> |
| 92 | </dependency> |
| 93 | <dependency> |
| 94 | <groupId>com.google.guava</groupId> |
| 95 | <artifactId>guava</artifactId> |
Akron | 4717495 | 2020-06-16 18:18:00 +0200 | [diff] [blame] | 96 | <version>[29.0-jre,)</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 97 | </dependency> |
| 98 | <dependency> |
| 99 | <groupId>com.fasterxml.jackson.core</groupId> |
| 100 | <artifactId>jackson-core</artifactId> |
margaretha | 666988f | 2017-11-13 15:30:06 +0100 | [diff] [blame] | 101 | <version>${jackson.version}</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 102 | </dependency> |
| 103 | <dependency> |
| 104 | <groupId>com.fasterxml.jackson.core</groupId> |
| 105 | <artifactId>jackson-annotations</artifactId> |
margaretha | 666988f | 2017-11-13 15:30:06 +0100 | [diff] [blame] | 106 | <version>${jackson.version}</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 107 | </dependency> |
| 108 | <dependency> |
| 109 | <groupId>com.fasterxml.jackson.core</groupId> |
| 110 | <artifactId>jackson-databind</artifactId> |
margaretha | 666988f | 2017-11-13 15:30:06 +0100 | [diff] [blame] | 111 | <version>${jackson.version}</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 112 | </dependency> |
| 113 | <dependency> |
| 114 | <groupId>junit</groupId> |
| 115 | <artifactId>junit</artifactId> |
dependabot[bot] | d204fcb | 2021-02-15 05:28:59 +0000 | [diff] [blame] | 116 | <version>4.13.2</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 117 | <scope>test</scope> |
| 118 | </dependency> |
| 119 | <dependency> |
| 120 | <groupId>commons-lang</groupId> |
| 121 | <artifactId>commons-lang</artifactId> |
| 122 | <version>2.6</version> |
| 123 | </dependency> |
| 124 | <dependency> |
| 125 | <groupId>org.z3950.zing</groupId> |
| 126 | <artifactId>cql-java</artifactId> |
margaretha | 0966767 | 2021-05-10 19:52:34 +0200 | [diff] [blame] | 127 | <version>1.13</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 128 | </dependency> |
| 129 | <dependency> |
margaretha | ab20584 | 2019-02-07 16:38:41 +0100 | [diff] [blame] | 130 | <groupId>org.apache.logging.log4j</groupId> |
| 131 | <artifactId>log4j-api</artifactId> |
Marc Kupietz | 5048dbb | 2020-07-14 13:04:06 +0200 | [diff] [blame] | 132 | <version>${log4j.version}</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 133 | </dependency> |
| 134 | <dependency> |
margaretha | ab20584 | 2019-02-07 16:38:41 +0100 | [diff] [blame] | 135 | <groupId>org.apache.logging.log4j</groupId> |
| 136 | <artifactId>log4j-core</artifactId> |
Marc Kupietz | 5048dbb | 2020-07-14 13:04:06 +0200 | [diff] [blame] | 137 | <version>${log4j.version}</version> |
margaretha | ab20584 | 2019-02-07 16:38:41 +0100 | [diff] [blame] | 138 | </dependency> |
| 139 | <dependency> |
| 140 | <groupId>org.apache.logging.log4j</groupId> |
| 141 | <artifactId>log4j-slf4j-impl</artifactId> |
Marc Kupietz | 5048dbb | 2020-07-14 13:04:06 +0200 | [diff] [blame] | 142 | <version>${log4j.version}</version> |
margaretha | ab20584 | 2019-02-07 16:38:41 +0100 | [diff] [blame] | 143 | </dependency> |
| 144 | <dependency> |
| 145 | <groupId>org.apache.logging.log4j</groupId> |
| 146 | <artifactId>log4j-jul</artifactId> |
Marc Kupietz | 5048dbb | 2020-07-14 13:04:06 +0200 | [diff] [blame] | 147 | <version>${log4j.version}</version> |
margaretha | ab20584 | 2019-02-07 16:38:41 +0100 | [diff] [blame] | 148 | <exclusions> |
| 149 | <exclusion> |
| 150 | <groupId>org.slf4j</groupId> |
| 151 | <artifactId>slf4j-api</artifactId> |
| 152 | </exclusion> |
| 153 | </exclusions> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 154 | </dependency> |
| 155 | <dependency> |
| 156 | <groupId>org.slf4j</groupId> |
| 157 | <artifactId>slf4j-api</artifactId> |
dependabot[bot] | 089435f | 2020-07-15 05:54:53 +0000 | [diff] [blame] | 158 | <version>1.7.30</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 159 | </dependency> |
| 160 | <dependency> |
| 161 | <groupId>eu.clarin.sru.fcs</groupId> |
| 162 | <artifactId>fcs-simple-endpoint</artifactId> |
dependabot[bot] | 8c9f1ef | 2020-07-14 11:24:34 +0000 | [diff] [blame] | 163 | <version>1.4.0</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 164 | </dependency> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 165 | </dependencies> |
| 166 | <build> |
| 167 | <sourceDirectory>${basedir}/src/main/java</sourceDirectory> |
| 168 | <outputDirectory>${basedir}/target/classes</outputDirectory> |
| 169 | <plugins> |
margaretha | 2f9d28c | 2018-01-10 16:16:49 +0100 | [diff] [blame] | 170 | <plugin> |
Marc Kupietz | a8269db | 2020-07-14 15:52:06 +0200 | [diff] [blame] | 171 | <groupId>org.apache.maven.plugins</groupId> |
| 172 | <artifactId>maven-clean-plugin</artifactId> |
| 173 | <version>3.1.0</version> |
margaretha | 2f9d28c | 2018-01-10 16:16:49 +0100 | [diff] [blame] | 174 | <configuration> |
| 175 | <filesets> |
| 176 | <fileset> |
| 177 | <directory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse</directory> |
| 178 | <includes> |
| 179 | <include>**/*.java</include> |
| 180 | <include>**/*.tokens</include> |
| 181 | </includes> |
| 182 | <excludes> |
| 183 | <exclude>**/IErrorReporter.java</exclude> |
| 184 | <exclude>**/c2ps_opAnnot.java</exclude> |
| 185 | <exclude>**/c2ps_opBED.java</exclude> |
| 186 | <exclude>**/c2ps_opELEM.java</exclude> |
| 187 | <exclude>**/c2ps_opIN.java</exclude> |
| 188 | <exclude>**/c2ps_opOV.java</exclude> |
| 189 | <exclude>**/c2ps_opPROX.java</exclude> |
| 190 | <exclude>**/c2ps_opWF.java</exclude> |
| 191 | <exclude>**/c2ps_optCase.java</exclude> |
| 192 | <exclude>**/.gitignore</exclude> |
| 193 | <exclude>fcsql/*</exclude> |
| 194 | </excludes> |
| 195 | <followSymlinks>false</followSymlinks> |
| 196 | </fileset> |
| 197 | </filesets> |
| 198 | </configuration> |
| 199 | </plugin> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 200 | <plugin> |
| 201 | <groupId>org.apache.maven.plugins</groupId> |
margaretha | 87291cf | 2017-11-17 14:36:16 +0100 | [diff] [blame] | 202 | <artifactId>maven-surefire-plugin</artifactId> |
dependabot[bot] | e4c27d6 | 2020-07-15 05:54:42 +0000 | [diff] [blame] | 203 | <version>2.22.2</version> |
margaretha | 87291cf | 2017-11-17 14:36:16 +0100 | [diff] [blame] | 204 | <configuration> |
margaretha | f011f26 | 2019-02-20 17:13:34 +0100 | [diff] [blame] | 205 | <useSystemClassLoader>false</useSystemClassLoader> |
| 206 | <excludes> |
| 207 | <exclude>**/OPINTest.java</exclude> |
| 208 | </excludes> |
margaretha | 87291cf | 2017-11-17 14:36:16 +0100 | [diff] [blame] | 209 | </configuration> |
| 210 | </plugin> |
| 211 | <plugin> |
| 212 | <groupId>org.apache.maven.plugins</groupId> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 213 | <artifactId>maven-compiler-plugin</artifactId> |
dependabot[bot] | 1832d3f | 2020-07-15 05:54:40 +0000 | [diff] [blame] | 214 | <version>3.8.1</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 215 | <configuration> |
margaretha | 5c26075 | 2018-02-12 16:05:51 +0100 | [diff] [blame] | 216 | <!-- <verbose>true</verbose> |
| 217 | <fork>true</fork> --> |
margaretha | 53965cf | 2018-02-12 16:19:10 +0100 | [diff] [blame] | 218 | <!-- <executable>${env.JAVA7_HOME}/bin/javac</executable> --> |
| 219 | <compilerVersion>2.0</compilerVersion> |
| 220 | <source>${java.version}</source> |
| 221 | <target>${java.version}</target> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 222 | </configuration> |
| 223 | </plugin> |
margaretha | f7dbe33 | 2016-06-16 20:14:26 +0200 | [diff] [blame] | 224 | <!-- <plugin> |
| 225 | <groupId>org.codehaus.mojo</groupId> |
| 226 | <artifactId>properties-maven-plugin</artifactId> |
| 227 | <version>1.0.0</version> |
| 228 | <executions> |
| 229 | <execution> |
| 230 | <goals> |
| 231 | <goal>set-system-properties</goal> |
| 232 | </goals> |
| 233 | <configuration> |
| 234 | <properties> |
| 235 | <property> |
| 236 | <name>https.protocols</name> |
| 237 | <value>TLSv1.2</value> |
| 238 | </property> |
| 239 | </properties> |
| 240 | </configuration> |
| 241 | </execution> |
| 242 | </executions> |
| 243 | </plugin> --> |
| 244 | <!-- <plugin> |
| 245 | <groupId>org.apache.maven.plugins</groupId> |
| 246 | <artifactId>maven-surefire-plugin</artifactId> |
| 247 | <version>2.19.1</version> |
| 248 | <configuration> |
| 249 | <systemProperties> |
| 250 | <property> |
| 251 | <name>https.protocols</name> |
| 252 | <value>TLSv1.2</value> |
| 253 | </property> |
| 254 | </systemProperties> |
| 255 | <argLine>-Djava.https.protocols=TLSv1.2</argLine> |
| 256 | </configuration> |
| 257 | </plugin> |
| 258 | <plugin> |
| 259 | <groupId>org.apache.maven.plugins</groupId> |
| 260 | <artifactId>maven-failsafe-plugin</artifactId> |
| 261 | <version>2.19.1</version> |
| 262 | <configuration> |
| 263 | <systemPropertyVariables> |
| 264 | <https.protocols>TLSv1.2</https.protocols> |
| 265 | </systemPropertyVariables> |
| 266 | </configuration> |
| 267 | </plugin> --> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 268 | <!-- Formatter plugin for Eclipse based coding conventions http://maven-java-formatter-plugin.googlecode.com/svn/site/0.4/usage.html --> |
| 269 | <plugin> |
| 270 | <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| 271 | <artifactId>maven-java-formatter-plugin</artifactId> |
| 272 | <version>0.4</version> |
| 273 | <configuration> |
| 274 | <configFile>${project.basedir}/Format.xml</configFile> |
| 275 | <overrideConfigCompilerVersion>true</overrideConfigCompilerVersion> |
margaretha | 53965cf | 2018-02-12 16:19:10 +0100 | [diff] [blame] | 276 | <compilerSource>${java.version}</compilerSource> |
| 277 | <compilerCompliance>${java.version}</compilerCompliance> |
| 278 | <compilerTargetPlatform>${java.version}</compilerTargetPlatform> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 279 | </configuration> |
| 280 | </plugin> |
| 281 | <plugin> |
| 282 | <groupId>org.apache.maven.plugins</groupId> |
| 283 | <artifactId>maven-dependency-plugin</artifactId> |
| 284 | <executions> |
| 285 | <execution> |
margaretha | db09b03 | 2017-05-30 18:23:31 +0200 | [diff] [blame] | 286 | <phase>package</phase> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 287 | <goals> |
| 288 | <goal>copy-dependencies</goal> |
| 289 | </goals> |
| 290 | <configuration> |
| 291 | <outputDirectory>${project.build.directory}/../lib</outputDirectory> |
| 292 | </configuration> |
| 293 | </execution> |
| 294 | </executions> |
| 295 | </plugin> |
| 296 | <plugin> |
| 297 | <groupId>org.apache.maven.plugins</groupId> |
| 298 | <artifactId>maven-jar-plugin</artifactId> |
dependabot[bot] | b9d0f4a | 2020-07-17 07:11:45 +0000 | [diff] [blame] | 299 | <version>3.2.0</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 300 | <configuration> |
| 301 | <archive> |
| 302 | <manifest> |
| 303 | <addClasspath>true</addClasspath> |
| 304 | <classpathPrefix>../lib/</classpathPrefix> |
| 305 | <mainClass>de.ids_mannheim.korap.query.serialize.QuerySerializer</mainClass> |
| 306 | </manifest> |
| 307 | </archive> |
| 308 | </configuration> |
| 309 | </plugin> |
| 310 | <plugin> |
| 311 | <!-- This plugin will help to build the ANTLR4 grammar on the fly. The |
| 312 | recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build --> |
| 313 | <groupId>org.antlr</groupId> |
| 314 | <artifactId>antlr4-maven-plugin</artifactId> |
margaretha | 32f424a | 2021-05-10 15:54:41 +0200 | [diff] [blame] | 315 | <version>${antlr4.version}</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 316 | <executions> |
| 317 | <execution> |
| 318 | <id>poliqarpplus</id> |
| 319 | <goals> |
| 320 | <goal>antlr4</goal> |
| 321 | </goals> |
| 322 | <configuration> |
| 323 | <sourceDirectory>${basedir}/src/main/antlr/poliqarpplus</sourceDirectory> |
| 324 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/poliqarpplus</outputDirectory> |
| 325 | <libDirectory>${basedir}/src/main/antlr/poliqarpplus</libDirectory> |
| 326 | </configuration> |
margaretha | 5c26075 | 2018-02-12 16:05:51 +0100 | [diff] [blame] | 327 | <!-- <phase>generate-sources</phase> --> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 328 | </execution> |
| 329 | <execution> |
| 330 | <id>annis</id> |
| 331 | <goals> |
| 332 | <goal>antlr4</goal> |
| 333 | </goals> |
| 334 | <configuration> |
| 335 | <sourceDirectory>${basedir}/src/main/antlr/annis</sourceDirectory> |
| 336 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/annis</outputDirectory> |
| 337 | <libDirectory>${basedir}/src/main/antlr/annis</libDirectory> |
| 338 | </configuration> |
margaretha | 5c26075 | 2018-02-12 16:05:51 +0100 | [diff] [blame] | 339 | <!-- <phase>generate-sources</phase> --> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 340 | </execution> |
| 341 | <execution> |
| 342 | <id>collection</id> |
| 343 | <goals> |
| 344 | <goal>antlr4</goal> |
| 345 | </goals> |
| 346 | <configuration> |
| 347 | <sourceDirectory>${basedir}/src/main/antlr/collection</sourceDirectory> |
| 348 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/collection</outputDirectory> |
| 349 | <libDirectory>${basedir}/src/main/antlr/collection</libDirectory> |
| 350 | </configuration> |
margaretha | 5c26075 | 2018-02-12 16:05:51 +0100 | [diff] [blame] | 351 | <!-- <phase>generate-sources</phase> --> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 352 | </execution> |
| 353 | </executions> |
| 354 | </plugin> |
| 355 | <plugin> |
| 356 | <!-- This plugin will help to build the ANTLR3 grammar on the fly. The |
| 357 | recipe is based on http://stackoverflow.com/questions/15310628/ customize-maven-to-automatically-create-antlr4-grammar-java-files-on-build --> |
| 358 | <groupId>org.antlr</groupId> |
| 359 | <artifactId>antlr3-maven-plugin</artifactId> |
Akron | 8e28adf | 2020-07-24 14:32:56 +0200 | [diff] [blame] | 360 | <version>${antlr3.version}</version> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 361 | <configuration> |
| 362 | <sourceDirectory>${basedir}/src/main/antlr/cosmas</sourceDirectory> |
| 363 | <outputDirectory>${basedir}/src/main/java/de/ids_mannheim/korap/query/parse/cosmas</outputDirectory> |
| 364 | <libDirectory>${basedir}/src/main/antlr</libDirectory> |
| 365 | </configuration> |
| 366 | <executions> |
| 367 | <execution> |
| 368 | <goals> |
| 369 | <goal>antlr</goal> |
| 370 | </goals> |
margaretha | 5c26075 | 2018-02-12 16:05:51 +0100 | [diff] [blame] | 371 | <!-- <phase>generate-sources</phase> --> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 372 | </execution> |
| 373 | </executions> |
| 374 | </plugin> |
| 375 | </plugins> |
Akron | 908a938 | 2021-03-04 17:26:25 +0100 | [diff] [blame] | 376 | <resources> |
| 377 | <resource> |
| 378 | <directory>src/main/resources</directory> |
| 379 | <filtering>true</filtering> |
| 380 | <includes> |
| 381 | <include>koral.info</include> |
| 382 | </includes> |
| 383 | </resource> |
| 384 | </resources> |
margaretha | 842af33 | 2016-06-14 16:31:05 +0200 | [diff] [blame] | 385 | </build> |
Joachim Bingel | 4b405f5 | 2013-11-15 15:29:30 +0000 | [diff] [blame] | 386 | </project> |