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 | 014cfc5 | 2022-10-13 12:38:05 +0200 | [diff] [blame^] | 9 | <version>2.0.1</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> |
| 13 | <maven.compiler.release>11</maven.compiler.release> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 14 | </properties> |
| 15 | |
| 16 | <build> |
| 17 | <resources> |
| 18 | <resource> |
| 19 | <directory>src/main/xml</directory> |
| 20 | <includes> |
| 21 | <include>**/*.xml</include> |
| 22 | </includes> |
| 23 | </resource> |
Marc Kupietz | bd62aa0 | 2020-07-22 08:48:40 +0200 | [diff] [blame] | 24 | <resource> |
| 25 | <directory>src/main/resources</directory> |
| 26 | <includes> |
| 27 | <include>**/*.properties</include> |
| 28 | </includes> |
| 29 | </resource> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 30 | </resources> |
| 31 | <plugins> |
| 32 | <plugin> |
| 33 | <groupId>org.apache.maven.plugins</groupId> |
| 34 | <artifactId>maven-javadoc-plugin</artifactId> |
| 35 | <version>3.1.1</version> |
| 36 | <configuration> |
| 37 | <failOnError>false</failOnError> |
| 38 | <source>${maven.compiler.release}</source> |
| 39 | <javadocExecutable>${java.home}/bin/javadoc |
| 40 | </javadocExecutable> |
| 41 | </configuration> |
| 42 | <executions> |
| 43 | <execution> |
| 44 | <id>attach-javadocs</id> |
| 45 | <goals> |
| 46 | <goal>javadoc-no-fork</goal> |
| 47 | <goal>jar</goal> |
| 48 | </goals> |
| 49 | <configuration> |
| 50 | <failOnError>false</failOnError> |
| 51 | </configuration> |
| 52 | </execution> |
| 53 | </executions> |
| 54 | </plugin> |
| 55 | <plugin> |
| 56 | <groupId>org.apache.maven.plugins</groupId> |
| 57 | <artifactId>maven-jar-plugin</artifactId> |
| 58 | <version>3.2.0</version> |
| 59 | <configuration> |
| 60 | <archive> |
| 61 | <index>true</index> |
| 62 | <manifest> |
| 63 | <addClasspath>true</addClasspath> |
| 64 | <classpathPrefix>dependency/</classpathPrefix> |
Marc Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 65 | <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 66 | </manifest> |
| 67 | </archive> |
| 68 | </configuration> |
| 69 | </plugin> |
| 70 | <plugin> |
| 71 | <groupId>org.apache.maven.plugins</groupId> |
| 72 | <artifactId>maven-compiler-plugin</artifactId> |
| 73 | <version>3.8.1</version> |
| 74 | <configuration> |
| 75 | <!-- or whatever version you use --> |
| 76 | <release>${maven.compiler.release}</release> |
| 77 | <source>${maven.compiler.release}</source> |
| 78 | <target>${maven.compiler.release}</target> |
| 79 | <showDeprecation>true</showDeprecation> |
| 80 | <annotationProcessorPaths> |
| 81 | <path> |
| 82 | <groupId>info.picocli</groupId> |
| 83 | <artifactId>picocli-codegen</artifactId> |
| 84 | <version>4.2.0</version> |
| 85 | </path> |
| 86 | </annotationProcessorPaths> |
| 87 | <compilerArgs> |
| 88 | <arg>-Aproject=${project.groupId}/${project.artifactId} |
| 89 | </arg> |
| 90 | </compilerArgs> |
| 91 | </configuration> |
| 92 | <executions> |
| 93 | <!-- Replacing default-compile as it is treated specially by maven --> |
| 94 | <execution> |
| 95 | <id>default-compile</id> |
| 96 | <phase>none</phase> |
| 97 | </execution> |
| 98 | <!-- Replacing default-testCompile as it is treated specially by |
| 99 | maven --> |
| 100 | <execution> |
| 101 | <id>default-testCompile</id> |
| 102 | <phase>none</phase> |
| 103 | </execution> |
| 104 | <execution> |
| 105 | <id>java-compile</id> |
| 106 | <phase>compile</phase> |
| 107 | <goals> |
| 108 | <goal>compile</goal> |
| 109 | </goals> |
| 110 | </execution> |
| 111 | <execution> |
| 112 | <id>java-test-compile</id> |
| 113 | <phase>test-compile</phase> |
| 114 | <goals> |
| 115 | <goal>testCompile</goal> |
| 116 | </goals> |
| 117 | </execution> |
| 118 | </executions> |
| 119 | </plugin> |
| 120 | <plugin> |
| 121 | <artifactId>maven-assembly-plugin</artifactId> |
| 122 | <executions> |
| 123 | <execution> |
| 124 | <phase>package</phase> |
| 125 | <goals> |
| 126 | <goal>single</goal> |
| 127 | </goals> |
| 128 | </execution> |
| 129 | </executions> |
| 130 | <configuration> |
| 131 | <archive> |
| 132 | <index>true</index> |
| 133 | <manifest> |
| 134 | <addClasspath>true</addClasspath> |
| 135 | <classpathPrefix>dependency/</classpathPrefix> |
Marc Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 136 | <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 137 | </manifest> |
| 138 | </archive> |
| 139 | <descriptorRefs> |
| 140 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 141 | </descriptorRefs> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 142 | <appendAssemblyId>false</appendAssemblyId> |
| 143 | </configuration> |
| 144 | </plugin> |
| 145 | |
| 146 | <plugin> |
| 147 | <groupId>org.codehaus.mojo</groupId> |
| 148 | <artifactId>appassembler-maven-plugin</artifactId> |
| 149 | <version>1.10</version> |
| 150 | <executions> |
| 151 | <execution> |
| 152 | <phase>package</phase> |
| 153 | <goals> |
| 154 | <goal>assemble</goal> |
| 155 | </goals> |
| 156 | </execution> |
| 157 | </executions> |
| 158 | <configuration> |
Marc Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 159 | <binFolder>bin</binFolder> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 160 | <extraJvmArguments>-Xmx512000m</extraJvmArguments> |
| 161 | <binFileExtensions> |
Marc Kupietz | 983cfc1 | 2021-10-07 18:54:07 +0200 | [diff] [blame] | 162 | <unix/> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 163 | </binFileExtensions> |
| 164 | <programs> |
| 165 | <program> |
Marc Kupietz | aaf46f1 | 2020-07-29 18:00:57 +0200 | [diff] [blame] | 166 | <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
| 167 | <id>totalngrams</id> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 168 | </program> |
| 169 | </programs> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 170 | </configuration> |
| 171 | </plugin> |
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> |
| 175 | <!-- JUnit 5 requires Surefire version 2.22.0 or higher --> |
| 176 | <version>2.22.2</version> |
| 177 | </plugin> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 178 | </plugins> |
| 179 | </build> |
| 180 | <dependencies> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 181 | <dependency> |
| 182 | <groupId>info.picocli</groupId> |
| 183 | <artifactId>picocli</artifactId> |
| 184 | <version>4.2.0</version> |
| 185 | </dependency> |
Marc Kupietz | ba7c757 | 2020-07-23 13:49:56 +0200 | [diff] [blame] | 186 | <!-- https://mvnrepository.com/artifact/org.anarres/parallelgzip --> |
| 187 | <dependency> |
| 188 | <groupId>org.anarres</groupId> |
| 189 | <artifactId>parallelgzip</artifactId> |
Marc Kupietz | e23b6cb | 2020-07-24 16:21:41 +0200 | [diff] [blame] | 190 | <version>1.0.5</version> |
Marc Kupietz | ba7c757 | 2020-07-23 13:49:56 +0200 | [diff] [blame] | 191 | </dependency> |
Marc Kupietz | 6638bb2 | 2020-07-27 12:27:59 +0200 | [diff] [blame] | 192 | <dependency> |
| 193 | <groupId>org.junit.jupiter</groupId> |
| 194 | <artifactId>junit-jupiter</artifactId> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 195 | <version>5.7.0-M1</version> |
Marc Kupietz | 6638bb2 | 2020-07-27 12:27:59 +0200 | [diff] [blame] | 196 | <scope>test</scope> |
| 197 | </dependency> |
Marc Kupietz | 2ea60bd | 2020-07-28 09:24:43 +0200 | [diff] [blame] | 198 | <dependency> |
| 199 | <groupId>org.bouncycastle</groupId> |
| 200 | <artifactId>bcprov-jdk15on</artifactId> |
| 201 | <version>1.66</version> |
| 202 | </dependency> |
Marc Kupietz | b66b832 | 2020-07-29 17:17:38 +0200 | [diff] [blame] | 203 | <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/appassembler-maven-plugin --> |
| 204 | <dependency> |
| 205 | <groupId>org.codehaus.mojo</groupId> |
| 206 | <artifactId>appassembler-maven-plugin</artifactId> |
| 207 | <version>2.1.0</version> |
| 208 | </dependency> |
Marc Kupietz | cf6ec7d | 2020-07-29 18:00:08 +0200 | [diff] [blame] | 209 | <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin --> |
| 210 | <dependency> |
| 211 | <groupId>org.apache.maven.plugins</groupId> |
| 212 | <artifactId>maven-surefire-plugin</artifactId> |
| 213 | <version>2.22.2</version> |
| 214 | </dependency> |
Marc Kupietz | ca29d55 | 2020-10-05 09:42:03 +0200 | [diff] [blame] | 215 | <dependency> |
| 216 | <groupId>org.jetbrains</groupId> |
| 217 | <artifactId>annotations</artifactId> |
Marc Kupietz | f14c096 | 2021-04-07 19:07:20 +0200 | [diff] [blame] | 218 | <version>20.1.0</version> |
Marc Kupietz | ca29d55 | 2020-10-05 09:42:03 +0200 | [diff] [blame] | 219 | <scope>compile</scope> |
| 220 | </dependency> |
Marc Kupietz | f14c096 | 2021-04-07 19:07:20 +0200 | [diff] [blame] | 221 | <dependency> |
| 222 | <groupId>junit</groupId> |
| 223 | <artifactId>junit</artifactId> |
| 224 | <version>4.12</version> |
| 225 | <scope>test</scope> |
| 226 | </dependency> |
Marc Kupietz | 1b717be | 2021-09-15 16:36:11 +0200 | [diff] [blame] | 227 | <dependency> |
| 228 | <groupId>org.tukaani</groupId> |
| 229 | <artifactId>xz</artifactId> |
| 230 | <version>1.9</version> |
| 231 | </dependency> |
Marc Kupietz | a37cc9f | 2020-07-20 09:12:20 +0200 | [diff] [blame] | 232 | </dependencies> |
| 233 | </project> |