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 | b028de4 | 2023-02-02 19:52:11 +0100 | [diff] [blame^] | 9 | <version>2.2.3</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 --> |
Marc Kupietz | 426dbff | 2023-01-23 17:13:50 +0100 | [diff] [blame] | 18 | <maven.compiler.verbose>true</maven.compiler.verbose> |
| 19 | </properties> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 20 | |
| 21 | <build> |
| 22 | <resources> |
| 23 | <resource> |
| 24 | <directory>src/main/xml</directory> |
| 25 | <includes> |
| 26 | <include>**/*.xml</include> |
| 27 | </includes> |
| 28 | </resource> |
Marc Kupietz | bd62aa0 | 2020-07-22 08:48:40 +0200 | [diff] [blame] | 29 | <resource> |
| 30 | <directory>src/main/resources</directory> |
| 31 | <includes> |
| 32 | <include>**/*.properties</include> |
| 33 | </includes> |
| 34 | </resource> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 35 | </resources> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 36 | |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 37 | <plugins> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 38 | <plugin> |
| 39 | <groupId>org.apache.maven.plugins</groupId> |
| 40 | <artifactId>maven-jar-plugin</artifactId> |
| 41 | <version>3.2.0</version> |
| 42 | <configuration> |
| 43 | <archive> |
| 44 | <index>true</index> |
| 45 | <manifest> |
| 46 | <addClasspath>true</addClasspath> |
| 47 | <classpathPrefix>dependency/</classpathPrefix> |
Marc Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 48 | <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 49 | </manifest> |
| 50 | </archive> |
| 51 | </configuration> |
| 52 | </plugin> |
| 53 | <plugin> |
| 54 | <groupId>org.apache.maven.plugins</groupId> |
| 55 | <artifactId>maven-compiler-plugin</artifactId> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 56 | <version>3.10.1</version> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 57 | <configuration> |
| 58 | <!-- or whatever version you use --> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 59 | <source>${maven.compiler.source}</source> |
| 60 | <target>${maven.compiler.target}</target> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 61 | <showDeprecation>true</showDeprecation> |
| 62 | <annotationProcessorPaths> |
| 63 | <path> |
| 64 | <groupId>info.picocli</groupId> |
| 65 | <artifactId>picocli-codegen</artifactId> |
| 66 | <version>4.2.0</version> |
| 67 | </path> |
| 68 | </annotationProcessorPaths> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 69 | </configuration> |
| 70 | <executions> |
| 71 | <!-- Replacing default-compile as it is treated specially by maven --> |
| 72 | <execution> |
| 73 | <id>default-compile</id> |
| 74 | <phase>none</phase> |
| 75 | </execution> |
| 76 | <!-- Replacing default-testCompile as it is treated specially by |
| 77 | maven --> |
| 78 | <execution> |
| 79 | <id>default-testCompile</id> |
| 80 | <phase>none</phase> |
| 81 | </execution> |
| 82 | <execution> |
| 83 | <id>java-compile</id> |
| 84 | <phase>compile</phase> |
| 85 | <goals> |
| 86 | <goal>compile</goal> |
| 87 | </goals> |
| 88 | </execution> |
| 89 | <execution> |
| 90 | <id>java-test-compile</id> |
| 91 | <phase>test-compile</phase> |
| 92 | <goals> |
| 93 | <goal>testCompile</goal> |
| 94 | </goals> |
| 95 | </execution> |
| 96 | </executions> |
| 97 | </plugin> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 98 | |
Marc Kupietz | 73397d8 | 2022-12-21 21:08:03 +0100 | [diff] [blame] | 99 | <plugin> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 100 | <groupId>org.codehaus.mojo</groupId> |
| 101 | <artifactId>appassembler-maven-plugin</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 102 | <version>2.1.0</version> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 103 | <executions> |
| 104 | <execution> |
| 105 | <phase>package</phase> |
| 106 | <goals> |
| 107 | <goal>assemble</goal> |
| 108 | </goals> |
| 109 | </execution> |
| 110 | </executions> |
| 111 | <configuration> |
Marc Kupietz | 73397d8 | 2022-12-21 21:08:03 +0100 | [diff] [blame] | 112 | <!--we use the appassembler-maven-plugin only to generate shell script wrappers --> |
Marc Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 113 | <binFolder>bin</binFolder> |
Marc Kupietz | 097f35a | 2022-11-08 13:28:38 +0100 | [diff] [blame] | 114 | <extraJvmArguments>-XX:MaxRAMPercentage=85 -Dgroovy.grape.enable=false</extraJvmArguments> |
Marc Kupietz | 73397d8 | 2022-12-21 21:08:03 +0100 | [diff] [blame] | 115 | <useWildcardClassPath>true</useWildcardClassPath> |
| 116 | <repositoryLayout>flat</repositoryLayout> |
| 117 | <generateRepository>false</generateRepository> |
| 118 | <repositoryName>.</repositoryName> |
| 119 | <assembleDirectory>${project.build.directory}</assembleDirectory> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 120 | <binFileExtensions> |
Marc Kupietz | 983cfc1 | 2021-10-07 18:54:07 +0200 | [diff] [blame] | 121 | <unix/> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 122 | </binFileExtensions> |
| 123 | <programs> |
| 124 | <program> |
Marc Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 125 | <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
| 126 | <id>totalngrams</id> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 127 | </program> |
Marc Kupietz | 097f35a | 2022-11-08 13:28:38 +0100 | [diff] [blame] | 128 | <program> |
| 129 | <mainClass>org.ids_mannheim.GeneratePseudonymKey</mainClass> |
| 130 | <id>generate_pseudonym_key</id> |
| 131 | </program> |
| 132 | <program> |
| 133 | <mainClass>org.ids_mannheim.Pseudonymize</mainClass> |
| 134 | <id>pseudonymize</id> |
| 135 | </program> |
| 136 | <program> |
| 137 | <mainClass>org.ids_mannheim.FilterKeys</mainClass> |
| 138 | <id>filter_keys</id> |
| 139 | </program> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 140 | </programs> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 141 | </configuration> |
| 142 | </plugin> |
Marc Kupietz | af80952 | 2022-12-21 22:57:56 +0100 | [diff] [blame] | 143 | |
| 144 | <plugin> |
| 145 | <groupId>org.apache.maven.plugins</groupId> |
| 146 | <artifactId>maven-assembly-plugin</artifactId> |
| 147 | <version>3.3.0</version> |
| 148 | <configuration> |
| 149 | <appendAssemblyId>true</appendAssemblyId> |
| 150 | <descriptors> |
| 151 | <descriptor>src/assembly/src-distribution.xml</descriptor> |
| 152 | <descriptor>src/assembly/standalone-jar.xml</descriptor> |
| 153 | <descriptor>src/assembly/bin-distribution.xml</descriptor> |
| 154 | </descriptors> |
| 155 | <archive> |
| 156 | <manifest> |
| 157 | <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
| 158 | </manifest> |
| 159 | </archive> |
| 160 | </configuration> |
| 161 | <executions> |
| 162 | <execution> |
| 163 | <id>make-assembly</id> |
| 164 | <phase>package</phase> |
| 165 | <goals> |
| 166 | <goal>single</goal> |
| 167 | </goals> |
| 168 | </execution> |
| 169 | </executions> |
| 170 | </plugin> |
| 171 | |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 172 | <plugin> |
| 173 | <groupId>org.apache.maven.plugins</groupId> |
| 174 | <artifactId>maven-surefire-plugin</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 175 | <version>3.0.0-M7</version> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 176 | <configuration> |
Marc Kupietz | 8250c4b | 2022-11-07 14:51:06 +0100 | [diff] [blame] | 177 | <forkCount>1C</forkCount> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 178 | <includes> |
| 179 | <include>**/*Test.java</include> |
| 180 | </includes> |
Marc Kupietz | 8250c4b | 2022-11-07 14:51:06 +0100 | [diff] [blame] | 181 | <argLine>-Xmx32768m</argLine> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 182 | </configuration> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 183 | </plugin> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 184 | </plugins> |
| 185 | </build> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 186 | |
| 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 Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 256 | <dependencies> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 257 | <dependency> |
| 258 | <groupId>info.picocli</groupId> |
| 259 | <artifactId>picocli</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 260 | <version>4.7.0</version> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 261 | </dependency> |
Marc Kupietz | ba7c757 | 2020-07-23 13:49:56 +0200 | [diff] [blame] | 262 | <!-- https://mvnrepository.com/artifact/org.anarres/parallelgzip --> |
| 263 | <dependency> |
| 264 | <groupId>org.anarres</groupId> |
| 265 | <artifactId>parallelgzip</artifactId> |
Marc Kupietz | e23b6cb | 2020-07-24 16:21:41 +0200 | [diff] [blame] | 266 | <version>1.0.5</version> |
Marc Kupietz | ba7c757 | 2020-07-23 13:49:56 +0200 | [diff] [blame] | 267 | </dependency> |
Marc Kupietz | 6638bb2 | 2020-07-27 12:27:59 +0200 | [diff] [blame] | 268 | <dependency> |
| 269 | <groupId>org.junit.jupiter</groupId> |
| 270 | <artifactId>junit-jupiter</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 271 | <version>5.9.1</version> |
Marc Kupietz | 6638bb2 | 2020-07-27 12:27:59 +0200 | [diff] [blame] | 272 | <scope>test</scope> |
| 273 | </dependency> |
Marc Kupietz | 2ea60bd | 2020-07-28 09:24:43 +0200 | [diff] [blame] | 274 | <dependency> |
| 275 | <groupId>org.bouncycastle</groupId> |
| 276 | <artifactId>bcprov-jdk15on</artifactId> |
Marc Kupietz | b6f4fab | 2022-10-13 12:38:05 +0200 | [diff] [blame] | 277 | <version>1.70</version> |
Marc Kupietz | 2ea60bd | 2020-07-28 09:24:43 +0200 | [diff] [blame] | 278 | </dependency> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 279 | <!-- 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 Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 285 | <!-- 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> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 289 | <version>3.0.0-M7</version> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 290 | </dependency> |
Marc Kupietz | ca29d55 | 2020-10-05 09:42:03 +0200 | [diff] [blame] | 291 | <dependency> |
| 292 | <groupId>org.jetbrains</groupId> |
| 293 | <artifactId>annotations</artifactId> |
Marc Kupietz | 15df2de | 2022-12-21 21:08:03 +0100 | [diff] [blame] | 294 | <version>23.1.0</version> |
Marc Kupietz | ca29d55 | 2020-10-05 09:42:03 +0200 | [diff] [blame] | 295 | <scope>compile</scope> |
| 296 | </dependency> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 297 | <dependency> |
Marc Kupietz | 1b717be | 2021-09-15 16:36:11 +0200 | [diff] [blame] | 298 | <groupId>org.tukaani</groupId> |
| 299 | <artifactId>xz</artifactId> |
| 300 | <version>1.9</version> |
| 301 | </dependency> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 302 | <dependency> |
| 303 | <groupId>org.apache.groovy</groupId> |
| 304 | <artifactId>groovy</artifactId> |
| 305 | <version>4.0.6</version> |
| 306 | </dependency> |
| 307 | |
| 308 | <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-eclipse-batch --> |
| 309 | |
| 310 | <dependency> |
| 311 | <groupId>org.codehaus.gpars</groupId> |
| 312 | <artifactId>gpars</artifactId> |
| 313 | <version>1.2.1</version> |
| 314 | </dependency> |
| 315 | <dependency> |
| 316 | <groupId>org.apache.ivy</groupId> |
| 317 | <artifactId>ivy</artifactId> |
| 318 | <version>2.5.1</version> |
| 319 | <scope>compile</scope> |
| 320 | <optional>true</optional> |
| 321 | </dependency> |
| 322 | <dependency> |
| 323 | <groupId>info.picocli</groupId> |
| 324 | <artifactId>picocli-groovy</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 325 | <version>4.7.0</version> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 326 | </dependency> |
| 327 | <dependency> |
| 328 | <groupId>org.apache.groovy</groupId> |
| 329 | <artifactId>groovy-cli-picocli</artifactId> |
| 330 | <version>4.0.6</version> |
| 331 | </dependency> |
| 332 | |
| 333 | <dependency> |
| 334 | <groupId>commons-cli</groupId> |
| 335 | <artifactId>commons-cli</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 336 | <version>1.5.0</version> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 337 | </dependency> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 338 | </dependencies> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 339 | |
| 340 | |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 341 | </project> |