blob: d70121901cb8ee3dce20255782ff908917024caf [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>
Marc Kupietzab91cf02022-11-08 08:43:48 +010041 <version>3.4.1</version>
Marc Kupietza37cc9f2020-07-20 09:12:20 +020042 <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>
Marc Kupietzb6f601f2022-12-01 13:29:26 +0100151 <version>2.1.0</version>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200152 <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 Kupietz097f35a2022-11-08 13:28:38 +0100162 <extraJvmArguments>-XX:MaxRAMPercentage=85 -Dgroovy.grape.enable=false</extraJvmArguments>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200163 <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>
Marc Kupietz097f35a2022-11-08 13:28:38 +0100171 <program>
172 <mainClass>org.ids_mannheim.GeneratePseudonymKey</mainClass>
173 <id>generate_pseudonym_key</id>
174 </program>
175 <program>
176 <mainClass>org.ids_mannheim.Pseudonymize</mainClass>
177 <id>pseudonymize</id>
178 </program>
179 <program>
180 <mainClass>org.ids_mannheim.FilterKeys</mainClass>
181 <id>filter_keys</id>
182 </program>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200183 </programs>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200184 </configuration>
185 </plugin>
Marc Kupietzcf6ec7d2020-07-29 18:00:08 +0200186 <plugin>
187 <groupId>org.apache.maven.plugins</groupId>
188 <artifactId>maven-surefire-plugin</artifactId>
Marc Kupietzb6f601f2022-12-01 13:29:26 +0100189 <version>3.0.0-M7</version>
Marc Kupietz869bfb92022-11-06 20:38:40 +0100190 <configuration>
Marc Kupietz8250c4b2022-11-07 14:51:06 +0100191 <forkCount>1C</forkCount>
Marc Kupietz869bfb92022-11-06 20:38:40 +0100192 <includes>
193 <include>**/*Test.java</include>
194 </includes>
Marc Kupietz8250c4b2022-11-07 14:51:06 +0100195 <argLine>-Xmx32768m</argLine>
Marc Kupietz869bfb92022-11-06 20:38:40 +0100196 </configuration>
Marc Kupietzcf6ec7d2020-07-29 18:00:08 +0200197 </plugin>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200198 </plugins>
199 </build>
Marc Kupietz869bfb92022-11-06 20:38:40 +0100200
201 <profiles>
202 <profile>
203 <id>activate-this-only-outside-intellij</id>
204 <activation>
205 <property>
206 <name>!idea.version</name>
207 </property>
208 </activation>
209
210 <build>
211 <plugins>
212 <plugin>
213 <artifactId>maven-compiler-plugin</artifactId>
214 <version>3.10.1</version>
215 <configuration>
216 <compilerId>groovy-eclipse-compiler</compilerId>
217 <compilerArguments>
218 <configScript>${project.basedir}/config.groovy</configScript>
219 </compilerArguments>
220 </configuration>
221 <dependencies>
222 <dependency>
223 <groupId>org.codehaus.groovy</groupId>
224 <artifactId>groovy-eclipse-compiler</artifactId>
225 <version>3.8.0</version>
226 </dependency>
227 <dependency>
228 <groupId>org.codehaus.groovy</groupId>
229 <artifactId>groovy-eclipse-batch</artifactId>
230 <version>4.0.6-02</version>
231 </dependency>
232 <dependency>
233 <groupId>org.apache.ivy</groupId>
234 <artifactId>ivy</artifactId>
235 <version>2.5.1</version>
236 </dependency>
237 </dependencies>
238 </plugin>
239 </plugins>
240 </build>
241 <dependencies>
242 <dependency>
243 <groupId>org.codehaus.groovy</groupId>
244 <artifactId>groovy-eclipse-compiler</artifactId>
245 <version>3.8.0</version>
246 </dependency>
247 <dependency>
248 <groupId>org.codehaus.groovy</groupId>
249 <artifactId>groovy-eclipse-batch</artifactId>
250 <version>4.0.6-02</version>
251 </dependency>
252 </dependencies>
253
254 <repositories>
255 <repository>
256 <id>groovy-libs-release-local</id>
257 <url>https://groovy.jfrog.io/artifactory/plugins-release-local</url>
258 </repository>
259 </repositories>
260
261 <pluginRepositories>
262 <pluginRepository>
263 <id>groovy-plugins-release-local</id>
264 <url>https://groovy.jfrog.io/artifactory/plugins-release-local</url>
265 </pluginRepository>
266 </pluginRepositories>
267 </profile>
268 </profiles>
269
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200270 <dependencies>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200271 <dependency>
272 <groupId>info.picocli</groupId>
273 <artifactId>picocli</artifactId>
Marc Kupietzb6f601f2022-12-01 13:29:26 +0100274 <version>4.7.0</version>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200275 </dependency>
Marc Kupietzba7c7572020-07-23 13:49:56 +0200276 <!-- https://mvnrepository.com/artifact/org.anarres/parallelgzip -->
277 <dependency>
278 <groupId>org.anarres</groupId>
279 <artifactId>parallelgzip</artifactId>
Marc Kupietze23b6cb2020-07-24 16:21:41 +0200280 <version>1.0.5</version>
Marc Kupietzba7c7572020-07-23 13:49:56 +0200281 </dependency>
Marc Kupietz6638bb22020-07-27 12:27:59 +0200282 <dependency>
283 <groupId>org.junit.jupiter</groupId>
284 <artifactId>junit-jupiter</artifactId>
Marc Kupietzb6f601f2022-12-01 13:29:26 +0100285 <version>5.9.1</version>
Marc Kupietz6638bb22020-07-27 12:27:59 +0200286 <scope>test</scope>
287 </dependency>
Marc Kupietz2ea60bd2020-07-28 09:24:43 +0200288 <dependency>
289 <groupId>org.bouncycastle</groupId>
290 <artifactId>bcprov-jdk15on</artifactId>
Marc Kupietzb6f4fab2022-10-13 12:38:05 +0200291 <version>1.70</version>
Marc Kupietz2ea60bd2020-07-28 09:24:43 +0200292 </dependency>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200293 <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/appassembler-maven-plugin -->
294 <dependency>
295 <groupId>org.codehaus.mojo</groupId>
296 <artifactId>appassembler-maven-plugin</artifactId>
297 <version>2.1.0</version>
298 </dependency>
Marc Kupietzcf6ec7d2020-07-29 18:00:08 +0200299 <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin -->
300 <dependency>
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-surefire-plugin</artifactId>
Marc Kupietzb6f601f2022-12-01 13:29:26 +0100303 <version>3.0.0-M7</version>
Marc Kupietzcf6ec7d2020-07-29 18:00:08 +0200304 </dependency>
Marc Kupietzca29d552020-10-05 09:42:03 +0200305 <dependency>
306 <groupId>org.jetbrains</groupId>
307 <artifactId>annotations</artifactId>
Marc Kupietzb6f4fab2022-10-13 12:38:05 +0200308 <version>23.0.0</version>
Marc Kupietzca29d552020-10-05 09:42:03 +0200309 <scope>compile</scope>
310 </dependency>
Marc Kupietzb6f601f2022-12-01 13:29:26 +0100311 <dependency>
Marc Kupietz1b717be2021-09-15 16:36:11 +0200312 <groupId>org.tukaani</groupId>
313 <artifactId>xz</artifactId>
314 <version>1.9</version>
315 </dependency>
Marc Kupietz869bfb92022-11-06 20:38:40 +0100316 <dependency>
317 <groupId>org.apache.groovy</groupId>
318 <artifactId>groovy</artifactId>
319 <version>4.0.6</version>
320 </dependency>
321
322 <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-eclipse-batch -->
323
324 <dependency>
325 <groupId>org.codehaus.gpars</groupId>
326 <artifactId>gpars</artifactId>
327 <version>1.2.1</version>
328 </dependency>
329 <dependency>
330 <groupId>org.apache.ivy</groupId>
331 <artifactId>ivy</artifactId>
332 <version>2.5.1</version>
333 <scope>compile</scope>
334 <optional>true</optional>
335 </dependency>
336 <dependency>
337 <groupId>info.picocli</groupId>
338 <artifactId>picocli-groovy</artifactId>
Marc Kupietzb6f601f2022-12-01 13:29:26 +0100339 <version>4.7.0</version>
Marc Kupietz869bfb92022-11-06 20:38:40 +0100340 </dependency>
341 <dependency>
342 <groupId>org.apache.groovy</groupId>
343 <artifactId>groovy-cli-picocli</artifactId>
344 <version>4.0.6</version>
345 </dependency>
346
347 <dependency>
348 <groupId>commons-cli</groupId>
349 <artifactId>commons-cli</artifactId>
Marc Kupietzb6f601f2022-12-01 13:29:26 +0100350 <version>1.5.0</version>
Marc Kupietz869bfb92022-11-06 20:38:40 +0100351 </dependency>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200352 </dependencies>
Marc Kupietz869bfb92022-11-06 20:38:40 +0100353
354
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200355</project>