blob: 96b19f13f4e14147ac9efac19e46ce4730bc3e4c [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
7 <groupId>groupId</groupId>
8 <artifactId>KorAP-Tokenizer</artifactId>
Akron7cbc2052021-10-23 14:21:48 +02009 <version>2.2.1</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>
96 <version>2.22.2</version>
97 <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]5898ba12022-01-12 18:04:16 +0000106 <version>3.9.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200107 <configuration>
Marc Kupietzf2d1ffc2020-12-09 10:39:56 +0100108 <source>1.8</source>
109 <target>1.8</target>
Marc Kupietz33677732020-09-04 22:07:39 +0200110 <showDeprecation>true</showDeprecation>
111 <annotationProcessorPaths>
112 <path>
113 <groupId>info.picocli</groupId>
114 <artifactId>picocli-codegen</artifactId>
Marc Kupietz74141b32020-10-01 23:23:18 +0200115 <version>4.5.1</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200116 </path>
117 </annotationProcessorPaths>
118 <compilerArgs>
119 <arg>-Aproject=${project.groupId}/${project.artifactId}
120 </arg>
121 </compilerArgs>
122 </configuration>
123 <executions>
124 <!-- Replacing default-compile as it is treated specially by maven -->
125 <execution>
126 <id>default-compile</id>
127 <phase>none</phase>
128 </execution>
129 <!-- Replacing default-testCompile as it is treated specially by
130 maven -->
131 <execution>
132 <id>default-testCompile</id>
133 <phase>none</phase>
134 </execution>
135 <execution>
136 <id>java-compile</id>
137 <phase>compile</phase>
138 <goals>
139 <goal>compile</goal>
140 </goals>
141 </execution>
142 <execution>
143 <id>java-test-compile</id>
144 <phase>test-compile</phase>
145 <goals>
146 <goal>testCompile</goal>
147 </goals>
148 </execution>
149 </executions>
150 </plugin>
151
152 <plugin>
153 <groupId>org.apache.maven.plugins</groupId>
Marc Kupietz33677732020-09-04 22:07:39 +0200154 <artifactId>maven-jar-plugin</artifactId>
dependabot[bot]38ab15a2022-01-12 18:04:13 +0000155 <version>3.2.2</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200156 <configuration>
157 <archive>
158 <manifest>
159 <addClasspath>true</addClasspath>
160 <classpathPrefix>lib/</classpathPrefix>
Marc Kupietz751868b2020-09-25 17:59:38 +0200161 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietz33677732020-09-04 22:07:39 +0200162 </manifest>
163 </archive>
164 </configuration>
165 </plugin>
166
167 <plugin>
168 <groupId>de.jflex</groupId>
169 <artifactId>jflex-maven-plugin</artifactId>
170 <version>1.8.2</version>
171 <executions>
172 <execution>
173 <goals>
174 <goal>generate</goal>
175 </goals>
176 </execution>
177 </executions>
178 </plugin>
Marc Kupietz81925092020-09-07 15:16:51 +0200179
180 <plugin>
181 <groupId>org.apache.maven.plugins</groupId>
182 <artifactId>maven-assembly-plugin</artifactId>
183 <version>3.3.0</version>
184 <configuration>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200185 <appendAssemblyId>true</appendAssemblyId>
Marc Kupietz81925092020-09-07 15:16:51 +0200186 <descriptors>
187 <descriptor>src/assembly/src-distribution.xml</descriptor>
188 <descriptor>src/assembly/bin-distribution.xml</descriptor>
189 </descriptors>
190 <archive>
191 <manifest>
Marc Kupietz751868b2020-09-25 17:59:38 +0200192 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietz81925092020-09-07 15:16:51 +0200193 </manifest>
194 </archive>
195 </configuration>
196 <executions>
197 <execution>
198 <id>make-assembly</id>
199 <phase>package</phase>
200 <goals>
201 <goal>single</goal>
202 </goals>
203 </execution>
204 </executions>
205 </plugin>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200206 <plugin>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200207 <groupId>org.codehaus.mojo</groupId>
208 <artifactId>appassembler-maven-plugin</artifactId>
dependabot[bot]af0b2b92020-12-09 08:13:16 +0000209 <version>2.1.0</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200210 <executions>
211 <execution>
212 <phase>package</phase>
213 <goals>
214 <goal>assemble</goal>
215 </goals>
216 </execution>
217 </executions>
218 <configuration>
219 <binFolder>bin</binFolder>
220 <binFileExtensions>
221 <unix></unix>
222 </binFileExtensions>
223 <programs>
224 <program>
Marc Kupietz751868b2020-09-25 17:59:38 +0200225 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200226 <id>koraptokenizer</id>
227 </program>
228 </programs>
229 </configuration>
230 </plugin>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200231 <plugin>
232 <artifactId>maven-dependency-plugin</artifactId>
dependabot[bot]22e90912020-12-09 08:13:14 +0000233 <version>3.1.2</version>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200234 <executions>
235 <execution>
236 <id>analyze</id>
237 <goals>
238 <goal>analyze-only</goal>
239 </goals>
240 <configuration>
241 <failOnWarning>true</failOnWarning>
242 <outputXML>true</outputXML>
243 </configuration>
244 </execution>
245 </executions>
246 </plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200247 </plugins>
248 </build>
249
250 <dependencies>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200251 <dependency>
252 <groupId>info.picocli</groupId>
253 <artifactId>picocli</artifactId>
dependabot[bot]95daeec2021-11-05 18:04:26 +0000254 <version>4.6.2</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200255 </dependency>
256
Marc Kupietz81925092020-09-07 15:16:51 +0200257 <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools -->
258 <dependency>
259 <groupId>org.apache.opennlp</groupId>
260 <artifactId>opennlp-tools</artifactId>
dependabot[bot]b7f81352021-11-03 18:04:46 +0000261 <version>1.9.4</version>
Marc Kupietz81925092020-09-07 15:16:51 +0200262 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200263 <dependency>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200264 <groupId>org.apache.maven.surefire</groupId>
265 <artifactId>maven-surefire-common</artifactId>
Marc Kupietz33677732020-09-04 22:07:39 +0200266 <version>2.22.2</version>
267 </dependency>
268 <dependency>
269 <groupId>junit</groupId>
270 <artifactId>junit</artifactId>
dependabot[bot]52dd64d2021-02-15 07:28:02 +0000271 <version>4.13.2</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200272 </dependency>
Marc Kupietz793f85d2020-09-08 14:40:24 +0200273 <dependency>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200274 <groupId>io.github.classgraph</groupId>
275 <artifactId>classgraph</artifactId>
dependabot[bot]fe3f03a2021-12-13 18:07:05 +0000276 <version>4.8.138</version>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200277 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200278 </dependencies>
Marc Kupietz33677732020-09-04 22:07:39 +0200279</project>