blob: 1ff8f9b45b7813524c082a38d270971370168cf2 [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>
Marc Kupietz755a1502020-10-14 16:02:28 +02009 <version>2.0.0-SNAPSHOT</version>
Marc Kupietz33677732020-09-04 22:07:39 +020010
11 <properties>
12 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13 <jackson.version>[2.10.3,)</jackson.version>
14 </properties>
15
16 <build>
17 <resources>
18 <resource>
19 <directory>src/main/resources</directory>
20 <excludes>
21 <!--<exclude>**/*.properties</exclude>-->
22 <exclude>**/*.sh</exclude>
23 <exclude>**/*.cfg</exclude>
24 </excludes>
25 </resource>
26 </resources>
27 <testResources>
28 <testResource>
29 <directory>src/test/resources</directory>
30 </testResource>
31 </testResources>
32 <plugins>
33 <plugin>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020034 <groupId>com.igormaznitsa</groupId>
35 <artifactId>jcp</artifactId>
36 <version>7.0.4</version>
37 <executions>
38 <execution>
39 <id>preprocess for de</id>
40 <phase>generate-sources</phase>
41 <goals>
42 <goal>preprocess</goal>
43 </goals>
44 <configuration>
45 <vars>
46 <target.language>de</target.language>
47 </vars>
48 <target>src/main/jflex/de</target>
49 </configuration>
50 </execution>
51 <execution>
52 <id>preprocess for en</id>
53 <phase>generate-sources</phase>
54 <goals>
55 <goal>preprocess</goal>
56 </goals>
57 <configuration>
58 <vars>
59 <target.language>en</target.language>
60 </vars>
61 <target>src/main/jflex/en</target>
62 </configuration>
63 </execution>
Marc Kupietzf5a7e042020-10-12 10:43:24 +020064 <execution>
65 <id>preprocess for fr</id>
66 <phase>generate-sources</phase>
67 <goals>
68 <goal>preprocess</goal>
69 </goals>
70 <configuration>
71 <vars>
72 <target.language>fr</target.language>
73 </vars>
74 <target>src/main/jflex/fr</target>
75 </configuration>
76 </execution>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020077 </executions>
78 <configuration>
79 <sources>src/main/jpc/jflex</sources>
80 <target>src/main/jflex</target>
81 <extensions>
82 <extension>jflex</extension>
83 </extensions>
84 <keepAttributes>true</keepAttributes>
85 <keepComments>false</keepComments>
86 <keepLines>true</keepLines>
87 <verbose>true</verbose>
88 <clearTarget>true</clearTarget>
89 <replaceSources>true</replaceSources>
90 <dontOverwriteSameContent>false</dontOverwriteSameContent>
91 <skip>false</skip>
92 </configuration>
93 </plugin>
94 <plugin>
Marc Kupietz33677732020-09-04 22:07:39 +020095 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-surefire-plugin</artifactId>
97 <version>2.22.2</version>
98 <configuration>
99 <threadCount>15</threadCount>
100 <reuseForks>true</reuseForks>
101 <parallel>classes</parallel>
102 </configuration>
103 </plugin>
104 <plugin>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-compiler-plugin</artifactId>
107 <version>3.8.1</version>
108 <configuration>
Marc Kupietzf2d1ffc2020-12-09 10:39:56 +0100109 <source>1.8</source>
110 <target>1.8</target>
Marc Kupietz33677732020-09-04 22:07:39 +0200111 <showDeprecation>true</showDeprecation>
112 <annotationProcessorPaths>
113 <path>
114 <groupId>info.picocli</groupId>
115 <artifactId>picocli-codegen</artifactId>
Marc Kupietz74141b32020-10-01 23:23:18 +0200116 <version>4.5.1</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200117 </path>
118 </annotationProcessorPaths>
119 <compilerArgs>
120 <arg>-Aproject=${project.groupId}/${project.artifactId}
121 </arg>
122 </compilerArgs>
123 </configuration>
124 <executions>
125 <!-- Replacing default-compile as it is treated specially by maven -->
126 <execution>
127 <id>default-compile</id>
128 <phase>none</phase>
129 </execution>
130 <!-- Replacing default-testCompile as it is treated specially by
131 maven -->
132 <execution>
133 <id>default-testCompile</id>
134 <phase>none</phase>
135 </execution>
136 <execution>
137 <id>java-compile</id>
138 <phase>compile</phase>
139 <goals>
140 <goal>compile</goal>
141 </goals>
142 </execution>
143 <execution>
144 <id>java-test-compile</id>
145 <phase>test-compile</phase>
146 <goals>
147 <goal>testCompile</goal>
148 </goals>
149 </execution>
150 </executions>
151 </plugin>
152
153 <plugin>
154 <groupId>org.apache.maven.plugins</groupId>
Marc Kupietz33677732020-09-04 22:07:39 +0200155 <artifactId>maven-jar-plugin</artifactId>
Marc Kupietz81925092020-09-07 15:16:51 +0200156 <version>3.2.0</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200157 <configuration>
158 <archive>
159 <manifest>
160 <addClasspath>true</addClasspath>
161 <classpathPrefix>lib/</classpathPrefix>
Marc Kupietz751868b2020-09-25 17:59:38 +0200162 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietz33677732020-09-04 22:07:39 +0200163 </manifest>
164 </archive>
165 </configuration>
166 </plugin>
167
168 <plugin>
169 <groupId>de.jflex</groupId>
170 <artifactId>jflex-maven-plugin</artifactId>
171 <version>1.8.2</version>
172 <executions>
173 <execution>
174 <goals>
175 <goal>generate</goal>
176 </goals>
177 </execution>
178 </executions>
179 </plugin>
Marc Kupietz81925092020-09-07 15:16:51 +0200180
181 <plugin>
182 <groupId>org.apache.maven.plugins</groupId>
183 <artifactId>maven-assembly-plugin</artifactId>
184 <version>3.3.0</version>
185 <configuration>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200186 <appendAssemblyId>true</appendAssemblyId>
Marc Kupietz81925092020-09-07 15:16:51 +0200187 <descriptors>
188 <descriptor>src/assembly/src-distribution.xml</descriptor>
189 <descriptor>src/assembly/bin-distribution.xml</descriptor>
190 </descriptors>
191 <archive>
192 <manifest>
Marc Kupietz751868b2020-09-25 17:59:38 +0200193 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietz81925092020-09-07 15:16:51 +0200194 </manifest>
195 </archive>
196 </configuration>
197 <executions>
198 <execution>
199 <id>make-assembly</id>
200 <phase>package</phase>
201 <goals>
202 <goal>single</goal>
203 </goals>
204 </execution>
205 </executions>
206 </plugin>
Marc Kupietzf4df7122020-09-14 10:23:53 +0200207 <plugin>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200208 <groupId>org.codehaus.mojo</groupId>
209 <artifactId>appassembler-maven-plugin</artifactId>
dependabot[bot]af0b2b92020-12-09 08:13:16 +0000210 <version>2.1.0</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200211 <executions>
212 <execution>
213 <phase>package</phase>
214 <goals>
215 <goal>assemble</goal>
216 </goals>
217 </execution>
218 </executions>
219 <configuration>
220 <binFolder>bin</binFolder>
221 <binFileExtensions>
222 <unix></unix>
223 </binFileExtensions>
224 <programs>
225 <program>
Marc Kupietz751868b2020-09-25 17:59:38 +0200226 <mainClass>de.ids_mannheim.korap.tokenizer.Main</mainClass>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200227 <id>koraptokenizer</id>
228 </program>
229 </programs>
230 </configuration>
231 </plugin>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200232 <plugin>
233 <artifactId>maven-dependency-plugin</artifactId>
dependabot[bot]22e90912020-12-09 08:13:14 +0000234 <version>3.1.2</version>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200235 <executions>
236 <execution>
237 <id>analyze</id>
238 <goals>
239 <goal>analyze-only</goal>
240 </goals>
241 <configuration>
242 <failOnWarning>true</failOnWarning>
243 <outputXML>true</outputXML>
244 </configuration>
245 </execution>
246 </executions>
247 </plugin>
Marc Kupietz33677732020-09-04 22:07:39 +0200248 </plugins>
249 </build>
250
251 <dependencies>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200252 <dependency>
253 <groupId>info.picocli</groupId>
254 <artifactId>picocli</artifactId>
dependabot[bot]2d008222020-12-09 08:13:16 +0000255 <version>4.5.2</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200256 </dependency>
257
Marc Kupietz81925092020-09-07 15:16:51 +0200258 <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools -->
259 <dependency>
260 <groupId>org.apache.opennlp</groupId>
261 <artifactId>opennlp-tools</artifactId>
262 <version>1.9.3</version>
263 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200264 <dependency>
Marc Kupietz45d2dba2020-10-13 19:13:35 +0200265 <groupId>org.apache.maven.surefire</groupId>
266 <artifactId>maven-surefire-common</artifactId>
Marc Kupietz33677732020-09-04 22:07:39 +0200267 <version>2.22.2</version>
268 </dependency>
269 <dependency>
270 <groupId>junit</groupId>
271 <artifactId>junit</artifactId>
Marc Kupietza13fd5d2020-10-13 18:01:03 +0200272 <version>4.13.1</version>
Marc Kupietz33677732020-09-04 22:07:39 +0200273 </dependency>
Marc Kupietz793f85d2020-09-08 14:40:24 +0200274 <dependency>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200275 <groupId>io.github.classgraph</groupId>
276 <artifactId>classgraph</artifactId>
dependabot[bot]99e0d352020-12-09 08:13:15 +0000277 <version>4.8.93</version>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200278 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200279 </dependencies>
Marc Kupietz33677732020-09-04 22:07:39 +0200280</project>