blob: 308e1c23fe0ec61a732acdf92835e9082391cace [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>
9 <version>1.0-SNAPSHOT</version>
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>
25 </resources>
26 <plugins>
27 <plugin>
28 <groupId>org.apache.maven.plugins</groupId>
29 <artifactId>maven-javadoc-plugin</artifactId>
30 <version>3.1.1</version>
31 <configuration>
32 <failOnError>false</failOnError>
33 <source>${maven.compiler.release}</source>
34 <javadocExecutable>${java.home}/bin/javadoc
35 </javadocExecutable>
36 </configuration>
37 <executions>
38 <execution>
39 <id>attach-javadocs</id>
40 <goals>
41 <goal>javadoc-no-fork</goal>
42 <goal>jar</goal>
43 </goals>
44 <configuration>
45 <failOnError>false</failOnError>
46 </configuration>
47 </execution>
48 </executions>
49 </plugin>
50 <plugin>
51 <groupId>org.apache.maven.plugins</groupId>
52 <artifactId>maven-jar-plugin</artifactId>
53 <version>3.2.0</version>
54 <configuration>
55 <archive>
56 <index>true</index>
57 <manifest>
58 <addClasspath>true</addClasspath>
59 <classpathPrefix>dependency/</classpathPrefix>
60 <mainClass>org.ids_mannheim.TotalNGram</mainClass>
61 </manifest>
62 </archive>
63 </configuration>
64 </plugin>
65 <plugin>
66 <groupId>org.apache.maven.plugins</groupId>
67 <artifactId>maven-compiler-plugin</artifactId>
68 <version>3.8.1</version>
69 <configuration>
70 <!-- or whatever version you use -->
71 <release>${maven.compiler.release}</release>
72 <source>${maven.compiler.release}</source>
73 <target>${maven.compiler.release}</target>
74 <showDeprecation>true</showDeprecation>
75 <annotationProcessorPaths>
76 <path>
77 <groupId>info.picocli</groupId>
78 <artifactId>picocli-codegen</artifactId>
79 <version>4.2.0</version>
80 </path>
81 </annotationProcessorPaths>
82 <compilerArgs>
83 <arg>-Aproject=${project.groupId}/${project.artifactId}
84 </arg>
85 </compilerArgs>
86 </configuration>
87 <executions>
88 <!-- Replacing default-compile as it is treated specially by maven -->
89 <execution>
90 <id>default-compile</id>
91 <phase>none</phase>
92 </execution>
93 <!-- Replacing default-testCompile as it is treated specially by
94 maven -->
95 <execution>
96 <id>default-testCompile</id>
97 <phase>none</phase>
98 </execution>
99 <execution>
100 <id>java-compile</id>
101 <phase>compile</phase>
102 <goals>
103 <goal>compile</goal>
104 </goals>
105 </execution>
106 <execution>
107 <id>java-test-compile</id>
108 <phase>test-compile</phase>
109 <goals>
110 <goal>testCompile</goal>
111 </goals>
112 </execution>
113 </executions>
114 </plugin>
115 <plugin>
116 <artifactId>maven-assembly-plugin</artifactId>
117 <executions>
118 <execution>
119 <phase>package</phase>
120 <goals>
121 <goal>single</goal>
122 </goals>
123 </execution>
124 </executions>
125 <configuration>
126 <archive>
127 <index>true</index>
128 <manifest>
129 <addClasspath>true</addClasspath>
130 <classpathPrefix>dependency/</classpathPrefix>
131 <mainClass>org.ids_mannheim.TotalNGram</mainClass>
132 </manifest>
133 </archive>
134 <descriptorRefs>
135 <descriptorRef>jar-with-dependencies</descriptorRef>
136 </descriptorRefs>
137 </configuration>
138 </plugin>
139 </plugins>
140 </build>
141 <dependencies>
142 <!-- https://mvnrepository.com/artifact/gnu.getopt/java-getopt -->
143 <dependency>
144 <groupId>info.picocli</groupId>
145 <artifactId>picocli</artifactId>
146 <version>4.2.0</version>
147 </dependency>
148 <dependency>
149 <groupId>com.vdurmont</groupId>
150 <artifactId>etaprinter</artifactId>
151 <version>2.0.0</version>
152 </dependency>
Marc Kupietz0184f9c2020-07-20 16:56:25 +0200153 <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-collections4 -->
154 <dependency>
155 <groupId>org.apache.commons</groupId>
156 <artifactId>commons-collections4</artifactId>
157 <version>4.1</version>
158 </dependency>
Marc Kupietza37cc9f2020-07-20 09:12:20 +0200159 </dependencies>
160</project>