blob: 74ca99751304128e511fecf3528db12525378538 [file] [log] [blame]
Marc Kupietz33677732020-09-04 22:07:39 +02001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xmlns="http://maven.apache.org/POM/4.0.0"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6
Marc Kupietzb3a7bbe2023-09-05 16:00:59 +02007 <groupId>de.ids_mannheim.korap.tokenizer</groupId>
Marc Kupietz33677732020-09-04 22:07:39 +02008 <artifactId>KorAP-Tokenizer</artifactId>
Marc Kupietz4cb81572023-09-07 11:34:11 +02009 <version>2.2.3-SNAPSHOT</version>
10
11 <name>KorAP-Tokenizer</name>
12 <description>DFA tokenizer with character offset output, large abbreviation tables and CMC support.</description>
13 <url>https://github.com/KorAP/KorAP-Tokenizer</url>
14
15 <scm>
16 <connection>scm:git:https://korap.ids-mannheim.de/gerrit/KorAP/KorAP-Tokenizer</connection>
17 </scm>
18
19 <licenses>
20 <license>
21 <name>Apache License, Version 2.0</name>
22 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
23 <distribution>repo</distribution>
24 </license>
25 </licenses>
Marc Kupietz33677732020-09-04 22:07:39 +020026
27 <properties>
28 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Marc Kupietz33677732020-09-04 22:07:39 +020029 </properties>
30
31 <build>
32 <resources>
33 <resource>
34 <directory>src/main/resources</directory>
35 <excludes>
36 <!--<exclude>**/*.properties</exclude>-->
37 <exclude>**/*.sh</exclude>
38 <exclude>**/*.cfg</exclude>
39 </excludes>
40 </resource>
41 </resources>
42 <testResources>
43 <testResource>
44 <directory>src/test/resources</directory>
45 </testResource>
46 </testResources>
47 <plugins>
48 <plugin>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020049 <groupId>com.igormaznitsa</groupId>
50 <artifactId>jcp</artifactId>
dependabot[bot]cbc63f82021-12-13 18:07:01 +000051 <version>7.0.5</version>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020052 <executions>
53 <execution>
54 <id>preprocess for de</id>
55 <phase>generate-sources</phase>
56 <goals>
57 <goal>preprocess</goal>
58 </goals>
59 <configuration>
60 <vars>
61 <target.language>de</target.language>
62 </vars>
63 <target>src/main/jflex/de</target>
64 </configuration>
65 </execution>
66 <execution>
67 <id>preprocess for en</id>
68 <phase>generate-sources</phase>
69 <goals>
70 <goal>preprocess</goal>
71 </goals>
72 <configuration>
73 <vars>
74 <target.language>en</target.language>
75 </vars>
76 <target>src/main/jflex/en</target>
77 </configuration>
78 </execution>
Marc Kupietzf5a7e042020-10-12 10:43:24 +020079 <execution>
80 <id>preprocess for fr</id>
81 <phase>generate-sources</phase>
82 <goals>
83 <goal>preprocess</goal>
84 </goals>
85 <configuration>
86 <vars>
87 <target.language>fr</target.language>
88 </vars>
89 <target>src/main/jflex/fr</target>
90 </configuration>
91 </execution>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020092 </executions>
93 <configuration>
94 <sources>src/main/jpc/jflex</sources>
95 <target>src/main/jflex</target>
96 <extensions>
97 <extension>jflex</extension>
98 </extensions>
99 <keepAttributes>true</keepAttributes>
100 <keepComments>false</keepComments>
101 <keepLines>true</keepLines>
102 <verbose>true</verbose>
103 <clearTarget>true</clearTarget>
104 <replaceSources>true</replaceSources>
105 <dontOverwriteSameContent>false</dontOverwriteSameContent>
106 <skip>false</skip>
107 </configuration>
108 </plugin>
109 <plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-surefire-plugin</artifactId>
dependabot[bot]366a6dd2023-06-06 18:56:46 +0000112 <version>3.1.2</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200113 <configuration>
114 <threadCount>15</threadCount>
115 <reuseForks>true</reuseForks>
116 <parallel>classes</parallel>
117 </configuration>
118 </plugin>
119 <plugin>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]55fcf8d2023-02-27 18:58:07 +0000122 <version>3.11.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200123 <configuration>
Marc Kupietzd30ad6d2023-09-06 08:08:32 +0200124 <release>17</release>
Marc Kupietz33677732020-09-04 22:07:39 +0200125 <showDeprecation>true</showDeprecation>
126 <annotationProcessorPaths>
127 <path>
128 <groupId>info.picocli</groupId>
129 <artifactId>picocli-codegen</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200130 <version>4.7.5</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200131 </path>
132 </annotationProcessorPaths>
133 <compilerArgs>
134 <arg>-Aproject=${project.groupId}/${project.artifactId}
135 </arg>
136 </compilerArgs>
137 </configuration>
138 <executions>
139 <!-- Replacing default-compile as it is treated specially by maven -->
140 <execution>
141 <id>default-compile</id>
142 <phase>none</phase>
143 </execution>
144 <!-- Replacing default-testCompile as it is treated specially by
145 maven -->
146 <execution>
147 <id>default-testCompile</id>
148 <phase>none</phase>
149 </execution>
150 <execution>
151 <id>java-compile</id>
152 <phase>compile</phase>
153 <goals>
154 <goal>compile</goal>
155 </goals>
156 </execution>
157 <execution>
158 <id>java-test-compile</id>
159 <phase>test-compile</phase>
160 <goals>
161 <goal>testCompile</goal>
162 </goals>
163 </execution>
164 </executions>
165 </plugin>
166
167 <plugin>
168 <groupId>org.apache.maven.plugins</groupId>
Marc Kupietz33677732020-09-04 22:07:39 +0200169 <artifactId>maven-jar-plugin</artifactId>
dependabot[bot]c2ca3692023-03-02 18:57:00 +0000170 <version>3.3.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200171 <configuration>
172 <archive>
173 <manifest>
174 <addClasspath>true</addClasspath>
175 <classpathPrefix>lib/</classpathPrefix>
Marc Kupietz751868b2020-09-25 17:59:38 +0200176 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
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 Kupietz81925092020-09-07 15:16:51 +0200208 </manifest>
209 </archive>
210 </configuration>
211 <executions>
212 <execution>
213 <id>make-assembly</id>
214 <phase>package</phase>
215 <goals>
216 <goal>single</goal>
217 </goals>
218 </execution>
219 </executions>
220 </plugin>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200221 <plugin>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200222 <groupId>org.codehaus.mojo</groupId>
223 <artifactId>appassembler-maven-plugin</artifactId>
dependabot[bot]af0b2b92020-12-09 08:13:16 +0000224 <version>2.1.0</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200225 <executions>
226 <execution>
227 <phase>package</phase>
228 <goals>
229 <goal>assemble</goal>
230 </goals>
231 </execution>
232 </executions>
233 <configuration>
234 <binFolder>bin</binFolder>
235 <binFileExtensions>
236 <unix></unix>
237 </binFileExtensions>
238 <programs>
239 <program>
Marc Kupietz751868b2020-09-25 17:59:38 +0200240 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200241 <id>koraptokenizer</id>
242 </program>
243 </programs>
244 </configuration>
245 </plugin>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200246 <plugin>
247 <artifactId>maven-dependency-plugin</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200248 <version>3.6.0</version>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200249 <executions>
250 <execution>
251 <id>analyze</id>
252 <goals>
253 <goal>analyze-only</goal>
254 </goals>
255 <configuration>
256 <failOnWarning>true</failOnWarning>
257 <outputXML>true</outputXML>
258 </configuration>
259 </execution>
260 </executions>
261 </plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200262 </plugins>
263 </build>
264
265 <dependencies>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200266 <dependency>
267 <groupId>info.picocli</groupId>
268 <artifactId>picocli</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200269 <version>4.7.5</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200270 </dependency>
271
Marc Kupietz81925092020-09-07 15:16:51 +0200272 <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools -->
273 <dependency>
274 <groupId>org.apache.opennlp</groupId>
275 <artifactId>opennlp-tools</artifactId>
Marc Kupietzd30ad6d2023-09-06 08:08:32 +0200276 <version>2.3.0</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200277 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200278 <dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200279 <groupId>junit</groupId>
280 <artifactId>junit</artifactId>
dependabot[bot]52dd64d2021-02-15 07:28:02 +0000281 <version>4.13.2</version>
Gregor Middell9968d7a2022-05-27 09:52:45 +0200282 <scope>test</scope>
Marc Kupietz33677732020-09-04 22:07:39 +0200283 </dependency>
Marc Kupietz793f85d2020-09-08 14:40:24 +0200284 <dependency>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200285 <groupId>io.github.classgraph</groupId>
286 <artifactId>classgraph</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200287 <version>4.8.162</version>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200288 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200289 </dependencies>
Marc Kupietz33677732020-09-04 22:07:39 +0200290</project>