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