blob: 7286aa9bd563e9dbd2dee03e6da326b4bc92f487 [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 Kupietz18d44302025-12-08 11:37:06 +01008 <version>2.3.0</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 Kupietzec5ab552023-09-08 15:32:16 +020035 <url>https://github.com/KorAP/KorAP-Tokenizer</url>
Marc Kupietza127e892023-09-08 15:50:32 +020036 <tag>HEAD</tag>
Marc Kupietzee0058d2023-09-08 15:50:32 +020037 </scm>
Marc Kupietz4cb81572023-09-07 11:34:11 +020038
39 <licenses>
40 <license>
41 <name>Apache License, Version 2.0</name>
42 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
43 <distribution>repo</distribution>
44 </license>
45 </licenses>
Marc Kupietz33677732020-09-04 22:07:39 +020046
47 <properties>
48 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Marc Kupietz0235ea02025-12-07 11:56:59 +010049 <force.fast>false</force.fast>
Marc Kupietza2f24d92025-12-07 13:44:57 +010050 <maven.project.sourceRoots.warningsDisabled>true</maven.project.sourceRoots.warningsDisabled>
Marc Kupietz33677732020-09-04 22:07:39 +020051 </properties>
52
Marc Kupietz5db045c2023-09-08 15:33:18 +020053 <distributionManagement>
54 <snapshotRepository>
Marc Kupietz7fe9c9a2023-09-08 17:12:48 +020055 <id>korap</id>
Marc Kupietz5db045c2023-09-08 15:33:18 +020056 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
57 </snapshotRepository>
58 <repository>
Marc Kupietz7fe9c9a2023-09-08 17:12:48 +020059 <id>korap</id>
Marc Kupietz5db045c2023-09-08 15:33:18 +020060 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
61 </repository>
62 </distributionManagement>
63
Marc Kupietz33677732020-09-04 22:07:39 +020064 <build>
65 <resources>
66 <resource>
67 <directory>src/main/resources</directory>
68 <excludes>
69 <!--<exclude>**/*.properties</exclude>-->
70 <exclude>**/*.sh</exclude>
71 <exclude>**/*.cfg</exclude>
72 </excludes>
73 </resource>
74 </resources>
75 <testResources>
76 <testResource>
77 <directory>src/test/resources</directory>
78 </testResource>
79 </testResources>
80 <plugins>
81 <plugin>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020082 <groupId>com.igormaznitsa</groupId>
83 <artifactId>jcp</artifactId>
Marc Kupietze937b972025-12-07 13:45:20 +010084 <version>7.3.0</version>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020085 <executions>
86 <execution>
87 <id>preprocess for de</id>
88 <phase>generate-sources</phase>
89 <goals>
90 <goal>preprocess</goal>
91 </goals>
92 <configuration>
93 <vars>
94 <target.language>de</target.language>
95 </vars>
96 <target>src/main/jflex/de</target>
97 </configuration>
98 </execution>
99 <execution>
100 <id>preprocess for en</id>
101 <phase>generate-sources</phase>
102 <goals>
103 <goal>preprocess</goal>
104 </goals>
105 <configuration>
106 <vars>
107 <target.language>en</target.language>
108 </vars>
109 <target>src/main/jflex/en</target>
110 </configuration>
111 </execution>
Marc Kupietzf5a7e042020-10-12 10:43:24 +0200112 <execution>
113 <id>preprocess for fr</id>
114 <phase>generate-sources</phase>
115 <goals>
116 <goal>preprocess</goal>
117 </goals>
118 <configuration>
119 <vars>
120 <target.language>fr</target.language>
121 </vars>
122 <target>src/main/jflex/fr</target>
123 </configuration>
124 </execution>
Marc Kupietz67eed1c2020-09-28 21:37:16 +0200125 </executions>
126 <configuration>
127 <sources>src/main/jpc/jflex</sources>
128 <target>src/main/jflex</target>
129 <extensions>
130 <extension>jflex</extension>
Marc Kupietz0235ea02025-12-07 11:56:59 +0100131 <extension>jflex-macro</extension>
Marc Kupietz67eed1c2020-09-28 21:37:16 +0200132 </extensions>
133 <keepAttributes>true</keepAttributes>
134 <keepComments>false</keepComments>
135 <keepLines>true</keepLines>
136 <verbose>true</verbose>
137 <clearTarget>true</clearTarget>
138 <replaceSources>true</replaceSources>
139 <dontOverwriteSameContent>false</dontOverwriteSameContent>
140 <skip>false</skip>
Marc Kupietz0235ea02025-12-07 11:56:59 +0100141 <vars>
142 <force.fast>${force.fast}</force.fast>
143 </vars>
Marc Kupietz67eed1c2020-09-28 21:37:16 +0200144 </configuration>
145 </plugin>
146 <plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200147 <groupId>org.apache.maven.plugins</groupId>
148 <artifactId>maven-surefire-plugin</artifactId>
dependabot[bot]366a6dd2023-06-06 18:56:46 +0000149 <version>3.1.2</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200150 <configuration>
151 <threadCount>15</threadCount>
152 <reuseForks>true</reuseForks>
153 <parallel>classes</parallel>
Marc Kupietz0235ea02025-12-07 11:56:59 +0100154 <systemPropertyVariables>
155 <force.fast>${force.fast}</force.fast>
156 </systemPropertyVariables>
Marc Kupietz33677732020-09-04 22:07:39 +0200157 </configuration>
158 </plugin>
159 <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]55fcf8d2023-02-27 18:58:07 +0000162 <version>3.11.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200163 <configuration>
Marc Kupietz02b9fab2025-12-07 17:07:20 +0100164 <release>21</release>
Marc Kupietz33677732020-09-04 22:07:39 +0200165 <showDeprecation>true</showDeprecation>
166 <annotationProcessorPaths>
167 <path>
168 <groupId>info.picocli</groupId>
169 <artifactId>picocli-codegen</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200170 <version>4.7.5</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200171 </path>
172 </annotationProcessorPaths>
173 <compilerArgs>
174 <arg>-Aproject=${project.groupId}/${project.artifactId}
175 </arg>
176 </compilerArgs>
177 </configuration>
178 <executions>
179 <!-- Replacing default-compile as it is treated specially by maven -->
180 <execution>
181 <id>default-compile</id>
182 <phase>none</phase>
183 </execution>
184 <!-- Replacing default-testCompile as it is treated specially by
185 maven -->
186 <execution>
187 <id>default-testCompile</id>
188 <phase>none</phase>
189 </execution>
190 <execution>
191 <id>java-compile</id>
192 <phase>compile</phase>
193 <goals>
194 <goal>compile</goal>
195 </goals>
196 </execution>
197 <execution>
198 <id>java-test-compile</id>
199 <phase>test-compile</phase>
200 <goals>
201 <goal>testCompile</goal>
202 </goals>
203 </execution>
204 </executions>
205 </plugin>
206
207 <plugin>
208 <groupId>org.apache.maven.plugins</groupId>
Marc Kupietz33677732020-09-04 22:07:39 +0200209 <artifactId>maven-jar-plugin</artifactId>
dependabot[bot]c2ca3692023-03-02 18:57:00 +0000210 <version>3.3.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200211 <configuration>
212 <archive>
213 <manifest>
214 <addClasspath>true</addClasspath>
215 <classpathPrefix>lib/</classpathPrefix>
Marc Kupietz751868b2020-09-25 17:59:38 +0200216 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzf8b7d952023-09-08 08:00:55 +0200217 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
Marc Kupietz33677732020-09-04 22:07:39 +0200218 </manifest>
219 </archive>
220 </configuration>
221 </plugin>
222
223 <plugin>
224 <groupId>de.jflex</groupId>
225 <artifactId>jflex-maven-plugin</artifactId>
dependabot[bot]719de212023-03-13 18:57:52 +0000226 <version>1.9.1</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200227 <executions>
228 <execution>
229 <goals>
230 <goal>generate</goal>
231 </goals>
232 </execution>
233 </executions>
234 </plugin>
Marc Kupietz81925092020-09-07 15:16:51 +0200235
236 <plugin>
237 <groupId>org.apache.maven.plugins</groupId>
238 <artifactId>maven-assembly-plugin</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200239 <version>3.6.0</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200240 <configuration>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200241 <appendAssemblyId>true</appendAssemblyId>
Marc Kupietz81925092020-09-07 15:16:51 +0200242 <descriptors>
243 <descriptor>src/assembly/src-distribution.xml</descriptor>
244 <descriptor>src/assembly/bin-distribution.xml</descriptor>
245 </descriptors>
246 <archive>
247 <manifest>
Marc Kupietz751868b2020-09-25 17:59:38 +0200248 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzf8b7d952023-09-08 08:00:55 +0200249 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
Marc Kupietz81925092020-09-07 15:16:51 +0200250 </manifest>
251 </archive>
252 </configuration>
253 <executions>
254 <execution>
255 <id>make-assembly</id>
256 <phase>package</phase>
257 <goals>
258 <goal>single</goal>
259 </goals>
260 </execution>
261 </executions>
262 </plugin>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200263 <plugin>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200264 <groupId>org.codehaus.mojo</groupId>
265 <artifactId>appassembler-maven-plugin</artifactId>
dependabot[bot]af0b2b92020-12-09 08:13:16 +0000266 <version>2.1.0</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200267 <executions>
268 <execution>
269 <phase>package</phase>
270 <goals>
271 <goal>assemble</goal>
272 </goals>
273 </execution>
274 </executions>
275 <configuration>
276 <binFolder>bin</binFolder>
277 <binFileExtensions>
Marc Kupietz4128bee2023-09-07 11:53:31 +0200278 <unix />
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200279 </binFileExtensions>
280 <programs>
281 <program>
Marc Kupietz751868b2020-09-25 17:59:38 +0200282 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200283 <id>koraptokenizer</id>
284 </program>
285 </programs>
286 </configuration>
287 </plugin>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200288 <plugin>
289 <artifactId>maven-dependency-plugin</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200290 <version>3.6.0</version>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200291 <executions>
292 <execution>
293 <id>analyze</id>
294 <goals>
295 <goal>analyze-only</goal>
296 </goals>
297 <configuration>
298 <failOnWarning>true</failOnWarning>
299 <outputXML>true</outputXML>
300 </configuration>
301 </execution>
302 </executions>
303 </plugin>
Marc Kupietzd1dc8482023-09-07 21:28:23 +0200304 <plugin>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-javadoc-plugin</artifactId>
307 <version>3.5.0</version>
308 <configuration>
309 <doclint>all,-missing</doclint>
310 <tags>
311 <tag>
312 <name>apiNote</name>
313 <placement>a</placement>
314 <head>API Note:</head>
315 </tag>
316 </tags>
317 </configuration>
Marc Kupietz938510c2023-09-08 08:39:04 +0200318 <executions>
319 <execution>
320 <id>attach-javadocs</id>
321 <phase>package</phase>
322 <goals>
323 <goal>aggregate-jar</goal>
324 </goals>
325 </execution>
326 </executions>
Marc Kupietzd1dc8482023-09-07 21:28:23 +0200327 </plugin>
Marc Kupietz783378f2023-09-08 15:33:40 +0200328 <plugin>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-gpg-plugin</artifactId>
331 <version>3.1.0</version>
332 <executions>
333 <execution>
334 <id>sign-artifacts</id>
335 <phase>verify</phase>
336 <goals>
337 <goal>sign</goal>
338 </goals>
339 </execution>
340 </executions>
341 </plugin>
Marc Kupietze3f0b992023-09-08 17:13:31 +0200342 <plugin>
343 <groupId>org.sonatype.plugins</groupId>
344 <artifactId>nexus-staging-maven-plugin</artifactId>
345 <version>1.6.7</version>
346 <extensions>true</extensions>
347 <configuration>
348 <serverId>korap</serverId>
349 <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
350 <autoReleaseAfterClose>false</autoReleaseAfterClose>
351 </configuration>
352 </plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200353 </plugins>
354 </build>
355
356 <dependencies>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200357 <dependency>
358 <groupId>info.picocli</groupId>
359 <artifactId>picocli</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200360 <version>4.7.5</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200361 </dependency>
362
Marc Kupietz81925092020-09-07 15:16:51 +0200363 <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools -->
364 <dependency>
365 <groupId>org.apache.opennlp</groupId>
366 <artifactId>opennlp-tools</artifactId>
Marc Kupietzd30ad6d2023-09-06 08:08:32 +0200367 <version>2.3.0</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200368 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200369 <dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200370 <groupId>junit</groupId>
371 <artifactId>junit</artifactId>
dependabot[bot]52dd64d2021-02-15 07:28:02 +0000372 <version>4.13.2</version>
Gregor Middell9968d7a2022-05-27 09:52:45 +0200373 <scope>test</scope>
Marc Kupietz33677732020-09-04 22:07:39 +0200374 </dependency>
Marc Kupietz793f85d2020-09-08 14:40:24 +0200375 <dependency>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200376 <groupId>io.github.classgraph</groupId>
377 <artifactId>classgraph</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200378 <version>4.8.162</version>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200379 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200380 </dependencies>
Marc Kupietz33677732020-09-04 22:07:39 +0200381</project>