blob: 7eae38d046dfa6e0144673c74a438f6c881f64a9 [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 Kupietzc2f448c2023-09-05 16:04:31 +02009 <version>2.2.3</version>
Marc Kupietz33677732020-09-04 22:07:39 +020010
11 <properties>
12 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Marc Kupietz33677732020-09-04 22:07:39 +020013 </properties>
14
15 <build>
16 <resources>
17 <resource>
18 <directory>src/main/resources</directory>
19 <excludes>
20 <!--<exclude>**/*.properties</exclude>-->
21 <exclude>**/*.sh</exclude>
22 <exclude>**/*.cfg</exclude>
23 </excludes>
24 </resource>
25 </resources>
26 <testResources>
27 <testResource>
28 <directory>src/test/resources</directory>
29 </testResource>
30 </testResources>
31 <plugins>
32 <plugin>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020033 <groupId>com.igormaznitsa</groupId>
34 <artifactId>jcp</artifactId>
dependabot[bot]cbc63f82021-12-13 18:07:01 +000035 <version>7.0.5</version>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020036 <executions>
37 <execution>
38 <id>preprocess for de</id>
39 <phase>generate-sources</phase>
40 <goals>
41 <goal>preprocess</goal>
42 </goals>
43 <configuration>
44 <vars>
45 <target.language>de</target.language>
46 </vars>
47 <target>src/main/jflex/de</target>
48 </configuration>
49 </execution>
50 <execution>
51 <id>preprocess for en</id>
52 <phase>generate-sources</phase>
53 <goals>
54 <goal>preprocess</goal>
55 </goals>
56 <configuration>
57 <vars>
58 <target.language>en</target.language>
59 </vars>
60 <target>src/main/jflex/en</target>
61 </configuration>
62 </execution>
Marc Kupietzf5a7e042020-10-12 10:43:24 +020063 <execution>
64 <id>preprocess for fr</id>
65 <phase>generate-sources</phase>
66 <goals>
67 <goal>preprocess</goal>
68 </goals>
69 <configuration>
70 <vars>
71 <target.language>fr</target.language>
72 </vars>
73 <target>src/main/jflex/fr</target>
74 </configuration>
75 </execution>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020076 </executions>
77 <configuration>
78 <sources>src/main/jpc/jflex</sources>
79 <target>src/main/jflex</target>
80 <extensions>
81 <extension>jflex</extension>
82 </extensions>
83 <keepAttributes>true</keepAttributes>
84 <keepComments>false</keepComments>
85 <keepLines>true</keepLines>
86 <verbose>true</verbose>
87 <clearTarget>true</clearTarget>
88 <replaceSources>true</replaceSources>
89 <dontOverwriteSameContent>false</dontOverwriteSameContent>
90 <skip>false</skip>
91 </configuration>
92 </plugin>
93 <plugin>
Marc Kupietz33677732020-09-04 22:07:39 +020094 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-surefire-plugin</artifactId>
dependabot[bot]366a6dd2023-06-06 18:56:46 +000096 <version>3.1.2</version>
Marc Kupietz33677732020-09-04 22:07:39 +020097 <configuration>
98 <threadCount>15</threadCount>
99 <reuseForks>true</reuseForks>
100 <parallel>classes</parallel>
101 </configuration>
102 </plugin>
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]55fcf8d2023-02-27 18:58:07 +0000106 <version>3.11.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200107 <configuration>
Marc Kupietzd30ad6d2023-09-06 08:08:32 +0200108 <release>17</release>
Marc Kupietz33677732020-09-04 22:07:39 +0200109 <showDeprecation>true</showDeprecation>
110 <annotationProcessorPaths>
111 <path>
112 <groupId>info.picocli</groupId>
113 <artifactId>picocli-codegen</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200114 <version>4.7.5</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200115 </path>
116 </annotationProcessorPaths>
117 <compilerArgs>
118 <arg>-Aproject=${project.groupId}/${project.artifactId}
119 </arg>
120 </compilerArgs>
121 </configuration>
122 <executions>
123 <!-- Replacing default-compile as it is treated specially by maven -->
124 <execution>
125 <id>default-compile</id>
126 <phase>none</phase>
127 </execution>
128 <!-- Replacing default-testCompile as it is treated specially by
129 maven -->
130 <execution>
131 <id>default-testCompile</id>
132 <phase>none</phase>
133 </execution>
134 <execution>
135 <id>java-compile</id>
136 <phase>compile</phase>
137 <goals>
138 <goal>compile</goal>
139 </goals>
140 </execution>
141 <execution>
142 <id>java-test-compile</id>
143 <phase>test-compile</phase>
144 <goals>
145 <goal>testCompile</goal>
146 </goals>
147 </execution>
148 </executions>
149 </plugin>
150
151 <plugin>
152 <groupId>org.apache.maven.plugins</groupId>
Marc Kupietz33677732020-09-04 22:07:39 +0200153 <artifactId>maven-jar-plugin</artifactId>
dependabot[bot]c2ca3692023-03-02 18:57:00 +0000154 <version>3.3.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200155 <configuration>
156 <archive>
157 <manifest>
158 <addClasspath>true</addClasspath>
159 <classpathPrefix>lib/</classpathPrefix>
Marc Kupietz751868b2020-09-25 17:59:38 +0200160 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietz33677732020-09-04 22:07:39 +0200161 </manifest>
162 </archive>
163 </configuration>
164 </plugin>
165
166 <plugin>
167 <groupId>de.jflex</groupId>
168 <artifactId>jflex-maven-plugin</artifactId>
dependabot[bot]719de212023-03-13 18:57:52 +0000169 <version>1.9.1</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200170 <executions>
171 <execution>
172 <goals>
173 <goal>generate</goal>
174 </goals>
175 </execution>
176 </executions>
177 </plugin>
Marc Kupietz81925092020-09-07 15:16:51 +0200178
179 <plugin>
180 <groupId>org.apache.maven.plugins</groupId>
181 <artifactId>maven-assembly-plugin</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200182 <version>3.6.0</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200183 <configuration>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200184 <appendAssemblyId>true</appendAssemblyId>
Marc Kupietz81925092020-09-07 15:16:51 +0200185 <descriptors>
186 <descriptor>src/assembly/src-distribution.xml</descriptor>
187 <descriptor>src/assembly/bin-distribution.xml</descriptor>
188 </descriptors>
189 <archive>
190 <manifest>
Marc Kupietz751868b2020-09-25 17:59:38 +0200191 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietz81925092020-09-07 15:16:51 +0200192 </manifest>
193 </archive>
194 </configuration>
195 <executions>
196 <execution>
197 <id>make-assembly</id>
198 <phase>package</phase>
199 <goals>
200 <goal>single</goal>
201 </goals>
202 </execution>
203 </executions>
204 </plugin>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200205 <plugin>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200206 <groupId>org.codehaus.mojo</groupId>
207 <artifactId>appassembler-maven-plugin</artifactId>
dependabot[bot]af0b2b92020-12-09 08:13:16 +0000208 <version>2.1.0</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200209 <executions>
210 <execution>
211 <phase>package</phase>
212 <goals>
213 <goal>assemble</goal>
214 </goals>
215 </execution>
216 </executions>
217 <configuration>
218 <binFolder>bin</binFolder>
219 <binFileExtensions>
220 <unix></unix>
221 </binFileExtensions>
222 <programs>
223 <program>
Marc Kupietz751868b2020-09-25 17:59:38 +0200224 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200225 <id>koraptokenizer</id>
226 </program>
227 </programs>
228 </configuration>
229 </plugin>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200230 <plugin>
231 <artifactId>maven-dependency-plugin</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200232 <version>3.6.0</version>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200233 <executions>
234 <execution>
235 <id>analyze</id>
236 <goals>
237 <goal>analyze-only</goal>
238 </goals>
239 <configuration>
240 <failOnWarning>true</failOnWarning>
241 <outputXML>true</outputXML>
242 </configuration>
243 </execution>
244 </executions>
245 </plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200246 </plugins>
247 </build>
248
249 <dependencies>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200250 <dependency>
251 <groupId>info.picocli</groupId>
252 <artifactId>picocli</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200253 <version>4.7.5</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200254 </dependency>
255
Marc Kupietz81925092020-09-07 15:16:51 +0200256 <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools -->
257 <dependency>
258 <groupId>org.apache.opennlp</groupId>
259 <artifactId>opennlp-tools</artifactId>
Marc Kupietzd30ad6d2023-09-06 08:08:32 +0200260 <version>2.3.0</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200261 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200262 <dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200263 <groupId>junit</groupId>
264 <artifactId>junit</artifactId>
dependabot[bot]52dd64d2021-02-15 07:28:02 +0000265 <version>4.13.2</version>
Gregor Middell9968d7a2022-05-27 09:52:45 +0200266 <scope>test</scope>
Marc Kupietz33677732020-09-04 22:07:39 +0200267 </dependency>
Marc Kupietz793f85d2020-09-08 14:40:24 +0200268 <dependency>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200269 <groupId>io.github.classgraph</groupId>
270 <artifactId>classgraph</artifactId>
Marc Kupietzdb4eacc2023-09-06 07:59:18 +0200271 <version>4.8.162</version>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200272 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200273 </dependencies>
Marc Kupietz33677732020-09-04 22:07:39 +0200274</project>