blob: 438eedadd46919afb85750a8f4ad238a729af25a [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 Kupietzb66b8322020-07-29 17:17:38 +02009 <version>1.6</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>
66 <mainClass>org.ids_mannheim.TotalNGram</mainClass>
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>
137 <mainClass>org.ids_mannheim.TotalNGram</mainClass>
138 </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>
160 <binFolder>${user.home}/bin/</binFolder>
161 <extraJvmArguments>-Xmx512000m</extraJvmArguments>
162 <binFileExtensions>
163 <unix></unix>
164 </binFileExtensions>
165 <programs>
166 <program>
167 <mainClass>org.ids_mannheim.TotalNGram</mainClass>
168 <id>totalngram</id>
169 </program>
170 </programs>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200171 </configuration>
172 </plugin>
173 </plugins>
174 </build>
175 <dependencies>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200176 <dependency>
177 <groupId>info.picocli</groupId>
178 <artifactId>picocli</artifactId>
179 <version>4.2.0</version>
180 </dependency>
Marc Kupietzba7c7572020-07-23 13:49:56 +0200181 <!-- https://mvnrepository.com/artifact/org.anarres/parallelgzip -->
182 <dependency>
183 <groupId>org.anarres</groupId>
184 <artifactId>parallelgzip</artifactId>
Marc Kupietze23b6cb2020-07-24 16:21:41 +0200185 <version>1.0.5</version>
Marc Kupietzba7c7572020-07-23 13:49:56 +0200186 </dependency>
Marc Kupietz6638bb22020-07-27 12:27:59 +0200187 <dependency>
188 <groupId>org.junit.jupiter</groupId>
189 <artifactId>junit-jupiter</artifactId>
190 <version>RELEASE</version>
191 <scope>test</scope>
192 </dependency>
Marc Kupietz2ea60bd2020-07-28 09:24:43 +0200193 <dependency>
194 <groupId>org.bouncycastle</groupId>
195 <artifactId>bcprov-jdk15on</artifactId>
196 <version>1.66</version>
197 </dependency>
Marc Kupietzb66b8322020-07-29 17:17:38 +0200198 <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/appassembler-maven-plugin -->
199 <dependency>
200 <groupId>org.codehaus.mojo</groupId>
201 <artifactId>appassembler-maven-plugin</artifactId>
202 <version>2.1.0</version>
203 </dependency>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200204 </dependencies>
205</project>