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