Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 1 | <?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 Kupietz | 4a64b9c | 2021-10-07 18:53:19 +0200 | [diff] [blame] | 8 | <artifactId>totalngrams</artifactId> |
Marc Kupietz | 5b1d372 | 2022-12-21 16:40:10 +0100 | [diff] [blame] | 9 | <version>2.2.0</version> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 10 | |
| 11 | <properties> |
| 12 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 13 | <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 Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 19 | |
| 20 | <build> |
| 21 | <resources> |
| 22 | <resource> |
| 23 | <directory>src/main/xml</directory> |
| 24 | <includes> |
| 25 | <include>**/*.xml</include> |
| 26 | </includes> |
| 27 | </resource> |
Marc Kupietz | bd62aa0 | 2020-07-22 08:48:40 +0200 | [diff] [blame] | 28 | <resource> |
| 29 | <directory>src/main/resources</directory> |
| 30 | <includes> |
| 31 | <include>**/*.properties</include> |
| 32 | </includes> |
| 33 | </resource> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 34 | </resources> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 35 | |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 36 | <plugins> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 37 | <plugin> |
| 38 | <groupId>org.apache.maven.plugins</groupId> |
| 39 | <artifactId>maven-jar-plugin</artifactId> |
| 40 | <version>3.2.0</version> |
| 41 | <configuration> |
| 42 | <archive> |
| 43 | <index>true</index> |
| 44 | <manifest> |
| 45 | <addClasspath>true</addClasspath> |
| 46 | <classpathPrefix>dependency/</classpathPrefix> |
Marc Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 47 | <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 48 | </manifest> |
| 49 | </archive> |
| 50 | </configuration> |
| 51 | </plugin> |
| 52 | <plugin> |
| 53 | <groupId>org.apache.maven.plugins</groupId> |
| 54 | <artifactId>maven-compiler-plugin</artifactId> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 55 | <version>3.10.1</version> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 56 | <configuration> |
| 57 | <!-- or whatever version you use --> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 58 | <source>${maven.compiler.source}</source> |
| 59 | <target>${maven.compiler.target}</target> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 60 | <showDeprecation>true</showDeprecation> |
| 61 | <annotationProcessorPaths> |
| 62 | <path> |
| 63 | <groupId>info.picocli</groupId> |
| 64 | <artifactId>picocli-codegen</artifactId> |
| 65 | <version>4.2.0</version> |
| 66 | </path> |
| 67 | </annotationProcessorPaths> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 68 | </configuration> |
| 69 | <executions> |
| 70 | <!-- Replacing default-compile as it is treated specially by maven --> |
| 71 | <execution> |
| 72 | <id>default-compile</id> |
| 73 | <phase>none</phase> |
| 74 | </execution> |
| 75 | <!-- Replacing default-testCompile as it is treated specially by |
| 76 | maven --> |
| 77 | <execution> |
| 78 | <id>default-testCompile</id> |
| 79 | <phase>none</phase> |
| 80 | </execution> |
| 81 | <execution> |
| 82 | <id>java-compile</id> |
| 83 | <phase>compile</phase> |
| 84 | <goals> |
| 85 | <goal>compile</goal> |
| 86 | </goals> |
| 87 | </execution> |
| 88 | <execution> |
| 89 | <id>java-test-compile</id> |
| 90 | <phase>test-compile</phase> |
| 91 | <goals> |
| 92 | <goal>testCompile</goal> |
| 93 | </goals> |
| 94 | </execution> |
| 95 | </executions> |
| 96 | </plugin> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 97 | |
Marc Kupietz | 73397d8 | 2022-12-21 21:08:03 +0100 | [diff] [blame] | 98 | <plugin> |
| 99 | <groupId>org.apache.maven.plugins</groupId> |
| 100 | <artifactId>maven-assembly-plugin</artifactId> |
| 101 | <version>3.3.0</version> |
| 102 | <configuration> |
| 103 | <appendAssemblyId>true</appendAssemblyId> |
| 104 | <descriptors> |
Marc Kupietz | 207a1e5 | 2022-12-21 21:08:04 +0100 | [diff] [blame] | 105 | <descriptor>src/assembly/src-distribution.xml</descriptor> |
Marc Kupietz | d235350 | 2022-12-21 21:08:04 +0100 | [diff] [blame^] | 106 | <descriptor>src/assembly/standalone-jar.xml</descriptor> |
Marc Kupietz | 73397d8 | 2022-12-21 21:08:03 +0100 | [diff] [blame] | 107 | <descriptor>src/assembly/bin-distribution.xml</descriptor> |
| 108 | </descriptors> |
| 109 | <archive> |
| 110 | <manifest> |
| 111 | <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
| 112 | </manifest> |
| 113 | </archive> |
| 114 | </configuration> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 115 | <executions> |
| 116 | <execution> |
Marc Kupietz | 73397d8 | 2022-12-21 21:08:03 +0100 | [diff] [blame] | 117 | <id>make-assembly</id> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 118 | <phase>package</phase> |
| 119 | <goals> |
| 120 | <goal>single</goal> |
| 121 | </goals> |
| 122 | </execution> |
| 123 | </executions> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 124 | </plugin> |
| 125 | |
| 126 | <plugin> |
| 127 | <groupId>org.codehaus.mojo</groupId> |
| 128 | <artifactId>appassembler-maven-plugin</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 129 | <version>2.1.0</version> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 130 | <executions> |
| 131 | <execution> |
| 132 | <phase>package</phase> |
| 133 | <goals> |
| 134 | <goal>assemble</goal> |
| 135 | </goals> |
| 136 | </execution> |
| 137 | </executions> |
| 138 | <configuration> |
Marc Kupietz | 73397d8 | 2022-12-21 21:08:03 +0100 | [diff] [blame] | 139 | <!--we use the appassembler-maven-plugin only to generate shell script wrappers --> |
Marc Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 140 | <binFolder>bin</binFolder> |
Marc Kupietz | 097f35a | 2022-11-08 13:28:38 +0100 | [diff] [blame] | 141 | <extraJvmArguments>-XX:MaxRAMPercentage=85 -Dgroovy.grape.enable=false</extraJvmArguments> |
Marc Kupietz | 73397d8 | 2022-12-21 21:08:03 +0100 | [diff] [blame] | 142 | <useWildcardClassPath>true</useWildcardClassPath> |
| 143 | <repositoryLayout>flat</repositoryLayout> |
| 144 | <generateRepository>false</generateRepository> |
| 145 | <repositoryName>.</repositoryName> |
| 146 | <assembleDirectory>${project.build.directory}</assembleDirectory> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 147 | <binFileExtensions> |
Marc Kupietz | 983cfc1 | 2021-10-07 18:54:07 +0200 | [diff] [blame] | 148 | <unix/> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 149 | </binFileExtensions> |
| 150 | <programs> |
| 151 | <program> |
Marc Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 152 | <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
| 153 | <id>totalngrams</id> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 154 | </program> |
Marc Kupietz | 097f35a | 2022-11-08 13:28:38 +0100 | [diff] [blame] | 155 | <program> |
| 156 | <mainClass>org.ids_mannheim.GeneratePseudonymKey</mainClass> |
| 157 | <id>generate_pseudonym_key</id> |
| 158 | </program> |
| 159 | <program> |
| 160 | <mainClass>org.ids_mannheim.Pseudonymize</mainClass> |
| 161 | <id>pseudonymize</id> |
| 162 | </program> |
| 163 | <program> |
| 164 | <mainClass>org.ids_mannheim.FilterKeys</mainClass> |
| 165 | <id>filter_keys</id> |
| 166 | </program> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 167 | </programs> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 168 | </configuration> |
| 169 | </plugin> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 170 | <plugin> |
| 171 | <groupId>org.apache.maven.plugins</groupId> |
| 172 | <artifactId>maven-surefire-plugin</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 173 | <version>3.0.0-M7</version> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 174 | <configuration> |
Marc Kupietz | 8250c4b | 2022-11-07 14:51:06 +0100 | [diff] [blame] | 175 | <forkCount>1C</forkCount> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 176 | <includes> |
| 177 | <include>**/*Test.java</include> |
| 178 | </includes> |
Marc Kupietz | 8250c4b | 2022-11-07 14:51:06 +0100 | [diff] [blame] | 179 | <argLine>-Xmx32768m</argLine> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 180 | </configuration> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 181 | </plugin> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 182 | </plugins> |
| 183 | </build> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 184 | |
| 185 | <profiles> |
| 186 | <profile> |
| 187 | <id>activate-this-only-outside-intellij</id> |
| 188 | <activation> |
| 189 | <property> |
| 190 | <name>!idea.version</name> |
| 191 | </property> |
| 192 | </activation> |
| 193 | |
| 194 | <build> |
| 195 | <plugins> |
| 196 | <plugin> |
| 197 | <artifactId>maven-compiler-plugin</artifactId> |
| 198 | <version>3.10.1</version> |
| 199 | <configuration> |
| 200 | <compilerId>groovy-eclipse-compiler</compilerId> |
| 201 | <compilerArguments> |
| 202 | <configScript>${project.basedir}/config.groovy</configScript> |
| 203 | </compilerArguments> |
| 204 | </configuration> |
| 205 | <dependencies> |
| 206 | <dependency> |
| 207 | <groupId>org.codehaus.groovy</groupId> |
| 208 | <artifactId>groovy-eclipse-compiler</artifactId> |
| 209 | <version>3.8.0</version> |
| 210 | </dependency> |
| 211 | <dependency> |
| 212 | <groupId>org.codehaus.groovy</groupId> |
| 213 | <artifactId>groovy-eclipse-batch</artifactId> |
| 214 | <version>4.0.6-02</version> |
| 215 | </dependency> |
| 216 | <dependency> |
| 217 | <groupId>org.apache.ivy</groupId> |
| 218 | <artifactId>ivy</artifactId> |
| 219 | <version>2.5.1</version> |
| 220 | </dependency> |
| 221 | </dependencies> |
| 222 | </plugin> |
| 223 | </plugins> |
| 224 | </build> |
| 225 | <dependencies> |
| 226 | <dependency> |
| 227 | <groupId>org.codehaus.groovy</groupId> |
| 228 | <artifactId>groovy-eclipse-compiler</artifactId> |
| 229 | <version>3.8.0</version> |
| 230 | </dependency> |
| 231 | <dependency> |
| 232 | <groupId>org.codehaus.groovy</groupId> |
| 233 | <artifactId>groovy-eclipse-batch</artifactId> |
| 234 | <version>4.0.6-02</version> |
| 235 | </dependency> |
| 236 | </dependencies> |
| 237 | |
| 238 | <repositories> |
| 239 | <repository> |
| 240 | <id>groovy-libs-release-local</id> |
| 241 | <url>https://groovy.jfrog.io/artifactory/plugins-release-local</url> |
| 242 | </repository> |
| 243 | </repositories> |
| 244 | |
| 245 | <pluginRepositories> |
| 246 | <pluginRepository> |
| 247 | <id>groovy-plugins-release-local</id> |
| 248 | <url>https://groovy.jfrog.io/artifactory/plugins-release-local</url> |
| 249 | </pluginRepository> |
| 250 | </pluginRepositories> |
| 251 | </profile> |
| 252 | </profiles> |
| 253 | |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 254 | <dependencies> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 255 | <dependency> |
| 256 | <groupId>info.picocli</groupId> |
| 257 | <artifactId>picocli</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 258 | <version>4.7.0</version> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 259 | </dependency> |
Marc Kupietz | ba7c757 | 2020-07-23 13:49:56 +0200 | [diff] [blame] | 260 | <!-- https://mvnrepository.com/artifact/org.anarres/parallelgzip --> |
| 261 | <dependency> |
| 262 | <groupId>org.anarres</groupId> |
| 263 | <artifactId>parallelgzip</artifactId> |
Marc Kupietz | e23b6cb | 2020-07-24 16:21:41 +0200 | [diff] [blame] | 264 | <version>1.0.5</version> |
Marc Kupietz | ba7c757 | 2020-07-23 13:49:56 +0200 | [diff] [blame] | 265 | </dependency> |
Marc Kupietz | 6638bb2 | 2020-07-27 12:27:59 +0200 | [diff] [blame] | 266 | <dependency> |
| 267 | <groupId>org.junit.jupiter</groupId> |
| 268 | <artifactId>junit-jupiter</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 269 | <version>5.9.1</version> |
Marc Kupietz | 6638bb2 | 2020-07-27 12:27:59 +0200 | [diff] [blame] | 270 | <scope>test</scope> |
| 271 | </dependency> |
Marc Kupietz | 2ea60bd | 2020-07-28 09:24:43 +0200 | [diff] [blame] | 272 | <dependency> |
| 273 | <groupId>org.bouncycastle</groupId> |
| 274 | <artifactId>bcprov-jdk15on</artifactId> |
Marc Kupietz | b6f4fab | 2022-10-13 12:38:05 +0200 | [diff] [blame] | 275 | <version>1.70</version> |
Marc Kupietz | 2ea60bd | 2020-07-28 09:24:43 +0200 | [diff] [blame] | 276 | </dependency> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 277 | <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/appassembler-maven-plugin --> |
| 278 | <dependency> |
| 279 | <groupId>org.codehaus.mojo</groupId> |
| 280 | <artifactId>appassembler-maven-plugin</artifactId> |
| 281 | <version>2.1.0</version> |
| 282 | </dependency> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 283 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin --> |
| 284 | <dependency> |
| 285 | <groupId>org.apache.maven.plugins</groupId> |
| 286 | <artifactId>maven-surefire-plugin</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 287 | <version>3.0.0-M7</version> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 288 | </dependency> |
Marc Kupietz | ca29d55 | 2020-10-05 09:42:03 +0200 | [diff] [blame] | 289 | <dependency> |
| 290 | <groupId>org.jetbrains</groupId> |
| 291 | <artifactId>annotations</artifactId> |
Marc Kupietz | 15df2de | 2022-12-21 21:08:03 +0100 | [diff] [blame] | 292 | <version>23.1.0</version> |
Marc Kupietz | ca29d55 | 2020-10-05 09:42:03 +0200 | [diff] [blame] | 293 | <scope>compile</scope> |
| 294 | </dependency> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 295 | <dependency> |
Marc Kupietz | 1b717be | 2021-09-15 16:36:11 +0200 | [diff] [blame] | 296 | <groupId>org.tukaani</groupId> |
| 297 | <artifactId>xz</artifactId> |
| 298 | <version>1.9</version> |
| 299 | </dependency> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 300 | <dependency> |
| 301 | <groupId>org.apache.groovy</groupId> |
| 302 | <artifactId>groovy</artifactId> |
| 303 | <version>4.0.6</version> |
| 304 | </dependency> |
| 305 | |
| 306 | <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-eclipse-batch --> |
| 307 | |
| 308 | <dependency> |
| 309 | <groupId>org.codehaus.gpars</groupId> |
| 310 | <artifactId>gpars</artifactId> |
| 311 | <version>1.2.1</version> |
| 312 | </dependency> |
| 313 | <dependency> |
| 314 | <groupId>org.apache.ivy</groupId> |
| 315 | <artifactId>ivy</artifactId> |
| 316 | <version>2.5.1</version> |
| 317 | <scope>compile</scope> |
| 318 | <optional>true</optional> |
| 319 | </dependency> |
| 320 | <dependency> |
| 321 | <groupId>info.picocli</groupId> |
| 322 | <artifactId>picocli-groovy</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 323 | <version>4.7.0</version> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 324 | </dependency> |
| 325 | <dependency> |
| 326 | <groupId>org.apache.groovy</groupId> |
| 327 | <artifactId>groovy-cli-picocli</artifactId> |
| 328 | <version>4.0.6</version> |
| 329 | </dependency> |
| 330 | |
| 331 | <dependency> |
| 332 | <groupId>commons-cli</groupId> |
| 333 | <artifactId>commons-cli</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 334 | <version>1.5.0</version> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 335 | </dependency> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 336 | </dependencies> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 337 | |
| 338 | |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 339 | </project> |