blob: 78e7af061f421935867c266196a5256985655b7f [file] [log] [blame]
Marc Kupietz33677732020-09-04 22:07:39 +02001<?xml version="1.0" encoding="UTF-8"?>
Marc Kupietz4128bee2023-09-07 11:53:31 +02002<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Marc Kupietz33677732020-09-04 22:07:39 +02003 <modelVersion>4.0.0</modelVersion>
Marc Kupietzc93f8622023-09-08 12:57:00 +02004 <packaging>jar</packaging>
Marc Kupietz33677732020-09-04 22:07:39 +02005
Marc Kupietz947acca2023-09-08 12:23:36 +02006 <groupId>de.ids-mannheim.korap.tokenizer</groupId>
Marc Kupietz33677732020-09-04 22:07:39 +02007 <artifactId>KorAP-Tokenizer</artifactId>
Marc Kupietz7328af92023-09-08 14:15:54 +02008 <version>2.2.5-SNAPSHOT</version>
Marc Kupietz4cb81572023-09-07 11:34:11 +02009
10 <name>KorAP-Tokenizer</name>
11 <description>DFA tokenizer with character offset output, large abbreviation tables and CMC support.</description>
12 <url>https://github.com/KorAP/KorAP-Tokenizer</url>
13
Marc Kupietzeca88d72023-09-08 11:10:38 +020014 <organization>
15 <name>Leibniz-Institut für Deutsche Sprache</name>
16 <url>https://www.ids-mannheim.de</url>
17 </organization>
18
19 <developers>
20 <developer>
21 <id>kupietz</id>
22 <name>Marc Kupietz</name>
23 <email>kupietz@ids-mannheim.de</email>
24 </developer>
25 <developer>
26 <id>diewald</id>
27 <name>Nils Diewald</name>
28 <email>diewald@ids-mannheim.de</email>
29 </developer>
30 </developers>
31
Marc Kupietz4cb81572023-09-07 11:34:11 +020032 <scm>
33 <connection>scm:git:https://korap.ids-mannheim.de/gerrit/KorAP/KorAP-Tokenizer</connection>
Marc Kupietzf470f7f2023-09-08 12:24:49 +020034 <developerConnection>scm:git:ssh://kupietz@korap.ids-mannheim.de:29418/KorAP/KorAP-Tokenizer</developerConnection>
Marc Kupietz7328af92023-09-08 14:15:54 +020035 <tag>HEAD</tag>
Marc Kupietzf470f7f2023-09-08 12:24:49 +020036 </scm>
Marc Kupietz4cb81572023-09-07 11:34:11 +020037
38 <licenses>
39 <license>
40 <name>Apache License, Version 2.0</name>
41 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
42 <distribution>repo</distribution>
43 </license>
44 </licenses>
Marc Kupietz33677732020-09-04 22:07:39 +020045
46 <properties>
47 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Marc Kupietz33677732020-09-04 22:07:39 +020048 </properties>
49
50 <build>
51 <resources>
52 <resource>
53 <directory>src/main/resources</directory>
54 <excludes>
55 <!--<exclude>**/*.properties</exclude>-->
56 <exclude>**/*.sh</exclude>
57 <exclude>**/*.cfg</exclude>
58 </excludes>
59 </resource>
60 </resources>
61 <testResources>
62 <testResource>
63 <directory>src/test/resources</directory>
64 </testResource>
65 </testResources>
66 <plugins>
67 <plugin>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020068 <groupId>com.igormaznitsa</groupId>
69 <artifactId>jcp</artifactId>
dependabot[bot]cbc63f82021-12-13 18:07:01 +000070 <version>7.0.5</version>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020071 <executions>
72 <execution>
73 <id>preprocess for de</id>
74 <phase>generate-sources</phase>
75 <goals>
76 <goal>preprocess</goal>
77 </goals>
78 <configuration>
79 <vars>
80 <target.language>de</target.language>
81 </vars>
82 <target>src/main/jflex/de</target>
83 </configuration>
84 </execution>
85 <execution>
86 <id>preprocess for en</id>
87 <phase>generate-sources</phase>
88 <goals>
89 <goal>preprocess</goal>
90 </goals>
91 <configuration>
92 <vars>
93 <target.language>en</target.language>
94 </vars>
95 <target>src/main/jflex/en</target>
96 </configuration>
97 </execution>
Marc Kupietzf5a7e042020-10-12 10:43:24 +020098 <execution>
99 <id>preprocess for fr</id>
100 <phase>generate-sources</phase>
101 <goals>
102 <goal>preprocess</goal>
103 </goals>
104 <configuration>
105 <vars>
106 <target.language>fr</target.language>
107 </vars>
108 <target>src/main/jflex/fr</target>
109 </configuration>
110 </execution>
Marc Kupietz67eed1c2020-09-28 21:37:16 +0200111 </executions>
112 <configuration>
113 <sources>src/main/jpc/jflex</sources>
114 <target>src/main/jflex</target>
115 <extensions>
116 <extension>jflex</extension>
117 </extensions>
118 <keepAttributes>true</keepAttributes>
119 <keepComments>false</keepComments>
120 <keepLines>true</keepLines>
121 <verbose>true</verbose>
122 <clearTarget>true</clearTarget>
123 <replaceSources>true</replaceSources>
124 <dontOverwriteSameContent>false</dontOverwriteSameContent>
125 <skip>false</skip>
126 </configuration>
127 </plugin>
128 <plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-surefire-plugin</artifactId>
dependabot[bot]366a6dd2023-06-06 18:56:46 +0000131 <version>3.1.2</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200132 <configuration>
133 <threadCount>15</threadCount>
134 <reuseForks>true</reuseForks>
135 <parallel>classes</parallel>
136 </configuration>
137 </plugin>
138 <plugin>
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]55fcf8d2023-02-27 18:58:07 +0000141 <version>3.11.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200142 <configuration>
Marc Kupietzd30ad6d2023-09-06 08:08:32 +0200143 <release>17</release>
Marc Kupietz33677732020-09-04 22:07:39 +0200144 <showDeprecation>true</showDeprecation>
145 <annotationProcessorPaths>
146 <path>
147 <groupId>info.picocli</groupId>
148 <artifactId>picocli-codegen</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200149 <version>4.7.5</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200150 </path>
151 </annotationProcessorPaths>
152 <compilerArgs>
153 <arg>-Aproject=${project.groupId}/${project.artifactId}
154 </arg>
155 </compilerArgs>
156 </configuration>
157 <executions>
158 <!-- Replacing default-compile as it is treated specially by maven -->
159 <execution>
160 <id>default-compile</id>
161 <phase>none</phase>
162 </execution>
163 <!-- Replacing default-testCompile as it is treated specially by
164 maven -->
165 <execution>
166 <id>default-testCompile</id>
167 <phase>none</phase>
168 </execution>
169 <execution>
170 <id>java-compile</id>
171 <phase>compile</phase>
172 <goals>
173 <goal>compile</goal>
174 </goals>
175 </execution>
176 <execution>
177 <id>java-test-compile</id>
178 <phase>test-compile</phase>
179 <goals>
180 <goal>testCompile</goal>
181 </goals>
182 </execution>
183 </executions>
184 </plugin>
185
186 <plugin>
187 <groupId>org.apache.maven.plugins</groupId>
Marc Kupietz33677732020-09-04 22:07:39 +0200188 <artifactId>maven-jar-plugin</artifactId>
dependabot[bot]c2ca3692023-03-02 18:57:00 +0000189 <version>3.3.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200190 <configuration>
191 <archive>
192 <manifest>
193 <addClasspath>true</addClasspath>
194 <classpathPrefix>lib/</classpathPrefix>
Marc Kupietz751868b2020-09-25 17:59:38 +0200195 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzf8b7d952023-09-08 08:00:55 +0200196 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
Marc Kupietz33677732020-09-04 22:07:39 +0200197 </manifest>
198 </archive>
199 </configuration>
200 </plugin>
201
202 <plugin>
203 <groupId>de.jflex</groupId>
204 <artifactId>jflex-maven-plugin</artifactId>
dependabot[bot]719de212023-03-13 18:57:52 +0000205 <version>1.9.1</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200206 <executions>
207 <execution>
208 <goals>
209 <goal>generate</goal>
210 </goals>
211 </execution>
212 </executions>
213 </plugin>
Marc Kupietz81925092020-09-07 15:16:51 +0200214
215 <plugin>
216 <groupId>org.apache.maven.plugins</groupId>
217 <artifactId>maven-assembly-plugin</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200218 <version>3.6.0</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200219 <configuration>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200220 <appendAssemblyId>true</appendAssemblyId>
Marc Kupietz81925092020-09-07 15:16:51 +0200221 <descriptors>
222 <descriptor>src/assembly/src-distribution.xml</descriptor>
223 <descriptor>src/assembly/bin-distribution.xml</descriptor>
224 </descriptors>
225 <archive>
226 <manifest>
Marc Kupietz751868b2020-09-25 17:59:38 +0200227 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzf8b7d952023-09-08 08:00:55 +0200228 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
Marc Kupietz81925092020-09-07 15:16:51 +0200229 </manifest>
230 </archive>
231 </configuration>
232 <executions>
233 <execution>
234 <id>make-assembly</id>
235 <phase>package</phase>
236 <goals>
237 <goal>single</goal>
238 </goals>
239 </execution>
240 </executions>
241 </plugin>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200242 <plugin>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200243 <groupId>org.codehaus.mojo</groupId>
244 <artifactId>appassembler-maven-plugin</artifactId>
dependabot[bot]af0b2b92020-12-09 08:13:16 +0000245 <version>2.1.0</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200246 <executions>
247 <execution>
248 <phase>package</phase>
249 <goals>
250 <goal>assemble</goal>
251 </goals>
252 </execution>
253 </executions>
254 <configuration>
255 <binFolder>bin</binFolder>
256 <binFileExtensions>
Marc Kupietz4128bee2023-09-07 11:53:31 +0200257 <unix />
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200258 </binFileExtensions>
259 <programs>
260 <program>
Marc Kupietz751868b2020-09-25 17:59:38 +0200261 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200262 <id>koraptokenizer</id>
263 </program>
264 </programs>
265 </configuration>
266 </plugin>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200267 <plugin>
268 <artifactId>maven-dependency-plugin</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200269 <version>3.6.0</version>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200270 <executions>
271 <execution>
272 <id>analyze</id>
273 <goals>
274 <goal>analyze-only</goal>
275 </goals>
276 <configuration>
277 <failOnWarning>true</failOnWarning>
278 <outputXML>true</outputXML>
279 </configuration>
280 </execution>
281 </executions>
282 </plugin>
Marc Kupietzd1dc8482023-09-07 21:28:23 +0200283 <plugin>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-javadoc-plugin</artifactId>
286 <version>3.5.0</version>
287 <configuration>
288 <doclint>all,-missing</doclint>
289 <tags>
290 <tag>
291 <name>apiNote</name>
292 <placement>a</placement>
293 <head>API Note:</head>
294 </tag>
295 </tags>
296 </configuration>
Marc Kupietz938510c2023-09-08 08:39:04 +0200297 <executions>
298 <execution>
299 <id>attach-javadocs</id>
300 <phase>package</phase>
301 <goals>
302 <goal>aggregate-jar</goal>
303 </goals>
304 </execution>
305 </executions>
Marc Kupietzd1dc8482023-09-07 21:28:23 +0200306 </plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200307 </plugins>
308 </build>
309
310 <dependencies>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200311 <dependency>
312 <groupId>info.picocli</groupId>
313 <artifactId>picocli</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200314 <version>4.7.5</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200315 </dependency>
316
Marc Kupietz81925092020-09-07 15:16:51 +0200317 <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools -->
318 <dependency>
319 <groupId>org.apache.opennlp</groupId>
320 <artifactId>opennlp-tools</artifactId>
Marc Kupietzd30ad6d2023-09-06 08:08:32 +0200321 <version>2.3.0</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200322 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200323 <dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200324 <groupId>junit</groupId>
325 <artifactId>junit</artifactId>
dependabot[bot]52dd64d2021-02-15 07:28:02 +0000326 <version>4.13.2</version>
Gregor Middell9968d7a2022-05-27 09:52:45 +0200327 <scope>test</scope>
Marc Kupietz33677732020-09-04 22:07:39 +0200328 </dependency>
Marc Kupietz793f85d2020-09-08 14:40:24 +0200329 <dependency>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200330 <groupId>io.github.classgraph</groupId>
331 <artifactId>classgraph</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200332 <version>4.8.162</version>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200333 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200334 </dependencies>
Marc Kupietz33677732020-09-04 22:07:39 +0200335</project>