blob: 924351dbfb7b29ea89309da262326a4d840513c7 [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 Kupietza127e892023-09-08 15:50:32 +02008 <version>2.2.6-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 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 Kupietz33677732020-09-04 22:07:39 +020049 </properties>
50
Marc Kupietz5db045c2023-09-08 15:33:18 +020051 <distributionManagement>
52 <snapshotRepository>
53 <id>ossrh</id>
54 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
55 </snapshotRepository>
56 <repository>
57 <id>ossrh</id>
58 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
59 </repository>
60 </distributionManagement>
61
Marc Kupietz33677732020-09-04 22:07:39 +020062 <build>
63 <resources>
64 <resource>
65 <directory>src/main/resources</directory>
66 <excludes>
67 <!--<exclude>**/*.properties</exclude>-->
68 <exclude>**/*.sh</exclude>
69 <exclude>**/*.cfg</exclude>
70 </excludes>
71 </resource>
72 </resources>
73 <testResources>
74 <testResource>
75 <directory>src/test/resources</directory>
76 </testResource>
77 </testResources>
78 <plugins>
79 <plugin>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020080 <groupId>com.igormaznitsa</groupId>
81 <artifactId>jcp</artifactId>
dependabot[bot]cbc63f82021-12-13 18:07:01 +000082 <version>7.0.5</version>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020083 <executions>
84 <execution>
85 <id>preprocess for de</id>
86 <phase>generate-sources</phase>
87 <goals>
88 <goal>preprocess</goal>
89 </goals>
90 <configuration>
91 <vars>
92 <target.language>de</target.language>
93 </vars>
94 <target>src/main/jflex/de</target>
95 </configuration>
96 </execution>
97 <execution>
98 <id>preprocess for en</id>
99 <phase>generate-sources</phase>
100 <goals>
101 <goal>preprocess</goal>
102 </goals>
103 <configuration>
104 <vars>
105 <target.language>en</target.language>
106 </vars>
107 <target>src/main/jflex/en</target>
108 </configuration>
109 </execution>
Marc Kupietzf5a7e042020-10-12 10:43:24 +0200110 <execution>
111 <id>preprocess for fr</id>
112 <phase>generate-sources</phase>
113 <goals>
114 <goal>preprocess</goal>
115 </goals>
116 <configuration>
117 <vars>
118 <target.language>fr</target.language>
119 </vars>
120 <target>src/main/jflex/fr</target>
121 </configuration>
122 </execution>
Marc Kupietz67eed1c2020-09-28 21:37:16 +0200123 </executions>
124 <configuration>
125 <sources>src/main/jpc/jflex</sources>
126 <target>src/main/jflex</target>
127 <extensions>
128 <extension>jflex</extension>
129 </extensions>
130 <keepAttributes>true</keepAttributes>
131 <keepComments>false</keepComments>
132 <keepLines>true</keepLines>
133 <verbose>true</verbose>
134 <clearTarget>true</clearTarget>
135 <replaceSources>true</replaceSources>
136 <dontOverwriteSameContent>false</dontOverwriteSameContent>
137 <skip>false</skip>
138 </configuration>
139 </plugin>
140 <plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-surefire-plugin</artifactId>
dependabot[bot]366a6dd2023-06-06 18:56:46 +0000143 <version>3.1.2</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200144 <configuration>
145 <threadCount>15</threadCount>
146 <reuseForks>true</reuseForks>
147 <parallel>classes</parallel>
148 </configuration>
149 </plugin>
150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]55fcf8d2023-02-27 18:58:07 +0000153 <version>3.11.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200154 <configuration>
Marc Kupietzd30ad6d2023-09-06 08:08:32 +0200155 <release>17</release>
Marc Kupietz33677732020-09-04 22:07:39 +0200156 <showDeprecation>true</showDeprecation>
157 <annotationProcessorPaths>
158 <path>
159 <groupId>info.picocli</groupId>
160 <artifactId>picocli-codegen</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200161 <version>4.7.5</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200162 </path>
163 </annotationProcessorPaths>
164 <compilerArgs>
165 <arg>-Aproject=${project.groupId}/${project.artifactId}
166 </arg>
167 </compilerArgs>
168 </configuration>
169 <executions>
170 <!-- Replacing default-compile as it is treated specially by maven -->
171 <execution>
172 <id>default-compile</id>
173 <phase>none</phase>
174 </execution>
175 <!-- Replacing default-testCompile as it is treated specially by
176 maven -->
177 <execution>
178 <id>default-testCompile</id>
179 <phase>none</phase>
180 </execution>
181 <execution>
182 <id>java-compile</id>
183 <phase>compile</phase>
184 <goals>
185 <goal>compile</goal>
186 </goals>
187 </execution>
188 <execution>
189 <id>java-test-compile</id>
190 <phase>test-compile</phase>
191 <goals>
192 <goal>testCompile</goal>
193 </goals>
194 </execution>
195 </executions>
196 </plugin>
197
198 <plugin>
199 <groupId>org.apache.maven.plugins</groupId>
Marc Kupietz33677732020-09-04 22:07:39 +0200200 <artifactId>maven-jar-plugin</artifactId>
dependabot[bot]c2ca3692023-03-02 18:57:00 +0000201 <version>3.3.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200202 <configuration>
203 <archive>
204 <manifest>
205 <addClasspath>true</addClasspath>
206 <classpathPrefix>lib/</classpathPrefix>
Marc Kupietz751868b2020-09-25 17:59:38 +0200207 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzf8b7d952023-09-08 08:00:55 +0200208 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
Marc Kupietz33677732020-09-04 22:07:39 +0200209 </manifest>
210 </archive>
211 </configuration>
212 </plugin>
213
214 <plugin>
215 <groupId>de.jflex</groupId>
216 <artifactId>jflex-maven-plugin</artifactId>
dependabot[bot]719de212023-03-13 18:57:52 +0000217 <version>1.9.1</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200218 <executions>
219 <execution>
220 <goals>
221 <goal>generate</goal>
222 </goals>
223 </execution>
224 </executions>
225 </plugin>
Marc Kupietz81925092020-09-07 15:16:51 +0200226
227 <plugin>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-assembly-plugin</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200230 <version>3.6.0</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200231 <configuration>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200232 <appendAssemblyId>true</appendAssemblyId>
Marc Kupietz81925092020-09-07 15:16:51 +0200233 <descriptors>
234 <descriptor>src/assembly/src-distribution.xml</descriptor>
235 <descriptor>src/assembly/bin-distribution.xml</descriptor>
236 </descriptors>
237 <archive>
238 <manifest>
Marc Kupietz751868b2020-09-25 17:59:38 +0200239 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzf8b7d952023-09-08 08:00:55 +0200240 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
Marc Kupietz81925092020-09-07 15:16:51 +0200241 </manifest>
242 </archive>
243 </configuration>
244 <executions>
245 <execution>
246 <id>make-assembly</id>
247 <phase>package</phase>
248 <goals>
249 <goal>single</goal>
250 </goals>
251 </execution>
252 </executions>
253 </plugin>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200254 <plugin>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200255 <groupId>org.codehaus.mojo</groupId>
256 <artifactId>appassembler-maven-plugin</artifactId>
dependabot[bot]af0b2b92020-12-09 08:13:16 +0000257 <version>2.1.0</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200258 <executions>
259 <execution>
260 <phase>package</phase>
261 <goals>
262 <goal>assemble</goal>
263 </goals>
264 </execution>
265 </executions>
266 <configuration>
267 <binFolder>bin</binFolder>
268 <binFileExtensions>
Marc Kupietz4128bee2023-09-07 11:53:31 +0200269 <unix />
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200270 </binFileExtensions>
271 <programs>
272 <program>
Marc Kupietz751868b2020-09-25 17:59:38 +0200273 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200274 <id>koraptokenizer</id>
275 </program>
276 </programs>
277 </configuration>
278 </plugin>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200279 <plugin>
280 <artifactId>maven-dependency-plugin</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200281 <version>3.6.0</version>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200282 <executions>
283 <execution>
284 <id>analyze</id>
285 <goals>
286 <goal>analyze-only</goal>
287 </goals>
288 <configuration>
289 <failOnWarning>true</failOnWarning>
290 <outputXML>true</outputXML>
291 </configuration>
292 </execution>
293 </executions>
294 </plugin>
Marc Kupietzd1dc8482023-09-07 21:28:23 +0200295 <plugin>
296 <groupId>org.apache.maven.plugins</groupId>
297 <artifactId>maven-javadoc-plugin</artifactId>
298 <version>3.5.0</version>
299 <configuration>
300 <doclint>all,-missing</doclint>
301 <tags>
302 <tag>
303 <name>apiNote</name>
304 <placement>a</placement>
305 <head>API Note:</head>
306 </tag>
307 </tags>
308 </configuration>
Marc Kupietz938510c2023-09-08 08:39:04 +0200309 <executions>
310 <execution>
311 <id>attach-javadocs</id>
312 <phase>package</phase>
313 <goals>
314 <goal>aggregate-jar</goal>
315 </goals>
316 </execution>
317 </executions>
Marc Kupietzd1dc8482023-09-07 21:28:23 +0200318 </plugin>
Marc Kupietz783378f2023-09-08 15:33:40 +0200319 <plugin>
320 <groupId>org.apache.maven.plugins</groupId>
321 <artifactId>maven-gpg-plugin</artifactId>
322 <version>3.1.0</version>
323 <executions>
324 <execution>
325 <id>sign-artifacts</id>
326 <phase>verify</phase>
327 <goals>
328 <goal>sign</goal>
329 </goals>
330 </execution>
331 </executions>
332 </plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200333 </plugins>
334 </build>
335
336 <dependencies>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200337 <dependency>
338 <groupId>info.picocli</groupId>
339 <artifactId>picocli</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200340 <version>4.7.5</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200341 </dependency>
342
Marc Kupietz81925092020-09-07 15:16:51 +0200343 <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools -->
344 <dependency>
345 <groupId>org.apache.opennlp</groupId>
346 <artifactId>opennlp-tools</artifactId>
Marc Kupietzd30ad6d2023-09-06 08:08:32 +0200347 <version>2.3.0</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200348 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200349 <dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200350 <groupId>junit</groupId>
351 <artifactId>junit</artifactId>
dependabot[bot]52dd64d2021-02-15 07:28:02 +0000352 <version>4.13.2</version>
Gregor Middell9968d7a2022-05-27 09:52:45 +0200353 <scope>test</scope>
Marc Kupietz33677732020-09-04 22:07:39 +0200354 </dependency>
Marc Kupietz793f85d2020-09-08 14:40:24 +0200355 <dependency>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200356 <groupId>io.github.classgraph</groupId>
357 <artifactId>classgraph</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200358 <version>4.8.162</version>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200359 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200360 </dependencies>
Marc Kupietz33677732020-09-04 22:07:39 +0200361</project>