blob: 4a20c458569a833199934428e11691b569449b84 [file] [log] [blame]
Marc Kupietza37cc9f2020-07-20 09:12:20 +02001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>
Marc Kupietz4a64b9c2021-10-07 18:53:19 +02008 <artifactId>totalngrams</artifactId>
Marc Kupietzfa273a52022-10-24 18:10:55 +02009 <version>2.1.0</version>
Marc Kupietza37cc9f2020-07-20 09:12:20 +020010
11 <properties>
12 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Marc Kupietz869bfb92022-11-06 20:38:40 +010013 <maven.compiler.source>17</maven.compiler.source>
14 <maven.compiler.target>17</maven.compiler.target>
15 <!-- Use the release flag only if you are using Java 9+ -->
16 <!-- <maven.compiler.release>8</maven.compiler.release> -->
17 <!-- verbose is useful for debugging purposes -->
18 <maven.compiler.verbose>true</maven.compiler.verbose> </properties>
Marc Kupietza37cc9f2020-07-20 09:12:20 +020019
20 <build>
21 <resources>
22 <resource>
23 <directory>src/main/xml</directory>
24 <includes>
25 <include>**/*.xml</include>
26 </includes>
27 </resource>
Marc Kupietzbd62aa02020-07-22 08:48:40 +020028 <resource>
29 <directory>src/main/resources</directory>
30 <includes>
31 <include>**/*.properties</include>
32 </includes>
33 </resource>
Marc Kupietza37cc9f2020-07-20 09:12:20 +020034 </resources>
Marc Kupietz869bfb92022-11-06 20:38:40 +010035
Marc Kupietza37cc9f2020-07-20 09:12:20 +020036 <plugins>
Marc Kupietz869bfb92022-11-06 20:38:40 +010037
Marc Kupietza37cc9f2020-07-20 09:12:20 +020038 <plugin>
39 <groupId>org.apache.maven.plugins</groupId>
40 <artifactId>maven-javadoc-plugin</artifactId>
41 <version>3.1.1</version>
42 <configuration>
43 <failOnError>false</failOnError>
Marc Kupietz869bfb92022-11-06 20:38:40 +010044 <source>${maven.compiler.target}</source>
Marc Kupietza37cc9f2020-07-20 09:12:20 +020045 <javadocExecutable>${java.home}/bin/javadoc
46 </javadocExecutable>
47 </configuration>
48 <executions>
49 <execution>
50 <id>attach-javadocs</id>
51 <goals>
52 <goal>javadoc-no-fork</goal>
53 <goal>jar</goal>
54 </goals>
55 <configuration>
56 <failOnError>false</failOnError>
57 </configuration>
58 </execution>
59 </executions>
60 </plugin>
61 <plugin>
62 <groupId>org.apache.maven.plugins</groupId>
63 <artifactId>maven-jar-plugin</artifactId>
64 <version>3.2.0</version>
65 <configuration>
66 <archive>
67 <index>true</index>
68 <manifest>
69 <addClasspath>true</addClasspath>
70 <classpathPrefix>dependency/</classpathPrefix>
Marc Kupietzaaf46f12020-07-29 18:00:57 +020071 <mainClass>org.ids_mannheim.TotalNGrams</mainClass>
Marc Kupietza37cc9f2020-07-20 09:12:20 +020072 </manifest>
73 </archive>
74 </configuration>
75 </plugin>
76 <plugin>
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-compiler-plugin</artifactId>
Marc Kupietz869bfb92022-11-06 20:38:40 +010079 <version>3.10.1</version>
Marc Kupietza37cc9f2020-07-20 09:12:20 +020080 <configuration>
81 <!-- or whatever version you use -->
Marc Kupietz869bfb92022-11-06 20:38:40 +010082 <source>${maven.compiler.source}</source>
83 <target>${maven.compiler.target}</target>
Marc Kupietza37cc9f2020-07-20 09:12:20 +020084 <showDeprecation>true</showDeprecation>
85 <annotationProcessorPaths>
86 <path>
87 <groupId>info.picocli</groupId>
88 <artifactId>picocli-codegen</artifactId>
89 <version>4.2.0</version>
90 </path>
91 </annotationProcessorPaths>
Marc Kupietza37cc9f2020-07-20 09:12:20 +020092 </configuration>
93 <executions>
94 <!-- Replacing default-compile as it is treated specially by maven -->
95 <execution>
96 <id>default-compile</id>
97 <phase>none</phase>
98 </execution>
99 <!-- Replacing default-testCompile as it is treated specially by
100 maven -->
101 <execution>
102 <id>default-testCompile</id>
103 <phase>none</phase>
104 </execution>
105 <execution>
106 <id>java-compile</id>
107 <phase>compile</phase>
108 <goals>
109 <goal>compile</goal>
110 </goals>
111 </execution>
112 <execution>
113 <id>java-test-compile</id>
114 <phase>test-compile</phase>
115 <goals>
116 <goal>testCompile</goal>
117 </goals>
118 </execution>
119 </executions>
120 </plugin>
Marc Kupietz869bfb92022-11-06 20:38:40 +0100121
122 <plugin>
123 <artifactId>maven-assembly-plugin</artifactId>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200124 <executions>
125 <execution>
126 <phase>package</phase>
127 <goals>
128 <goal>single</goal>
129 </goals>
130 </execution>
131 </executions>
132 <configuration>
133 <archive>
134 <index>true</index>
135 <manifest>
136 <addClasspath>true</addClasspath>
137 <classpathPrefix>dependency/</classpathPrefix>
Marc Kupietzaaf46f12020-07-29 18:00:57 +0200138 <mainClass>org.ids_mannheim.TotalNGrams</mainClass>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200139 </manifest>
140 </archive>
141 <descriptorRefs>
142 <descriptorRef>jar-with-dependencies</descriptorRef>
143 </descriptorRefs>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200144 <appendAssemblyId>false</appendAssemblyId>
145 </configuration>
146 </plugin>
147
148 <plugin>
149 <groupId>org.codehaus.mojo</groupId>
150 <artifactId>appassembler-maven-plugin</artifactId>
151 <version>1.10</version>
152 <executions>
153 <execution>
154 <phase>package</phase>
155 <goals>
156 <goal>assemble</goal>
157 </goals>
158 </execution>
159 </executions>
160 <configuration>
Marc Kupietzaaf46f12020-07-29 18:00:57 +0200161 <binFolder>bin</binFolder>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200162 <extraJvmArguments>-Xmx512000m</extraJvmArguments>
163 <binFileExtensions>
Marc Kupietz983cfc12021-10-07 18:54:07 +0200164 <unix/>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200165 </binFileExtensions>
166 <programs>
167 <program>
Marc Kupietzaaf46f12020-07-29 18:00:57 +0200168 <mainClass>org.ids_mannheim.TotalNGrams</mainClass>
169 <id>totalngrams</id>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200170 </program>
171 </programs>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200172 </configuration>
173 </plugin>
Marc Kupietzcf6ec7d2020-07-29 18:00:08 +0200174 <plugin>
175 <groupId>org.apache.maven.plugins</groupId>
176 <artifactId>maven-surefire-plugin</artifactId>
Marc Kupietzcf6ec7d2020-07-29 18:00:08 +0200177 <version>2.22.2</version>
Marc Kupietz869bfb92022-11-06 20:38:40 +0100178 <configuration>
179 <includes>
180 <include>**/*Test.java</include>
181 </includes>
182 </configuration>
Marc Kupietzcf6ec7d2020-07-29 18:00:08 +0200183 </plugin>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200184 </plugins>
185 </build>
Marc Kupietz869bfb92022-11-06 20:38:40 +0100186
187 <profiles>
188 <profile>
189 <id>activate-this-only-outside-intellij</id>
190 <activation>
191 <property>
192 <name>!idea.version</name>
193 </property>
194 </activation>
195
196 <build>
197 <plugins>
198 <plugin>
199 <artifactId>maven-compiler-plugin</artifactId>
200 <version>3.10.1</version>
201 <configuration>
202 <compilerId>groovy-eclipse-compiler</compilerId>
203 <compilerArguments>
204 <configScript>${project.basedir}/config.groovy</configScript>
205 </compilerArguments>
206 </configuration>
207 <dependencies>
208 <dependency>
209 <groupId>org.codehaus.groovy</groupId>
210 <artifactId>groovy-eclipse-compiler</artifactId>
211 <version>3.8.0</version>
212 </dependency>
213 <dependency>
214 <groupId>org.codehaus.groovy</groupId>
215 <artifactId>groovy-eclipse-batch</artifactId>
216 <version>4.0.6-02</version>
217 </dependency>
218 <dependency>
219 <groupId>org.apache.ivy</groupId>
220 <artifactId>ivy</artifactId>
221 <version>2.5.1</version>
222 </dependency>
223 </dependencies>
224 </plugin>
225 </plugins>
226 </build>
227 <dependencies>
228 <dependency>
229 <groupId>org.codehaus.groovy</groupId>
230 <artifactId>groovy-eclipse-compiler</artifactId>
231 <version>3.8.0</version>
232 </dependency>
233 <dependency>
234 <groupId>org.codehaus.groovy</groupId>
235 <artifactId>groovy-eclipse-batch</artifactId>
236 <version>4.0.6-02</version>
237 </dependency>
238 </dependencies>
239
240 <repositories>
241 <repository>
242 <id>groovy-libs-release-local</id>
243 <url>https://groovy.jfrog.io/artifactory/plugins-release-local</url>
244 </repository>
245 </repositories>
246
247 <pluginRepositories>
248 <pluginRepository>
249 <id>groovy-plugins-release-local</id>
250 <url>https://groovy.jfrog.io/artifactory/plugins-release-local</url>
251 </pluginRepository>
252 </pluginRepositories>
253 </profile>
254 </profiles>
255
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200256 <dependencies>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200257 <dependency>
258 <groupId>info.picocli</groupId>
259 <artifactId>picocli</artifactId>
Marc Kupietzb6f4fab2022-10-13 12:38:05 +0200260 <version>4.6.3</version>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200261 </dependency>
Marc Kupietzba7c7572020-07-23 13:49:56 +0200262 <!-- https://mvnrepository.com/artifact/org.anarres/parallelgzip -->
263 <dependency>
264 <groupId>org.anarres</groupId>
265 <artifactId>parallelgzip</artifactId>
Marc Kupietze23b6cb2020-07-24 16:21:41 +0200266 <version>1.0.5</version>
Marc Kupietzba7c7572020-07-23 13:49:56 +0200267 </dependency>
Marc Kupietz6638bb22020-07-27 12:27:59 +0200268 <dependency>
269 <groupId>org.junit.jupiter</groupId>
270 <artifactId>junit-jupiter</artifactId>
Marc Kupietzb6f4fab2022-10-13 12:38:05 +0200271 <version>5.9.0</version>
Marc Kupietz6638bb22020-07-27 12:27:59 +0200272 <scope>test</scope>
273 </dependency>
Marc Kupietz2ea60bd2020-07-28 09:24:43 +0200274 <dependency>
275 <groupId>org.bouncycastle</groupId>
276 <artifactId>bcprov-jdk15on</artifactId>
Marc Kupietzb6f4fab2022-10-13 12:38:05 +0200277 <version>1.70</version>
Marc Kupietz2ea60bd2020-07-28 09:24:43 +0200278 </dependency>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200279 <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/appassembler-maven-plugin -->
280 <dependency>
281 <groupId>org.codehaus.mojo</groupId>
282 <artifactId>appassembler-maven-plugin</artifactId>
283 <version>2.1.0</version>
284 </dependency>
Marc Kupietzcf6ec7d2020-07-29 18:00:08 +0200285 <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin -->
286 <dependency>
287 <groupId>org.apache.maven.plugins</groupId>
288 <artifactId>maven-surefire-plugin</artifactId>
289 <version>2.22.2</version>
290 </dependency>
Marc Kupietzca29d552020-10-05 09:42:03 +0200291 <dependency>
292 <groupId>org.jetbrains</groupId>
293 <artifactId>annotations</artifactId>
Marc Kupietzb6f4fab2022-10-13 12:38:05 +0200294 <version>23.0.0</version>
Marc Kupietzca29d552020-10-05 09:42:03 +0200295 <scope>compile</scope>
296 </dependency>
Marc Kupietzf14c0962021-04-07 19:07:20 +0200297 <dependency>
298 <groupId>junit</groupId>
299 <artifactId>junit</artifactId>
Marc Kupietzb6f4fab2022-10-13 12:38:05 +0200300 <version>4.13.2</version>
Marc Kupietzf14c0962021-04-07 19:07:20 +0200301 <scope>test</scope>
302 </dependency>
Marc Kupietz1b717be2021-09-15 16:36:11 +0200303 <dependency>
304 <groupId>org.tukaani</groupId>
305 <artifactId>xz</artifactId>
306 <version>1.9</version>
307 </dependency>
Marc Kupietz869bfb92022-11-06 20:38:40 +0100308 <dependency>
309 <groupId>org.apache.groovy</groupId>
310 <artifactId>groovy</artifactId>
311 <version>4.0.6</version>
312 </dependency>
313
314 <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-eclipse-batch -->
315
316 <dependency>
317 <groupId>org.codehaus.gpars</groupId>
318 <artifactId>gpars</artifactId>
319 <version>1.2.1</version>
320 </dependency>
321 <dependency>
322 <groupId>org.apache.ivy</groupId>
323 <artifactId>ivy</artifactId>
324 <version>2.5.1</version>
325 <scope>compile</scope>
326 <optional>true</optional>
327 </dependency>
328 <dependency>
329 <groupId>info.picocli</groupId>
330 <artifactId>picocli-groovy</artifactId>
331 <version>4.6.3</version>
332 </dependency>
333 <dependency>
334 <groupId>org.apache.groovy</groupId>
335 <artifactId>groovy-cli-picocli</artifactId>
336 <version>4.0.6</version>
337 </dependency>
338
339 <dependency>
340 <groupId>commons-cli</groupId>
341 <artifactId>commons-cli</artifactId>
342 <version>1.2</version>
343 </dependency>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200344 </dependencies>
Marc Kupietz869bfb92022-11-06 20:38:40 +0100345
346
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200347</project>