blob: 6e1cdc9eeceaae757830881deb5d5f41907b4b7e [file] [log] [blame]
Marc Kupietza37cc9f2020-07-20 09:12:20 +02001<?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 Kupietzca29d552020-10-05 09:42:03 +02009 <version>1.7</version>
Marc Kupietza37cc9f2020-07-20 09:12:20 +020010
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 Kupietzbd62aa02020-07-22 08:48:40 +020025 <resource>
26 <directory>src/main/resources</directory>
27 <includes>
28 <include>**/*.properties</include>
29 </includes>
30 </resource>
Marc Kupietza37cc9f2020-07-20 09:12:20 +020031 </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 Kupietzaaf46f12020-07-29 18:00:57 +020066 <mainClass>org.ids_mannheim.TotalNGrams</mainClass>
Marc Kupietza37cc9f2020-07-20 09:12:20 +020067 </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 Kupietzaaf46f12020-07-29 18:00:57 +0200137 <mainClass>org.ids_mannheim.TotalNGrams</mainClass>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200138 </manifest>
139 </archive>
140 <descriptorRefs>
141 <descriptorRef>jar-with-dependencies</descriptorRef>
142 </descriptorRefs>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200143 <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 Kupietzaaf46f12020-07-29 18:00:57 +0200160 <binFolder>bin</binFolder>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200161 <extraJvmArguments>-Xmx512000m</extraJvmArguments>
162 <binFileExtensions>
163 <unix></unix>
164 </binFileExtensions>
165 <programs>
166 <program>
Marc Kupietzaaf46f12020-07-29 18:00:57 +0200167 <mainClass>org.ids_mannheim.TotalNGrams</mainClass>
168 <id>totalngrams</id>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200169 </program>
170 </programs>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200171 </configuration>
172 </plugin>
Marc Kupietzcf6ec7d2020-07-29 18:00:08 +0200173 <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 Kupietza37cc9f2020-07-20 09:12:20 +0200179 </plugins>
180 </build>
181 <dependencies>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200182 <dependency>
183 <groupId>info.picocli</groupId>
184 <artifactId>picocli</artifactId>
185 <version>4.2.0</version>
186 </dependency>
Marc Kupietzba7c7572020-07-23 13:49:56 +0200187 <!-- https://mvnrepository.com/artifact/org.anarres/parallelgzip -->
188 <dependency>
189 <groupId>org.anarres</groupId>
190 <artifactId>parallelgzip</artifactId>
Marc Kupietze23b6cb2020-07-24 16:21:41 +0200191 <version>1.0.5</version>
Marc Kupietzba7c7572020-07-23 13:49:56 +0200192 </dependency>
Marc Kupietz6638bb22020-07-27 12:27:59 +0200193 <dependency>
194 <groupId>org.junit.jupiter</groupId>
195 <artifactId>junit-jupiter</artifactId>
Marc Kupietzcf6ec7d2020-07-29 18:00:08 +0200196 <version>5.7.0-M1</version>
Marc Kupietz6638bb22020-07-27 12:27:59 +0200197 <scope>test</scope>
198 </dependency>
Marc Kupietz2ea60bd2020-07-28 09:24:43 +0200199 <dependency>
200 <groupId>org.bouncycastle</groupId>
201 <artifactId>bcprov-jdk15on</artifactId>
202 <version>1.66</version>
203 </dependency>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200204 <!-- 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 Kupietzcf6ec7d2020-07-29 18:00:08 +0200210 <!-- 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 Kupietzca29d552020-10-05 09:42:03 +0200216 <dependency>
217 <groupId>org.jetbrains</groupId>
218 <artifactId>annotations</artifactId>
219 <version>RELEASE</version>
220 <scope>compile</scope>
221 </dependency>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200222 </dependencies>
223</project>