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 | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 37 | |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 38 | <plugin> |
| 39 | <groupId>org.apache.maven.plugins</groupId> |
| 40 | <artifactId>maven-javadoc-plugin</artifactId> |
Marc Kupietz | ab91cf0 | 2022-11-08 08:43:48 +0100 | [diff] [blame] | 41 | <version>3.4.1</version> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 42 | <configuration> |
| 43 | <failOnError>false</failOnError> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 44 | <source>${maven.compiler.target}</source> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 45 | <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 Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 71 | <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 72 | </manifest> |
| 73 | </archive> |
| 74 | </configuration> |
| 75 | </plugin> |
| 76 | <plugin> |
| 77 | <groupId>org.apache.maven.plugins</groupId> |
| 78 | <artifactId>maven-compiler-plugin</artifactId> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 79 | <version>3.10.1</version> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 80 | <configuration> |
| 81 | <!-- or whatever version you use --> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 82 | <source>${maven.compiler.source}</source> |
| 83 | <target>${maven.compiler.target}</target> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 84 | <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 Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 92 | </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 Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 121 | |
Marc Kupietz | 73397d8 | 2022-12-21 21:08:03 +0100 | [diff] [blame^] | 122 | <plugin> |
| 123 | <groupId>org.apache.maven.plugins</groupId> |
| 124 | <artifactId>maven-assembly-plugin</artifactId> |
| 125 | <version>3.3.0</version> |
| 126 | <configuration> |
| 127 | <appendAssemblyId>true</appendAssemblyId> |
| 128 | <descriptors> |
| 129 | <descriptor>src/assembly/jar-distribution.xml</descriptor> |
| 130 | <descriptor>src/assembly/bin-distribution.xml</descriptor> |
| 131 | </descriptors> |
| 132 | <archive> |
| 133 | <manifest> |
| 134 | <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
| 135 | </manifest> |
| 136 | </archive> |
| 137 | </configuration> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 138 | <executions> |
| 139 | <execution> |
Marc Kupietz | 73397d8 | 2022-12-21 21:08:03 +0100 | [diff] [blame^] | 140 | <id>make-assembly</id> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 141 | <phase>package</phase> |
| 142 | <goals> |
| 143 | <goal>single</goal> |
| 144 | </goals> |
| 145 | </execution> |
| 146 | </executions> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 147 | </plugin> |
| 148 | |
| 149 | <plugin> |
| 150 | <groupId>org.codehaus.mojo</groupId> |
| 151 | <artifactId>appassembler-maven-plugin</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 152 | <version>2.1.0</version> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 153 | <executions> |
| 154 | <execution> |
| 155 | <phase>package</phase> |
| 156 | <goals> |
| 157 | <goal>assemble</goal> |
| 158 | </goals> |
| 159 | </execution> |
| 160 | </executions> |
| 161 | <configuration> |
Marc Kupietz | 73397d8 | 2022-12-21 21:08:03 +0100 | [diff] [blame^] | 162 | <!--we use the appassembler-maven-plugin only to generate shell script wrappers --> |
Marc Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 163 | <binFolder>bin</binFolder> |
Marc Kupietz | 097f35a | 2022-11-08 13:28:38 +0100 | [diff] [blame] | 164 | <extraJvmArguments>-XX:MaxRAMPercentage=85 -Dgroovy.grape.enable=false</extraJvmArguments> |
Marc Kupietz | 73397d8 | 2022-12-21 21:08:03 +0100 | [diff] [blame^] | 165 | <useWildcardClassPath>true</useWildcardClassPath> |
| 166 | <repositoryLayout>flat</repositoryLayout> |
| 167 | <generateRepository>false</generateRepository> |
| 168 | <repositoryName>.</repositoryName> |
| 169 | <assembleDirectory>${project.build.directory}</assembleDirectory> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 170 | <binFileExtensions> |
Marc Kupietz | 983cfc1 | 2021-10-07 18:54:07 +0200 | [diff] [blame] | 171 | <unix/> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 172 | </binFileExtensions> |
| 173 | <programs> |
| 174 | <program> |
Marc Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 175 | <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
| 176 | <id>totalngrams</id> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 177 | </program> |
Marc Kupietz | 097f35a | 2022-11-08 13:28:38 +0100 | [diff] [blame] | 178 | <program> |
| 179 | <mainClass>org.ids_mannheim.GeneratePseudonymKey</mainClass> |
| 180 | <id>generate_pseudonym_key</id> |
| 181 | </program> |
| 182 | <program> |
| 183 | <mainClass>org.ids_mannheim.Pseudonymize</mainClass> |
| 184 | <id>pseudonymize</id> |
| 185 | </program> |
| 186 | <program> |
| 187 | <mainClass>org.ids_mannheim.FilterKeys</mainClass> |
| 188 | <id>filter_keys</id> |
| 189 | </program> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 190 | </programs> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 191 | </configuration> |
| 192 | </plugin> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 193 | <plugin> |
| 194 | <groupId>org.apache.maven.plugins</groupId> |
| 195 | <artifactId>maven-surefire-plugin</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 196 | <version>3.0.0-M7</version> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 197 | <configuration> |
Marc Kupietz | 8250c4b | 2022-11-07 14:51:06 +0100 | [diff] [blame] | 198 | <forkCount>1C</forkCount> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 199 | <includes> |
| 200 | <include>**/*Test.java</include> |
| 201 | </includes> |
Marc Kupietz | 8250c4b | 2022-11-07 14:51:06 +0100 | [diff] [blame] | 202 | <argLine>-Xmx32768m</argLine> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 203 | </configuration> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 204 | </plugin> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 205 | </plugins> |
| 206 | </build> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 207 | |
| 208 | <profiles> |
| 209 | <profile> |
| 210 | <id>activate-this-only-outside-intellij</id> |
| 211 | <activation> |
| 212 | <property> |
| 213 | <name>!idea.version</name> |
| 214 | </property> |
| 215 | </activation> |
| 216 | |
| 217 | <build> |
| 218 | <plugins> |
| 219 | <plugin> |
| 220 | <artifactId>maven-compiler-plugin</artifactId> |
| 221 | <version>3.10.1</version> |
| 222 | <configuration> |
| 223 | <compilerId>groovy-eclipse-compiler</compilerId> |
| 224 | <compilerArguments> |
| 225 | <configScript>${project.basedir}/config.groovy</configScript> |
| 226 | </compilerArguments> |
| 227 | </configuration> |
| 228 | <dependencies> |
| 229 | <dependency> |
| 230 | <groupId>org.codehaus.groovy</groupId> |
| 231 | <artifactId>groovy-eclipse-compiler</artifactId> |
| 232 | <version>3.8.0</version> |
| 233 | </dependency> |
| 234 | <dependency> |
| 235 | <groupId>org.codehaus.groovy</groupId> |
| 236 | <artifactId>groovy-eclipse-batch</artifactId> |
| 237 | <version>4.0.6-02</version> |
| 238 | </dependency> |
| 239 | <dependency> |
| 240 | <groupId>org.apache.ivy</groupId> |
| 241 | <artifactId>ivy</artifactId> |
| 242 | <version>2.5.1</version> |
| 243 | </dependency> |
| 244 | </dependencies> |
| 245 | </plugin> |
| 246 | </plugins> |
| 247 | </build> |
| 248 | <dependencies> |
| 249 | <dependency> |
| 250 | <groupId>org.codehaus.groovy</groupId> |
| 251 | <artifactId>groovy-eclipse-compiler</artifactId> |
| 252 | <version>3.8.0</version> |
| 253 | </dependency> |
| 254 | <dependency> |
| 255 | <groupId>org.codehaus.groovy</groupId> |
| 256 | <artifactId>groovy-eclipse-batch</artifactId> |
| 257 | <version>4.0.6-02</version> |
| 258 | </dependency> |
| 259 | </dependencies> |
| 260 | |
| 261 | <repositories> |
| 262 | <repository> |
| 263 | <id>groovy-libs-release-local</id> |
| 264 | <url>https://groovy.jfrog.io/artifactory/plugins-release-local</url> |
| 265 | </repository> |
| 266 | </repositories> |
| 267 | |
| 268 | <pluginRepositories> |
| 269 | <pluginRepository> |
| 270 | <id>groovy-plugins-release-local</id> |
| 271 | <url>https://groovy.jfrog.io/artifactory/plugins-release-local</url> |
| 272 | </pluginRepository> |
| 273 | </pluginRepositories> |
| 274 | </profile> |
| 275 | </profiles> |
| 276 | |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 277 | <dependencies> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 278 | <dependency> |
| 279 | <groupId>info.picocli</groupId> |
| 280 | <artifactId>picocli</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 281 | <version>4.7.0</version> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 282 | </dependency> |
Marc Kupietz | ba7c757 | 2020-07-23 13:49:56 +0200 | [diff] [blame] | 283 | <!-- https://mvnrepository.com/artifact/org.anarres/parallelgzip --> |
| 284 | <dependency> |
| 285 | <groupId>org.anarres</groupId> |
| 286 | <artifactId>parallelgzip</artifactId> |
Marc Kupietz | e23b6cb | 2020-07-24 16:21:41 +0200 | [diff] [blame] | 287 | <version>1.0.5</version> |
Marc Kupietz | ba7c757 | 2020-07-23 13:49:56 +0200 | [diff] [blame] | 288 | </dependency> |
Marc Kupietz | 6638bb2 | 2020-07-27 12:27:59 +0200 | [diff] [blame] | 289 | <dependency> |
| 290 | <groupId>org.junit.jupiter</groupId> |
| 291 | <artifactId>junit-jupiter</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 292 | <version>5.9.1</version> |
Marc Kupietz | 6638bb2 | 2020-07-27 12:27:59 +0200 | [diff] [blame] | 293 | <scope>test</scope> |
| 294 | </dependency> |
Marc Kupietz | 2ea60bd | 2020-07-28 09:24:43 +0200 | [diff] [blame] | 295 | <dependency> |
| 296 | <groupId>org.bouncycastle</groupId> |
| 297 | <artifactId>bcprov-jdk15on</artifactId> |
Marc Kupietz | b6f4fab | 2022-10-13 12:38:05 +0200 | [diff] [blame] | 298 | <version>1.70</version> |
Marc Kupietz | 2ea60bd | 2020-07-28 09:24:43 +0200 | [diff] [blame] | 299 | </dependency> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 300 | <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/appassembler-maven-plugin --> |
| 301 | <dependency> |
| 302 | <groupId>org.codehaus.mojo</groupId> |
| 303 | <artifactId>appassembler-maven-plugin</artifactId> |
| 304 | <version>2.1.0</version> |
| 305 | </dependency> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 306 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin --> |
| 307 | <dependency> |
| 308 | <groupId>org.apache.maven.plugins</groupId> |
| 309 | <artifactId>maven-surefire-plugin</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 310 | <version>3.0.0-M7</version> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 311 | </dependency> |
Marc Kupietz | ca29d55 | 2020-10-05 09:42:03 +0200 | [diff] [blame] | 312 | <dependency> |
| 313 | <groupId>org.jetbrains</groupId> |
| 314 | <artifactId>annotations</artifactId> |
Marc Kupietz | b6f4fab | 2022-10-13 12:38:05 +0200 | [diff] [blame] | 315 | <version>23.0.0</version> |
Marc Kupietz | ca29d55 | 2020-10-05 09:42:03 +0200 | [diff] [blame] | 316 | <scope>compile</scope> |
| 317 | </dependency> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 318 | <dependency> |
Marc Kupietz | 1b717be | 2021-09-15 16:36:11 +0200 | [diff] [blame] | 319 | <groupId>org.tukaani</groupId> |
| 320 | <artifactId>xz</artifactId> |
| 321 | <version>1.9</version> |
| 322 | </dependency> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 323 | <dependency> |
| 324 | <groupId>org.apache.groovy</groupId> |
| 325 | <artifactId>groovy</artifactId> |
| 326 | <version>4.0.6</version> |
| 327 | </dependency> |
| 328 | |
| 329 | <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-eclipse-batch --> |
| 330 | |
| 331 | <dependency> |
| 332 | <groupId>org.codehaus.gpars</groupId> |
| 333 | <artifactId>gpars</artifactId> |
| 334 | <version>1.2.1</version> |
| 335 | </dependency> |
| 336 | <dependency> |
| 337 | <groupId>org.apache.ivy</groupId> |
| 338 | <artifactId>ivy</artifactId> |
| 339 | <version>2.5.1</version> |
| 340 | <scope>compile</scope> |
| 341 | <optional>true</optional> |
| 342 | </dependency> |
| 343 | <dependency> |
| 344 | <groupId>info.picocli</groupId> |
| 345 | <artifactId>picocli-groovy</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 346 | <version>4.7.0</version> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 347 | </dependency> |
| 348 | <dependency> |
| 349 | <groupId>org.apache.groovy</groupId> |
| 350 | <artifactId>groovy-cli-picocli</artifactId> |
| 351 | <version>4.0.6</version> |
| 352 | </dependency> |
| 353 | |
| 354 | <dependency> |
| 355 | <groupId>commons-cli</groupId> |
| 356 | <artifactId>commons-cli</artifactId> |
Marc Kupietz | b6f601f | 2022-12-01 13:29:26 +0100 | [diff] [blame] | 357 | <version>1.5.0</version> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 358 | </dependency> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 359 | </dependencies> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 360 | |
| 361 | |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 362 | </project> |