blob: b9cffac1892df5c2581052b07c4b4b7710c980e2 [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>
Marc Kupietzb920f852020-09-08 14:36:01 +020014 <maven.compiler.target>1.8</maven.compiler.target>
15 <maven.compiler.source>1.8</maven.compiler.source>
Marc Kupietz33677732020-09-04 22:07:39 +020016 </properties>
17
18 <build>
19 <resources>
20 <resource>
21 <directory>src/main/resources</directory>
22 <excludes>
23 <!--<exclude>**/*.properties</exclude>-->
24 <exclude>**/*.sh</exclude>
25 <exclude>**/*.cfg</exclude>
26 </excludes>
27 </resource>
28 </resources>
29 <testResources>
30 <testResource>
31 <directory>src/test/resources</directory>
32 </testResource>
33 </testResources>
34 <plugins>
35 <plugin>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020036 <groupId>com.igormaznitsa</groupId>
37 <artifactId>jcp</artifactId>
38 <version>7.0.4</version>
39 <executions>
40 <execution>
41 <id>preprocess for de</id>
42 <phase>generate-sources</phase>
43 <goals>
44 <goal>preprocess</goal>
45 </goals>
46 <configuration>
47 <vars>
48 <target.language>de</target.language>
49 </vars>
50 <target>src/main/jflex/de</target>
51 </configuration>
52 </execution>
53 <execution>
54 <id>preprocess for en</id>
55 <phase>generate-sources</phase>
56 <goals>
57 <goal>preprocess</goal>
58 </goals>
59 <configuration>
60 <vars>
61 <target.language>en</target.language>
62 </vars>
63 <target>src/main/jflex/en</target>
64 </configuration>
65 </execution>
Marc Kupietzf5a7e042020-10-12 10:43:24 +020066 <execution>
67 <id>preprocess for fr</id>
68 <phase>generate-sources</phase>
69 <goals>
70 <goal>preprocess</goal>
71 </goals>
72 <configuration>
73 <vars>
74 <target.language>fr</target.language>
75 </vars>
76 <target>src/main/jflex/fr</target>
77 </configuration>
78 </execution>
Marc Kupietz67eed1c2020-09-28 21:37:16 +020079 </executions>
80 <configuration>
81 <sources>src/main/jpc/jflex</sources>
82 <target>src/main/jflex</target>
83 <extensions>
84 <extension>jflex</extension>
85 </extensions>
86 <keepAttributes>true</keepAttributes>
87 <keepComments>false</keepComments>
88 <keepLines>true</keepLines>
89 <verbose>true</verbose>
90 <clearTarget>true</clearTarget>
91 <replaceSources>true</replaceSources>
92 <dontOverwriteSameContent>false</dontOverwriteSameContent>
93 <skip>false</skip>
94 </configuration>
95 </plugin>
96 <plugin>
Marc Kupietz33677732020-09-04 22:07:39 +020097 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-surefire-plugin</artifactId>
99 <version>2.22.2</version>
100 <configuration>
101 <threadCount>15</threadCount>
102 <reuseForks>true</reuseForks>
103 <parallel>classes</parallel>
104 </configuration>
105 </plugin>
106 <plugin>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-compiler-plugin</artifactId>
109 <version>3.8.1</version>
110 <configuration>
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>