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