blob: 07b65a5fdb3a609e55494039a40b3da25e4af33f [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 Kupietzf14c0962021-04-07 19:07:20 +02009 <version>1.9.900</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>
Marc Kupietza37cc9f2020-07-20 09:12:20 +020014 </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 Kupietzbd62aa02020-07-22 08:48:40 +020024 <resource>
25 <directory>src/main/resources</directory>
26 <includes>
27 <include>**/*.properties</include>
28 </includes>
29 </resource>
Marc Kupietza37cc9f2020-07-20 09:12:20 +020030 </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 Kupietzaaf46f12020-07-29 18:00:57 +020065 <mainClass>org.ids_mannheim.TotalNGrams</mainClass>
Marc Kupietza37cc9f2020-07-20 09:12:20 +020066 </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 Kupietzaaf46f12020-07-29 18:00:57 +0200136 <mainClass>org.ids_mannheim.TotalNGrams</mainClass>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200137 </manifest>
138 </archive>
139 <descriptorRefs>
140 <descriptorRef>jar-with-dependencies</descriptorRef>
141 </descriptorRefs>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200142 <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 Kupietzaaf46f12020-07-29 18:00:57 +0200159 <binFolder>bin</binFolder>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200160 <extraJvmArguments>-Xmx512000m</extraJvmArguments>
161 <binFileExtensions>
162 <unix></unix>
163 </binFileExtensions>
164 <programs>
165 <program>
Marc Kupietzaaf46f12020-07-29 18:00:57 +0200166 <mainClass>org.ids_mannheim.TotalNGrams</mainClass>
167 <id>totalngrams</id>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200168 </program>
169 </programs>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200170 </configuration>
171 </plugin>
Marc Kupietzcf6ec7d2020-07-29 18:00:08 +0200172 <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 Kupietza37cc9f2020-07-20 09:12:20 +0200178 </plugins>
179 </build>
180 <dependencies>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200181 <dependency>
182 <groupId>info.picocli</groupId>
183 <artifactId>picocli</artifactId>
184 <version>4.2.0</version>
185 </dependency>
Marc Kupietzba7c7572020-07-23 13:49:56 +0200186 <!-- https://mvnrepository.com/artifact/org.anarres/parallelgzip -->
187 <dependency>
188 <groupId>org.anarres</groupId>
189 <artifactId>parallelgzip</artifactId>
Marc Kupietze23b6cb2020-07-24 16:21:41 +0200190 <version>1.0.5</version>
Marc Kupietzba7c7572020-07-23 13:49:56 +0200191 </dependency>
Marc Kupietz6638bb22020-07-27 12:27:59 +0200192 <dependency>
193 <groupId>org.junit.jupiter</groupId>
194 <artifactId>junit-jupiter</artifactId>
Marc Kupietzcf6ec7d2020-07-29 18:00:08 +0200195 <version>5.7.0-M1</version>
Marc Kupietz6638bb22020-07-27 12:27:59 +0200196 <scope>test</scope>
197 </dependency>
Marc Kupietz2ea60bd2020-07-28 09:24:43 +0200198 <dependency>
199 <groupId>org.bouncycastle</groupId>
200 <artifactId>bcprov-jdk15on</artifactId>
201 <version>1.66</version>
202 </dependency>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200203 <!-- 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 Kupietzcf6ec7d2020-07-29 18:00:08 +0200209 <!-- 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 Kupietzca29d552020-10-05 09:42:03 +0200215 <dependency>
216 <groupId>org.jetbrains</groupId>
217 <artifactId>annotations</artifactId>
Marc Kupietzf14c0962021-04-07 19:07:20 +0200218 <version>20.1.0</version>
Marc Kupietzca29d552020-10-05 09:42:03 +0200219 <scope>compile</scope>
220 </dependency>
Marc Kupietzf14c0962021-04-07 19:07:20 +0200221 <dependency>
222 <groupId>junit</groupId>
223 <artifactId>junit</artifactId>
224 <version>4.12</version>
225 <scope>test</scope>
226 </dependency>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200227 </dependencies>
228</project>