blob: f1e75aa784a2c834e0efa0192fbe2de802b5bb06 [file] [log] [blame]
Matthias Andreas Benkardb291c362020-11-22 10:22:27 +01001<?xml version="1.0"?>
2<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
5 <modelVersion>4.0.0</modelVersion>
6
7 <groupId>eu.mulk</groupId>
8 <artifactId>aendggner</artifactId>
9 <version>${revision}</version>
10
11 <properties>
12 <maven.compiler.parameters>true</maven.compiler.parameters>
13 <maven.compiler.source>15</maven.compiler.source>
14 <maven.compiler.target>15</maven.compiler.target>
15
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
18
19 <enforced.maven-version>3.6.2</enforced.maven-version>
20
21 <antrun-plugin.version>3.0.0</antrun-plugin.version>
22 <compiler-plugin.version>3.8.1</compiler-plugin.version>
23 <enforcer-plugin.version>3.0.0-M3</enforcer-plugin.version>
24 <exec-plugin.version>3.0.0</exec-plugin.version>
25 <processor-plugin.version>4.2</processor-plugin.version>
26 <resources-plugin.version>3.2.0</resources-plugin.version>
27 <shade-plugin.version>3.2.4</shade-plugin.version>
28 <spotless-plugin.version>2.4.1</spotless-plugin.version>
29
30 <basic-annotations.version>0.2.0</basic-annotations.version>
31 <findbugs-jsr305.version>3.0.2</findbugs-jsr305.version>
32 <google.java.format.version>1.8</google.java.format.version>
Matthias Andreas Benkard31a2c502020-11-22 14:36:27 +010033 <itext7.version>7.1.13</itext7.version>
Matthias Andreas Benkardb291c362020-11-22 10:22:27 +010034 <kotlin-annotations.version>1.4.10</kotlin-annotations.version>
Matthias Andreas Benkard31a2c502020-11-22 14:36:27 +010035 <lanterna.version>3.0.4</lanterna.version>
Matthias Andreas Benkardb291c362020-11-22 10:22:27 +010036 <picocli.version>4.3.2</picocli.version>
Matthias Andreas Benkard31a2c502020-11-22 14:36:27 +010037 <pdfocr.version>1.0.2</pdfocr.version>
38 <term4j.version>0.4.0</term4j.version>
Matthias Andreas Benkardb291c362020-11-22 10:22:27 +010039 </properties>
40
41 <dependencies>
42
43 <!-- Annotations -->
44 <dependency>
45 <groupId>pl.tlinkowski.annotation</groupId>
46 <artifactId>pl.tlinkowski.annotation.basic</artifactId>
47 <version>${basic-annotations.version}</version>
48 <scope>provided</scope>
49 </dependency>
50 <dependency>
51 <groupId>com.google.code.findbugs</groupId>
52 <artifactId>jsr305</artifactId>
53 <version>${findbugs-jsr305.version}</version>
54 <scope>provided</scope>
55 </dependency>
56 <dependency>
57 <groupId>org.jetbrains.kotlin</groupId>
58 <artifactId>kotlin-annotations-jvm</artifactId>
59 <version>${kotlin-annotations.version}</version>
60 <scope>provided</scope>
61 </dependency>
62
Matthias Andreas Benkard31a2c502020-11-22 14:36:27 +010063 <!-- Command line parsing -->
Matthias Andreas Benkardb291c362020-11-22 10:22:27 +010064 <dependency>
65 <groupId>info.picocli</groupId>
66 <artifactId>picocli</artifactId>
67 <version>${picocli.version}</version>
68 </dependency>
69
Matthias Andreas Benkard31a2c502020-11-22 14:36:27 +010070 <!-- PDF manipulation -->
71 <dependency>
72 <groupId>com.itextpdf</groupId>
73 <artifactId>itext7-core</artifactId>
74 <version>${itext7.version}</version>
75 <type>pom</type>
76 </dependency>
77 <dependency>
78 <groupId>com.itextpdf</groupId>
79 <artifactId>pdfocr-root</artifactId>
80 <version>${pdfocr.version}</version>
81 <type>pom</type>
82 </dependency>
83 <dependency>
84 <groupId>com.itextpdf</groupId>
85 <artifactId>pdfocr-api</artifactId>
86 <version>${pdfocr.version}</version>
87 </dependency>
88 <dependency>
89 <groupId>com.itextpdf</groupId>
90 <artifactId>pdfocr-tesseract4</artifactId>
91 <version>${pdfocr.version}</version>
92 </dependency>
93
94 <!-- Terminal output -->
95 <dependency>
96 <groupId>io.github.dgroup</groupId>
97 <artifactId>term4j</artifactId>
98 <version>${term4j.version}</version>
99 </dependency>
100 <dependency>
101 <groupId>com.googlecode.lanterna</groupId>
102 <artifactId>lanterna</artifactId>
103 <version>${lanterna.version}</version>
104 </dependency>
105
Matthias Andreas Benkardb291c362020-11-22 10:22:27 +0100106 </dependencies>
107
108 <build>
109
110 <pluginManagement>
111 <plugins>
112
113 <plugin>
114 <groupId>org.codehaus.mojo</groupId>
115 <artifactId>versions-maven-plugin</artifactId>
116 <configuration>
117 <generateBackupPoms>false</generateBackupPoms>
118 </configuration>
119 </plugin>
120
121 </plugins>
122 </pluginManagement>
123
124 <plugins>
125
126 <!-- Compiler -->
127 <plugin>
128 <artifactId>maven-compiler-plugin</artifactId>
129 <version>${compiler-plugin.version}</version>
130 </plugin>
131
132 <!-- Resources -->
133 <plugin>
134 <artifactId>maven-resources-plugin</artifactId>
135 <version>${resources-plugin.version}</version>
136 </plugin>
137
138 <!-- Google Java Code Formatter, for enforcing style conventions -->
139 <plugin>
140 <groupId>com.diffplug.spotless</groupId>
141 <artifactId>spotless-maven-plugin</artifactId>
142 <version>${spotless-plugin.version}</version>
143 <configuration>
144 <java>
145 <removeUnusedImports/>
146 <importOrder>
147 <order>java,javax,org,com,de,io,dagger,eu.mulk,</order>
148 </importOrder>
149 <googleJavaFormat>
150 <version>${google.java.format.version}</version>
151 <style>GOOGLE</style>
152 </googleJavaFormat>
153 </java>
154 </configuration>
155 </plugin>
156
157 <plugin>
158 <artifactId>maven-antrun-plugin</artifactId>
159 <version>${antrun-plugin.version}</version>
160 </plugin>
161
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-enforcer-plugin</artifactId>
165 <version>${enforcer-plugin.version}</version>
166 <executions>
167 <execution>
168 <id>enforce-maven</id>
169 <goals>
170 <goal>enforce</goal>
171 </goals>
172 <configuration>
173 <rules>
174 <requireMavenVersion>
175 <version>${enforced.maven-version}</version>
176 </requireMavenVersion>
177 </rules>
178 </configuration>
179 </execution>
180 </executions>
181 </plugin>
182
183 <plugin>
184 <groupId>org.codehaus.mojo</groupId>
185 <artifactId>exec-maven-plugin</artifactId>
186 <version>${exec-plugin.version}</version>
187 <configuration>
188 <mainClass>eu.mulk.aendggner.AendGgner</mainClass>
189 </configuration>
190 </plugin>
191
192 <plugin>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-shade-plugin</artifactId>
195 <version>${shade-plugin.version}</version>
196 <executions>
197 <execution>
198 <goals>
199 <goal>shade</goal>
200 </goals>
201 <configuration>
202 <shadedArtifactAttached>true</shadedArtifactAttached>
203 <transformers>
204 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
205 <mainClass>eu.mulk.aendggner.AendGgner</mainClass>
206 </transformer>
207 </transformers>
208 </configuration>
209 </execution>
210 </executions>
211 </plugin>
212
213 </plugins>
214
215 </build>
216
217</project>