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 | fa273a5 | 2022-10-24 18:10:55 +0200 | [diff] [blame] | 9 | <version>2.1.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> |
| 41 | <version>3.1.1</version> |
| 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 | |
| 122 | <plugin> |
| 123 | <artifactId>maven-assembly-plugin</artifactId> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 124 | <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 Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 138 | <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 139 | </manifest> |
| 140 | </archive> |
| 141 | <descriptorRefs> |
| 142 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 143 | </descriptorRefs> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 144 | <appendAssemblyId>false</appendAssemblyId> |
| 145 | </configuration> |
| 146 | </plugin> |
| 147 | |
| 148 | <plugin> |
| 149 | <groupId>org.codehaus.mojo</groupId> |
| 150 | <artifactId>appassembler-maven-plugin</artifactId> |
| 151 | <version>1.10</version> |
| 152 | <executions> |
| 153 | <execution> |
| 154 | <phase>package</phase> |
| 155 | <goals> |
| 156 | <goal>assemble</goal> |
| 157 | </goals> |
| 158 | </execution> |
| 159 | </executions> |
| 160 | <configuration> |
Marc Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 161 | <binFolder>bin</binFolder> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 162 | <extraJvmArguments>-Xmx512000m</extraJvmArguments> |
| 163 | <binFileExtensions> |
Marc Kupietz | 983cfc1 | 2021-10-07 18:54:07 +0200 | [diff] [blame] | 164 | <unix/> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 165 | </binFileExtensions> |
| 166 | <programs> |
| 167 | <program> |
Marc Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 168 | <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
| 169 | <id>totalngrams</id> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 170 | </program> |
| 171 | </programs> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 172 | </configuration> |
| 173 | </plugin> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 174 | <plugin> |
| 175 | <groupId>org.apache.maven.plugins</groupId> |
| 176 | <artifactId>maven-surefire-plugin</artifactId> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 177 | <version>2.22.2</version> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 178 | <configuration> |
Marc Kupietz | 8250c4b | 2022-11-07 14:51:06 +0100 | [diff] [blame] | 179 | <forkCount>1C</forkCount> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 180 | <includes> |
| 181 | <include>**/*Test.java</include> |
| 182 | </includes> |
Marc Kupietz | 8250c4b | 2022-11-07 14:51:06 +0100 | [diff] [blame] | 183 | <argLine>-Xmx32768m</argLine> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 184 | </configuration> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 185 | </plugin> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 186 | </plugins> |
| 187 | </build> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 188 | |
| 189 | <profiles> |
| 190 | <profile> |
| 191 | <id>activate-this-only-outside-intellij</id> |
| 192 | <activation> |
| 193 | <property> |
| 194 | <name>!idea.version</name> |
| 195 | </property> |
| 196 | </activation> |
| 197 | |
| 198 | <build> |
| 199 | <plugins> |
| 200 | <plugin> |
| 201 | <artifactId>maven-compiler-plugin</artifactId> |
| 202 | <version>3.10.1</version> |
| 203 | <configuration> |
| 204 | <compilerId>groovy-eclipse-compiler</compilerId> |
| 205 | <compilerArguments> |
| 206 | <configScript>${project.basedir}/config.groovy</configScript> |
| 207 | </compilerArguments> |
| 208 | </configuration> |
| 209 | <dependencies> |
| 210 | <dependency> |
| 211 | <groupId>org.codehaus.groovy</groupId> |
| 212 | <artifactId>groovy-eclipse-compiler</artifactId> |
| 213 | <version>3.8.0</version> |
| 214 | </dependency> |
| 215 | <dependency> |
| 216 | <groupId>org.codehaus.groovy</groupId> |
| 217 | <artifactId>groovy-eclipse-batch</artifactId> |
| 218 | <version>4.0.6-02</version> |
| 219 | </dependency> |
| 220 | <dependency> |
| 221 | <groupId>org.apache.ivy</groupId> |
| 222 | <artifactId>ivy</artifactId> |
| 223 | <version>2.5.1</version> |
| 224 | </dependency> |
| 225 | </dependencies> |
| 226 | </plugin> |
| 227 | </plugins> |
| 228 | </build> |
| 229 | <dependencies> |
| 230 | <dependency> |
| 231 | <groupId>org.codehaus.groovy</groupId> |
| 232 | <artifactId>groovy-eclipse-compiler</artifactId> |
| 233 | <version>3.8.0</version> |
| 234 | </dependency> |
| 235 | <dependency> |
| 236 | <groupId>org.codehaus.groovy</groupId> |
| 237 | <artifactId>groovy-eclipse-batch</artifactId> |
| 238 | <version>4.0.6-02</version> |
| 239 | </dependency> |
| 240 | </dependencies> |
| 241 | |
| 242 | <repositories> |
| 243 | <repository> |
| 244 | <id>groovy-libs-release-local</id> |
| 245 | <url>https://groovy.jfrog.io/artifactory/plugins-release-local</url> |
| 246 | </repository> |
| 247 | </repositories> |
| 248 | |
| 249 | <pluginRepositories> |
| 250 | <pluginRepository> |
| 251 | <id>groovy-plugins-release-local</id> |
| 252 | <url>https://groovy.jfrog.io/artifactory/plugins-release-local</url> |
| 253 | </pluginRepository> |
| 254 | </pluginRepositories> |
| 255 | </profile> |
| 256 | </profiles> |
| 257 | |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 258 | <dependencies> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 259 | <dependency> |
| 260 | <groupId>info.picocli</groupId> |
| 261 | <artifactId>picocli</artifactId> |
Marc Kupietz | b6f4fab | 2022-10-13 12:38:05 +0200 | [diff] [blame] | 262 | <version>4.6.3</version> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 263 | </dependency> |
Marc Kupietz | ba7c757 | 2020-07-23 13:49:56 +0200 | [diff] [blame] | 264 | <!-- https://mvnrepository.com/artifact/org.anarres/parallelgzip --> |
| 265 | <dependency> |
| 266 | <groupId>org.anarres</groupId> |
| 267 | <artifactId>parallelgzip</artifactId> |
Marc Kupietz | e23b6cb | 2020-07-24 16:21:41 +0200 | [diff] [blame] | 268 | <version>1.0.5</version> |
Marc Kupietz | ba7c757 | 2020-07-23 13:49:56 +0200 | [diff] [blame] | 269 | </dependency> |
Marc Kupietz | 6638bb2 | 2020-07-27 12:27:59 +0200 | [diff] [blame] | 270 | <dependency> |
| 271 | <groupId>org.junit.jupiter</groupId> |
| 272 | <artifactId>junit-jupiter</artifactId> |
Marc Kupietz | b6f4fab | 2022-10-13 12:38:05 +0200 | [diff] [blame] | 273 | <version>5.9.0</version> |
Marc Kupietz | 6638bb2 | 2020-07-27 12:27:59 +0200 | [diff] [blame] | 274 | <scope>test</scope> |
| 275 | </dependency> |
Marc Kupietz | 2ea60bd | 2020-07-28 09:24:43 +0200 | [diff] [blame] | 276 | <dependency> |
| 277 | <groupId>org.bouncycastle</groupId> |
| 278 | <artifactId>bcprov-jdk15on</artifactId> |
Marc Kupietz | b6f4fab | 2022-10-13 12:38:05 +0200 | [diff] [blame] | 279 | <version>1.70</version> |
Marc Kupietz | 2ea60bd | 2020-07-28 09:24:43 +0200 | [diff] [blame] | 280 | </dependency> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 281 | <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/appassembler-maven-plugin --> |
| 282 | <dependency> |
| 283 | <groupId>org.codehaus.mojo</groupId> |
| 284 | <artifactId>appassembler-maven-plugin</artifactId> |
| 285 | <version>2.1.0</version> |
| 286 | </dependency> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 287 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin --> |
| 288 | <dependency> |
| 289 | <groupId>org.apache.maven.plugins</groupId> |
| 290 | <artifactId>maven-surefire-plugin</artifactId> |
| 291 | <version>2.22.2</version> |
| 292 | </dependency> |
Marc Kupietz | ca29d55 | 2020-10-05 09:42:03 +0200 | [diff] [blame] | 293 | <dependency> |
| 294 | <groupId>org.jetbrains</groupId> |
| 295 | <artifactId>annotations</artifactId> |
Marc Kupietz | b6f4fab | 2022-10-13 12:38:05 +0200 | [diff] [blame] | 296 | <version>23.0.0</version> |
Marc Kupietz | ca29d55 | 2020-10-05 09:42:03 +0200 | [diff] [blame] | 297 | <scope>compile</scope> |
| 298 | </dependency> |
Marc Kupietz | f14c096 | 2021-04-07 19:07:20 +0200 | [diff] [blame] | 299 | <dependency> |
| 300 | <groupId>junit</groupId> |
| 301 | <artifactId>junit</artifactId> |
Marc Kupietz | b6f4fab | 2022-10-13 12:38:05 +0200 | [diff] [blame] | 302 | <version>4.13.2</version> |
Marc Kupietz | f14c096 | 2021-04-07 19:07:20 +0200 | [diff] [blame] | 303 | <scope>test</scope> |
| 304 | </dependency> |
Marc Kupietz | 1b717be | 2021-09-15 16:36:11 +0200 | [diff] [blame] | 305 | <dependency> |
| 306 | <groupId>org.tukaani</groupId> |
| 307 | <artifactId>xz</artifactId> |
| 308 | <version>1.9</version> |
| 309 | </dependency> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 310 | <dependency> |
| 311 | <groupId>org.apache.groovy</groupId> |
| 312 | <artifactId>groovy</artifactId> |
| 313 | <version>4.0.6</version> |
| 314 | </dependency> |
| 315 | |
| 316 | <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-eclipse-batch --> |
| 317 | |
| 318 | <dependency> |
| 319 | <groupId>org.codehaus.gpars</groupId> |
| 320 | <artifactId>gpars</artifactId> |
| 321 | <version>1.2.1</version> |
| 322 | </dependency> |
| 323 | <dependency> |
| 324 | <groupId>org.apache.ivy</groupId> |
| 325 | <artifactId>ivy</artifactId> |
| 326 | <version>2.5.1</version> |
| 327 | <scope>compile</scope> |
| 328 | <optional>true</optional> |
| 329 | </dependency> |
| 330 | <dependency> |
| 331 | <groupId>info.picocli</groupId> |
| 332 | <artifactId>picocli-groovy</artifactId> |
| 333 | <version>4.6.3</version> |
| 334 | </dependency> |
| 335 | <dependency> |
| 336 | <groupId>org.apache.groovy</groupId> |
| 337 | <artifactId>groovy-cli-picocli</artifactId> |
| 338 | <version>4.0.6</version> |
| 339 | </dependency> |
| 340 | |
| 341 | <dependency> |
| 342 | <groupId>commons-cli</groupId> |
| 343 | <artifactId>commons-cli</artifactId> |
| 344 | <version>1.2</version> |
| 345 | </dependency> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 346 | </dependencies> |
Marc Kupietz | 869bfb9 | 2022-11-06 20:38:40 +0100 | [diff] [blame] | 347 | |
| 348 | |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 349 | </project> |