blob: 256bef19ec6ddc75da027867a413421870381e75 [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 Kupietz33677732020-09-04 22:07:39 +0200176 </manifest>
177 </archive>
178 </configuration>
179 </plugin>
180
181 <plugin>
182 <groupId>de.jflex</groupId>
183 <artifactId>jflex-maven-plugin</artifactId>
dependabot[bot]719de212023-03-13 18:57:52 +0000184 <version>1.9.1</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200185 <executions>
186 <execution>
187 <goals>
188 <goal>generate</goal>
189 </goals>
190 </execution>
191 </executions>
192 </plugin>
Marc Kupietz81925092020-09-07 15:16:51 +0200193
194 <plugin>
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-assembly-plugin</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200197 <version>3.6.0</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200198 <configuration>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200199 <appendAssemblyId>true</appendAssemblyId>
Marc Kupietz81925092020-09-07 15:16:51 +0200200 <descriptors>
201 <descriptor>src/assembly/src-distribution.xml</descriptor>
202 <descriptor>src/assembly/bin-distribution.xml</descriptor>
203 </descriptors>
204 <archive>
205 <manifest>
Marc Kupietz751868b2020-09-25 17:59:38 +0200206 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietz81925092020-09-07 15:16:51 +0200207 </manifest>
208 </archive>
209 </configuration>
210 <executions>
211 <execution>
212 <id>make-assembly</id>
213 <phase>package</phase>
214 <goals>
215 <goal>single</goal>
216 </goals>
217 </execution>
218 </executions>
219 </plugin>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200220 <plugin>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200221 <groupId>org.codehaus.mojo</groupId>
222 <artifactId>appassembler-maven-plugin</artifactId>
dependabot[bot]af0b2b92020-12-09 08:13:16 +0000223 <version>2.1.0</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200224 <executions>
225 <execution>
226 <phase>package</phase>
227 <goals>
228 <goal>assemble</goal>
229 </goals>
230 </execution>
231 </executions>
232 <configuration>
233 <binFolder>bin</binFolder>
234 <binFileExtensions>
Marc Kupietz4128bee2023-09-07 11:53:31 +0200235 <unix />
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200236 </binFileExtensions>
237 <programs>
238 <program>
Marc Kupietz751868b2020-09-25 17:59:38 +0200239 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200240 <id>koraptokenizer</id>
241 </program>
242 </programs>
243 </configuration>
244 </plugin>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200245 <plugin>
246 <artifactId>maven-dependency-plugin</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200247 <version>3.6.0</version>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200248 <executions>
249 <execution>
250 <id>analyze</id>
251 <goals>
252 <goal>analyze-only</goal>
253 </goals>
254 <configuration>
255 <failOnWarning>true</failOnWarning>
256 <outputXML>true</outputXML>
257 </configuration>
258 </execution>
259 </executions>
260 </plugin>
Marc Kupietzd1dc8482023-09-07 21:28:23 +0200261 <plugin>
262 <groupId>org.apache.maven.plugins</groupId>
263 <artifactId>maven-javadoc-plugin</artifactId>
264 <version>3.5.0</version>
265 <configuration>
266 <doclint>all,-missing</doclint>
267 <tags>
268 <tag>
269 <name>apiNote</name>
270 <placement>a</placement>
271 <head>API Note:</head>
272 </tag>
273 </tags>
274 </configuration>
275 </plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200276 </plugins>
277 </build>
278
279 <dependencies>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200280 <dependency>
281 <groupId>info.picocli</groupId>
282 <artifactId>picocli</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200283 <version>4.7.5</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200284 </dependency>
285
Marc Kupietz81925092020-09-07 15:16:51 +0200286 <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools -->
287 <dependency>
288 <groupId>org.apache.opennlp</groupId>
289 <artifactId>opennlp-tools</artifactId>
Marc Kupietzd30ad6d2023-09-06 08:08:32 +0200290 <version>2.3.0</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200291 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200292 <dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200293 <groupId>junit</groupId>
294 <artifactId>junit</artifactId>
dependabot[bot]52dd64d2021-02-15 07:28:02 +0000295 <version>4.13.2</version>
Gregor Middell9968d7a2022-05-27 09:52:45 +0200296 <scope>test</scope>
Marc Kupietz33677732020-09-04 22:07:39 +0200297 </dependency>
Marc Kupietz793f85d2020-09-08 14:40:24 +0200298 <dependency>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200299 <groupId>io.github.classgraph</groupId>
300 <artifactId>classgraph</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200301 <version>4.8.162</version>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200302 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200303 </dependencies>
Marc Kupietz33677732020-09-04 22:07:39 +0200304</project>