blob: 02d1fcc7385b75c8c23bcb3de3645fb0babff98f [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 Kupietzc419d5b2020-09-17 15:21:26 +02009 <version>1.3-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>
210 <version>1.10</version>
211 <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>
232
Marc Kupietz33677732020-09-04 22:07:39 +0200233 </plugins>
234 </build>
235
236 <dependencies>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200237 <dependency>
238 <groupId>info.picocli</groupId>
239 <artifactId>picocli</artifactId>
Marc Kupietz74141b32020-10-01 23:23:18 +0200240 <version>4.5.1</version>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200241 </dependency>
242
Marc Kupietz81925092020-09-07 15:16:51 +0200243 <!-- https://mvnrepository.com/artifact/org.apache.opennlp/opennlp-tools -->
244 <dependency>
245 <groupId>org.apache.opennlp</groupId>
246 <artifactId>opennlp-tools</artifactId>
247 <version>1.9.3</version>
248 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200249 <dependency>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-surefire-plugin</artifactId>
252 <version>2.22.2</version>
253 </dependency>
254 <dependency>
255 <groupId>junit</groupId>
256 <artifactId>junit</artifactId>
257 <version>4.11</version>
258 </dependency>
Marc Kupietz793f85d2020-09-08 14:40:24 +0200259 <dependency>
260 <groupId>com.github.stephenc.jcip</groupId>
261 <artifactId>jcip-annotations</artifactId>
262 <version>1.0-1</version>
263 <scope>test</scope>
264 </dependency>
Marc Kupietzc419d5b2020-09-17 15:21:26 +0200265 <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/appassembler-maven-plugin -->
266 <dependency>
267 <groupId>org.codehaus.mojo</groupId>
268 <artifactId>appassembler-maven-plugin</artifactId>
269 <version>2.1.0</version>
270 </dependency>
Marc Kupietz751868b2020-09-25 17:59:38 +0200271 <dependency>
272 <groupId>org.jetbrains</groupId>
273 <artifactId>annotations</artifactId>
274 <version>RELEASE</version>
275 <scope>compile</scope>
276 </dependency>
Marc Kupietz67eed1c2020-09-28 21:37:16 +0200277 <!-- https://mvnrepository.com/artifact/com.igormaznitsa/jcp -->
278 <dependency>
279 <groupId>com.igormaznitsa</groupId>
280 <artifactId>jcp</artifactId>
281 <version>7.0.4</version>
282 </dependency>
Marc Kupietz5c6df032020-09-29 22:19:38 +0200283 <dependency>
284 <groupId>io.github.classgraph</groupId>
285 <artifactId>classgraph</artifactId>
286 <version>4.8.90</version>
287 </dependency>
Marc Kupietz33677732020-09-04 22:07:39 +0200288 </dependencies>
Marc Kupietz33677732020-09-04 22:07:39 +0200289</project>