blob: 21fae85093db473d4eab711e8f8b3a3c74d4a140 [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>
4
Marc Kupietzb3a7bbe2023-09-05 16:00:59 +02005 <groupId>de.ids_mannheim.korap.tokenizer</groupId>
Marc Kupietz33677732020-09-04 22:07:39 +02006 <artifactId>KorAP-Tokenizer</artifactId>
Marc Kupietz4128bee2023-09-07 11:53:31 +02007 <version>2.2.4-SNAPSHOT</version>
Marc Kupietz4cb81572023-09-07 11:34:11 +02008
9 <name>KorAP-Tokenizer</name>
10 <description>DFA tokenizer with character offset output, large abbreviation tables and CMC support.</description>
11 <url>https://github.com/KorAP/KorAP-Tokenizer</url>
12
13 <scm>
14 <connection>scm:git:https://korap.ids-mannheim.de/gerrit/KorAP/KorAP-Tokenizer</connection>
Marc Kupietz4128bee2023-09-07 11:53:31 +020015 <tag>HEAD</tag>
16 </scm>
Marc Kupietz4cb81572023-09-07 11:34:11 +020017
18 <licenses>
19 <license>
20 <name>Apache License, Version 2.0</name>
21 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
22 <distribution>repo</distribution>
23 </license>
24 </licenses>
Marc Kupietz33677732020-09-04 22:07:39 +020025
26 <properties>
27 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Marc Kupietz33677732020-09-04 22:07:39 +020028 </properties>
29
30 <build>
31 <resources>
32 <resource>
33 <directory>src/main/resources</directory>
34 <excludes>
35 <!--<exclude>**/*.properties</exclude>-->
36 <exclude>**/*.sh</exclude>
37 <exclude>**/*.cfg</exclude>
38 </excludes>
39 </resource>
40 </resources>
41 <testResources>
42 <testResource>
43 <directory>src/test/resources</directory>
44 </testResource>
45 </testResources>
46 <plugins>
47 <plugin>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020048 <groupId>com.igormaznitsa</groupId>
49 <artifactId>jcp</artifactId>
dependabot[bot]cbc63f82021-12-13 18:07:01 +000050 <version>7.0.5</version>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020051 <executions>
52 <execution>
53 <id>preprocess for de</id>
54 <phase>generate-sources</phase>
55 <goals>
56 <goal>preprocess</goal>
57 </goals>
58 <configuration>
59 <vars>
60 <target.language>de</target.language>
61 </vars>
62 <target>src/main/jflex/de</target>
63 </configuration>
64 </execution>
65 <execution>
66 <id>preprocess for en</id>
67 <phase>generate-sources</phase>
68 <goals>
69 <goal>preprocess</goal>
70 </goals>
71 <configuration>
72 <vars>
73 <target.language>en</target.language>
74 </vars>
75 <target>src/main/jflex/en</target>
76 </configuration>
77 </execution>
Marc Kupietzf5a7e042020-10-12 10:43:24 +020078 <execution>
79 <id>preprocess for fr</id>
80 <phase>generate-sources</phase>
81 <goals>
82 <goal>preprocess</goal>
83 </goals>
84 <configuration>
85 <vars>
86 <target.language>fr</target.language>
87 </vars>
88 <target>src/main/jflex/fr</target>
89 </configuration>
90 </execution>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020091 </executions>
92 <configuration>
93 <sources>src/main/jpc/jflex</sources>
94 <target>src/main/jflex</target>
95 <extensions>
96 <extension>jflex</extension>
97 </extensions>
98 <keepAttributes>true</keepAttributes>
99 <keepComments>false</keepComments>
100 <keepLines>true</keepLines>
101 <verbose>true</verbose>
102 <clearTarget>true</clearTarget>
103 <replaceSources>true</replaceSources>
104 <dontOverwriteSameContent>false</dontOverwriteSameContent>
105 <skip>false</skip>
106 </configuration>
107 </plugin>
108 <plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-surefire-plugin</artifactId>
dependabot[bot]366a6dd2023-06-06 18:56:46 +0000111 <version>3.1.2</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200112 <configuration>
113 <threadCount>15</threadCount>
114 <reuseForks>true</reuseForks>
115 <parallel>classes</parallel>
116 </configuration>
117 </plugin>
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]55fcf8d2023-02-27 18:58:07 +0000121 <version>3.11.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200122 <configuration>
Marc Kupietzd30ad6d2023-09-06 08:08:32 +0200123 <release>17</release>
Marc Kupietz33677732020-09-04 22:07:39 +0200124 <showDeprecation>true</showDeprecation>
125 <annotationProcessorPaths>
126 <path>
127 <groupId>info.picocli</groupId>
128 <artifactId>picocli-codegen</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200129 <version>4.7.5</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200130 </path>
131 </annotationProcessorPaths>
132 <compilerArgs>
133 <arg>-Aproject=${project.groupId}/${project.artifactId}
134 </arg>
135 </compilerArgs>
136 </configuration>
137 <executions>
138 <!-- Replacing default-compile as it is treated specially by maven -->
139 <execution>
140 <id>default-compile</id>
141 <phase>none</phase>
142 </execution>
143 <!-- Replacing default-testCompile as it is treated specially by
144 maven -->
145 <execution>
146 <id>default-testCompile</id>
147 <phase>none</phase>
148 </execution>
149 <execution>
150 <id>java-compile</id>
151 <phase>compile</phase>
152 <goals>
153 <goal>compile</goal>
154 </goals>
155 </execution>
156 <execution>
157 <id>java-test-compile</id>
158 <phase>test-compile</phase>
159 <goals>
160 <goal>testCompile</goal>
161 </goals>
162 </execution>
163 </executions>
164 </plugin>
165
166 <plugin>
167 <groupId>org.apache.maven.plugins</groupId>
Marc Kupietz33677732020-09-04 22:07:39 +0200168 <artifactId>maven-jar-plugin</artifactId>
dependabot[bot]c2ca3692023-03-02 18:57:00 +0000169 <version>3.3.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200170 <configuration>
171 <archive>
172 <manifest>
173 <addClasspath>true</addClasspath>
174 <classpathPrefix>lib/</classpathPrefix>
Marc Kupietz751868b2020-09-25 17:59:38 +0200175 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzf8b7d952023-09-08 08:00:55 +0200176 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
Marc Kupietz33677732020-09-04 22:07:39 +0200177 </manifest>
178 </archive>
179 </configuration>
180 </plugin>
181
182 <plugin>
183 <groupId>de.jflex</groupId>
184 <artifactId>jflex-maven-plugin</artifactId>
dependabot[bot]719de212023-03-13 18:57:52 +0000185 <version>1.9.1</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200186 <executions>
187 <execution>
188 <goals>
189 <goal>generate</goal>
190 </goals>
191 </execution>
192 </executions>
193 </plugin>
Marc Kupietz81925092020-09-07 15:16:51 +0200194
195 <plugin>
196 <groupId>org.apache.maven.plugins</groupId>
197 <artifactId>maven-assembly-plugin</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200198 <version>3.6.0</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200199 <configuration>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200200 <appendAssemblyId>true</appendAssemblyId>
Marc Kupietz81925092020-09-07 15:16:51 +0200201 <descriptors>
202 <descriptor>src/assembly/src-distribution.xml</descriptor>
203 <descriptor>src/assembly/bin-distribution.xml</descriptor>
204 </descriptors>
205 <archive>
206 <manifest>
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 Kupietz81925092020-09-07 15:16:51 +0200209 </manifest>
210 </archive>
211 </configuration>
212 <executions>
213 <execution>
214 <id>make-assembly</id>
215 <phase>package</phase>
216 <goals>
217 <goal>single</goal>
218 </goals>
219 </execution>
220 </executions>
221 </plugin>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200222 <plugin>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200223 <groupId>org.codehaus.mojo</groupId>
224 <artifactId>appassembler-maven-plugin</artifactId>
dependabot[bot]af0b2b92020-12-09 08:13:16 +0000225 <version>2.1.0</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200226 <executions>
227 <execution>
228 <phase>package</phase>
229 <goals>
230 <goal>assemble</goal>
231 </goals>
232 </execution>
233 </executions>
234 <configuration>
235 <binFolder>bin</binFolder>
236 <binFileExtensions>
Marc Kupietz4128bee2023-09-07 11:53:31 +0200237 <unix />
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200238 </binFileExtensions>
239 <programs>
240 <program>
Marc Kupietz751868b2020-09-25 17:59:38 +0200241 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200242 <id>koraptokenizer</id>
243 </program>
244 </programs>
245 </configuration>
246 </plugin>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200247 <plugin>
248 <artifactId>maven-dependency-plugin</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200249 <version>3.6.0</version>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200250 <executions>
251 <execution>
252 <id>analyze</id>
253 <goals>
254 <goal>analyze-only</goal>
255 </goals>
256 <configuration>
257 <failOnWarning>true</failOnWarning>
258 <outputXML>true</outputXML>
259 </configuration>
260 </execution>
261 </executions>
262 </plugin>
Marc Kupietzd1dc8482023-09-07 21:28:23 +0200263 <plugin>
264 <groupId>org.apache.maven.plugins</groupId>
265 <artifactId>maven-javadoc-plugin</artifactId>
266 <version>3.5.0</version>
267 <configuration>
268 <doclint>all,-missing</doclint>
269 <tags>
270 <tag>
271 <name>apiNote</name>
272 <placement>a</placement>
273 <head>API Note:</head>
274 </tag>
275 </tags>
276 </configuration>
277 </plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200278 </plugins>
279 </build>
280
281 <dependencies>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200282 <dependency>
283 <groupId>info.picocli</groupId>
284 <artifactId>picocli</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200285 <version>4.7.5</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200286 </dependency>
287
Marc Kupietz81925092020-09-07 15:16:51 +0200288 <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools -->
289 <dependency>
290 <groupId>org.apache.opennlp</groupId>
291 <artifactId>opennlp-tools</artifactId>
Marc Kupietzd30ad6d2023-09-06 08:08:32 +0200292 <version>2.3.0</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200293 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200294 <dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200295 <groupId>junit</groupId>
296 <artifactId>junit</artifactId>
dependabot[bot]52dd64d2021-02-15 07:28:02 +0000297 <version>4.13.2</version>
Gregor Middell9968d7a2022-05-27 09:52:45 +0200298 <scope>test</scope>
Marc Kupietz33677732020-09-04 22:07:39 +0200299 </dependency>
Marc Kupietz793f85d2020-09-08 14:40:24 +0200300 <dependency>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200301 <groupId>io.github.classgraph</groupId>
302 <artifactId>classgraph</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200303 <version>4.8.162</version>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200304 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200305 </dependencies>
Marc Kupietz33677732020-09-04 22:07:39 +0200306</project>