blob: 4c9d352ad064cbd697b2021c0894da7261f9e4f3 [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 Kupietzec5ab552023-09-08 15:32:16 +020035 <url>https://github.com/KorAP/KorAP-Tokenizer</url>
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
Marc Kupietz5db045c2023-09-08 15:33:18 +020050 <distributionManagement>
51 <snapshotRepository>
52 <id>ossrh</id>
53 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
54 </snapshotRepository>
55 <repository>
56 <id>ossrh</id>
57 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
58 </repository>
59 </distributionManagement>
60
Marc Kupietz33677732020-09-04 22:07:39 +020061 <build>
62 <resources>
63 <resource>
64 <directory>src/main/resources</directory>
65 <excludes>
66 <!--<exclude>**/*.properties</exclude>-->
67 <exclude>**/*.sh</exclude>
68 <exclude>**/*.cfg</exclude>
69 </excludes>
70 </resource>
71 </resources>
72 <testResources>
73 <testResource>
74 <directory>src/test/resources</directory>
75 </testResource>
76 </testResources>
77 <plugins>
78 <plugin>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020079 <groupId>com.igormaznitsa</groupId>
80 <artifactId>jcp</artifactId>
dependabot[bot]cbc63f82021-12-13 18:07:01 +000081 <version>7.0.5</version>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020082 <executions>
83 <execution>
84 <id>preprocess for de</id>
85 <phase>generate-sources</phase>
86 <goals>
87 <goal>preprocess</goal>
88 </goals>
89 <configuration>
90 <vars>
91 <target.language>de</target.language>
92 </vars>
93 <target>src/main/jflex/de</target>
94 </configuration>
95 </execution>
96 <execution>
97 <id>preprocess for en</id>
98 <phase>generate-sources</phase>
99 <goals>
100 <goal>preprocess</goal>
101 </goals>
102 <configuration>
103 <vars>
104 <target.language>en</target.language>
105 </vars>
106 <target>src/main/jflex/en</target>
107 </configuration>
108 </execution>
Marc Kupietzf5a7e042020-10-12 10:43:24 +0200109 <execution>
110 <id>preprocess for fr</id>
111 <phase>generate-sources</phase>
112 <goals>
113 <goal>preprocess</goal>
114 </goals>
115 <configuration>
116 <vars>
117 <target.language>fr</target.language>
118 </vars>
119 <target>src/main/jflex/fr</target>
120 </configuration>
121 </execution>
Marc Kupietz67eed1c2020-09-28 21:37:16 +0200122 </executions>
123 <configuration>
124 <sources>src/main/jpc/jflex</sources>
125 <target>src/main/jflex</target>
126 <extensions>
127 <extension>jflex</extension>
128 </extensions>
129 <keepAttributes>true</keepAttributes>
130 <keepComments>false</keepComments>
131 <keepLines>true</keepLines>
132 <verbose>true</verbose>
133 <clearTarget>true</clearTarget>
134 <replaceSources>true</replaceSources>
135 <dontOverwriteSameContent>false</dontOverwriteSameContent>
136 <skip>false</skip>
137 </configuration>
138 </plugin>
139 <plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-surefire-plugin</artifactId>
dependabot[bot]366a6dd2023-06-06 18:56:46 +0000142 <version>3.1.2</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200143 <configuration>
144 <threadCount>15</threadCount>
145 <reuseForks>true</reuseForks>
146 <parallel>classes</parallel>
147 </configuration>
148 </plugin>
149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]55fcf8d2023-02-27 18:58:07 +0000152 <version>3.11.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200153 <configuration>
Marc Kupietzd30ad6d2023-09-06 08:08:32 +0200154 <release>17</release>
Marc Kupietz33677732020-09-04 22:07:39 +0200155 <showDeprecation>true</showDeprecation>
156 <annotationProcessorPaths>
157 <path>
158 <groupId>info.picocli</groupId>
159 <artifactId>picocli-codegen</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200160 <version>4.7.5</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200161 </path>
162 </annotationProcessorPaths>
163 <compilerArgs>
164 <arg>-Aproject=${project.groupId}/${project.artifactId}
165 </arg>
166 </compilerArgs>
167 </configuration>
168 <executions>
169 <!-- Replacing default-compile as it is treated specially by maven -->
170 <execution>
171 <id>default-compile</id>
172 <phase>none</phase>
173 </execution>
174 <!-- Replacing default-testCompile as it is treated specially by
175 maven -->
176 <execution>
177 <id>default-testCompile</id>
178 <phase>none</phase>
179 </execution>
180 <execution>
181 <id>java-compile</id>
182 <phase>compile</phase>
183 <goals>
184 <goal>compile</goal>
185 </goals>
186 </execution>
187 <execution>
188 <id>java-test-compile</id>
189 <phase>test-compile</phase>
190 <goals>
191 <goal>testCompile</goal>
192 </goals>
193 </execution>
194 </executions>
195 </plugin>
196
197 <plugin>
198 <groupId>org.apache.maven.plugins</groupId>
Marc Kupietz33677732020-09-04 22:07:39 +0200199 <artifactId>maven-jar-plugin</artifactId>
dependabot[bot]c2ca3692023-03-02 18:57:00 +0000200 <version>3.3.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200201 <configuration>
202 <archive>
203 <manifest>
204 <addClasspath>true</addClasspath>
205 <classpathPrefix>lib/</classpathPrefix>
Marc Kupietz751868b2020-09-25 17:59:38 +0200206 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzf8b7d952023-09-08 08:00:55 +0200207 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
Marc Kupietz33677732020-09-04 22:07:39 +0200208 </manifest>
209 </archive>
210 </configuration>
211 </plugin>
212
213 <plugin>
214 <groupId>de.jflex</groupId>
215 <artifactId>jflex-maven-plugin</artifactId>
dependabot[bot]719de212023-03-13 18:57:52 +0000216 <version>1.9.1</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200217 <executions>
218 <execution>
219 <goals>
220 <goal>generate</goal>
221 </goals>
222 </execution>
223 </executions>
224 </plugin>
Marc Kupietz81925092020-09-07 15:16:51 +0200225
226 <plugin>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-assembly-plugin</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200229 <version>3.6.0</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200230 <configuration>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200231 <appendAssemblyId>true</appendAssemblyId>
Marc Kupietz81925092020-09-07 15:16:51 +0200232 <descriptors>
233 <descriptor>src/assembly/src-distribution.xml</descriptor>
234 <descriptor>src/assembly/bin-distribution.xml</descriptor>
235 </descriptors>
236 <archive>
237 <manifest>
Marc Kupietz751868b2020-09-25 17:59:38 +0200238 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzf8b7d952023-09-08 08:00:55 +0200239 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
Marc Kupietz81925092020-09-07 15:16:51 +0200240 </manifest>
241 </archive>
242 </configuration>
243 <executions>
244 <execution>
245 <id>make-assembly</id>
246 <phase>package</phase>
247 <goals>
248 <goal>single</goal>
249 </goals>
250 </execution>
251 </executions>
252 </plugin>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200253 <plugin>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200254 <groupId>org.codehaus.mojo</groupId>
255 <artifactId>appassembler-maven-plugin</artifactId>
dependabot[bot]af0b2b92020-12-09 08:13:16 +0000256 <version>2.1.0</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200257 <executions>
258 <execution>
259 <phase>package</phase>
260 <goals>
261 <goal>assemble</goal>
262 </goals>
263 </execution>
264 </executions>
265 <configuration>
266 <binFolder>bin</binFolder>
267 <binFileExtensions>
Marc Kupietz4128bee2023-09-07 11:53:31 +0200268 <unix />
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200269 </binFileExtensions>
270 <programs>
271 <program>
Marc Kupietz751868b2020-09-25 17:59:38 +0200272 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200273 <id>koraptokenizer</id>
274 </program>
275 </programs>
276 </configuration>
277 </plugin>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200278 <plugin>
279 <artifactId>maven-dependency-plugin</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200280 <version>3.6.0</version>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200281 <executions>
282 <execution>
283 <id>analyze</id>
284 <goals>
285 <goal>analyze-only</goal>
286 </goals>
287 <configuration>
288 <failOnWarning>true</failOnWarning>
289 <outputXML>true</outputXML>
290 </configuration>
291 </execution>
292 </executions>
293 </plugin>
Marc Kupietzd1dc8482023-09-07 21:28:23 +0200294 <plugin>
295 <groupId>org.apache.maven.plugins</groupId>
296 <artifactId>maven-javadoc-plugin</artifactId>
297 <version>3.5.0</version>
298 <configuration>
299 <doclint>all,-missing</doclint>
300 <tags>
301 <tag>
302 <name>apiNote</name>
303 <placement>a</placement>
304 <head>API Note:</head>
305 </tag>
306 </tags>
307 </configuration>
Marc Kupietz938510c2023-09-08 08:39:04 +0200308 <executions>
309 <execution>
310 <id>attach-javadocs</id>
311 <phase>package</phase>
312 <goals>
313 <goal>aggregate-jar</goal>
314 </goals>
315 </execution>
316 </executions>
Marc Kupietzd1dc8482023-09-07 21:28:23 +0200317 </plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200318 </plugins>
319 </build>
320
321 <dependencies>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200322 <dependency>
323 <groupId>info.picocli</groupId>
324 <artifactId>picocli</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200325 <version>4.7.5</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200326 </dependency>
327
Marc Kupietz81925092020-09-07 15:16:51 +0200328 <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools -->
329 <dependency>
330 <groupId>org.apache.opennlp</groupId>
331 <artifactId>opennlp-tools</artifactId>
Marc Kupietzd30ad6d2023-09-06 08:08:32 +0200332 <version>2.3.0</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200333 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200334 <dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200335 <groupId>junit</groupId>
336 <artifactId>junit</artifactId>
dependabot[bot]52dd64d2021-02-15 07:28:02 +0000337 <version>4.13.2</version>
Gregor Middell9968d7a2022-05-27 09:52:45 +0200338 <scope>test</scope>
Marc Kupietz33677732020-09-04 22:07:39 +0200339 </dependency>
Marc Kupietz793f85d2020-09-08 14:40:24 +0200340 <dependency>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200341 <groupId>io.github.classgraph</groupId>
342 <artifactId>classgraph</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200343 <version>4.8.162</version>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200344 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200345 </dependencies>
Marc Kupietz33677732020-09-04 22:07:39 +0200346</project>