Matthias Andreas Benkard | b291c36 | 2020-11-22 10:22:27 +0100 | [diff] [blame] | 1 | <?xml version="1.0"?> |
Matthias Andreas Benkard | 545aeb6 | 2020-12-06 15:16:22 +0100 | [diff] [blame] | 2 | <project |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| 4 | xmlns="http://maven.apache.org/POM/4.0.0" |
| 5 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
Matthias Andreas Benkard | b291c36 | 2020-11-22 10:22:27 +0100 | [diff] [blame] | 6 | |
| 7 | <modelVersion>4.0.0</modelVersion> |
| 8 | |
| 9 | <groupId>eu.mulk</groupId> |
| 10 | <artifactId>aendggner</artifactId> |
| 11 | <version>${revision}</version> |
| 12 | |
| 13 | <properties> |
| 14 | <maven.compiler.parameters>true</maven.compiler.parameters> |
| 15 | <maven.compiler.source>15</maven.compiler.source> |
| 16 | <maven.compiler.target>15</maven.compiler.target> |
| 17 | |
| 18 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 19 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 20 | |
| 21 | <enforced.maven-version>3.6.2</enforced.maven-version> |
| 22 | |
| 23 | <antrun-plugin.version>3.0.0</antrun-plugin.version> |
| 24 | <compiler-plugin.version>3.8.1</compiler-plugin.version> |
| 25 | <enforcer-plugin.version>3.0.0-M3</enforcer-plugin.version> |
| 26 | <exec-plugin.version>3.0.0</exec-plugin.version> |
| 27 | <processor-plugin.version>4.2</processor-plugin.version> |
| 28 | <resources-plugin.version>3.2.0</resources-plugin.version> |
| 29 | <shade-plugin.version>3.2.4</shade-plugin.version> |
| 30 | <spotless-plugin.version>2.4.1</spotless-plugin.version> |
| 31 | |
| 32 | <basic-annotations.version>0.2.0</basic-annotations.version> |
| 33 | <findbugs-jsr305.version>3.0.2</findbugs-jsr305.version> |
| 34 | <google.java.format.version>1.8</google.java.format.version> |
| 35 | <kotlin-annotations.version>1.4.10</kotlin-annotations.version> |
Matthias Andreas Benkard | 31a2c50 | 2020-11-22 14:36:27 +0100 | [diff] [blame] | 36 | <lanterna.version>3.0.4</lanterna.version> |
Matthias Andreas Benkard | b291c36 | 2020-11-22 10:22:27 +0100 | [diff] [blame] | 37 | <picocli.version>4.3.2</picocli.version> |
Matthias Andreas Benkard | 31a2c50 | 2020-11-22 14:36:27 +0100 | [diff] [blame] | 38 | <pdfocr.version>1.0.2</pdfocr.version> |
| 39 | <term4j.version>0.4.0</term4j.version> |
Matthias Andreas Benkard | 545aeb6 | 2020-12-06 15:16:22 +0100 | [diff] [blame] | 40 | <tess4j.version>4.5.1</tess4j.version> |
| 41 | <tika.version>1.25</tika.version> |
| 42 | <jbig2-imageio.version>3.0.3</jbig2-imageio.version> |
| 43 | <jai-imageio-core.version>1.4.0</jai-imageio-core.version> |
| 44 | <jai-imageio-jpeg2000.version>1.3.0</jai-imageio-jpeg2000.version> |
| 45 | <sqlite-jdbc.version>3.30.1</sqlite-jdbc.version> |
| 46 | <jboss-logging.version>3.4.1.Final</jboss-logging.version> |
| 47 | <slf4j.version>1.7.30</slf4j.version> |
Matthias Andreas Benkard | b291c36 | 2020-11-22 10:22:27 +0100 | [diff] [blame] | 48 | </properties> |
| 49 | |
| 50 | <dependencies> |
| 51 | |
| 52 | <!-- Annotations --> |
| 53 | <dependency> |
| 54 | <groupId>pl.tlinkowski.annotation</groupId> |
| 55 | <artifactId>pl.tlinkowski.annotation.basic</artifactId> |
| 56 | <version>${basic-annotations.version}</version> |
| 57 | <scope>provided</scope> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>com.google.code.findbugs</groupId> |
| 61 | <artifactId>jsr305</artifactId> |
| 62 | <version>${findbugs-jsr305.version}</version> |
| 63 | <scope>provided</scope> |
| 64 | </dependency> |
| 65 | <dependency> |
| 66 | <groupId>org.jetbrains.kotlin</groupId> |
| 67 | <artifactId>kotlin-annotations-jvm</artifactId> |
| 68 | <version>${kotlin-annotations.version}</version> |
| 69 | <scope>provided</scope> |
| 70 | </dependency> |
| 71 | |
Matthias Andreas Benkard | 31a2c50 | 2020-11-22 14:36:27 +0100 | [diff] [blame] | 72 | <!-- Command line parsing --> |
Matthias Andreas Benkard | b291c36 | 2020-11-22 10:22:27 +0100 | [diff] [blame] | 73 | <dependency> |
| 74 | <groupId>info.picocli</groupId> |
| 75 | <artifactId>picocli</artifactId> |
| 76 | <version>${picocli.version}</version> |
| 77 | </dependency> |
| 78 | |
Matthias Andreas Benkard | 545aeb6 | 2020-12-06 15:16:22 +0100 | [diff] [blame] | 79 | <!-- Logging --> |
| 80 | <dependency> |
| 81 | <groupId>org.jboss.logging</groupId> |
| 82 | <artifactId>jboss-logging</artifactId> |
| 83 | <version>${jboss-logging.version}</version> |
| 84 | </dependency> |
| 85 | |
Matthias Andreas Benkard | 1d92ac8 | 2020-11-23 06:31:43 +0100 | [diff] [blame] | 86 | <!-- Document reading --> |
Matthias Andreas Benkard | 31a2c50 | 2020-11-22 14:36:27 +0100 | [diff] [blame] | 87 | <dependency> |
Matthias Andreas Benkard | 1d92ac8 | 2020-11-23 06:31:43 +0100 | [diff] [blame] | 88 | <groupId>org.apache.tika</groupId> |
| 89 | <artifactId>tika-core</artifactId> |
| 90 | <version>${tika.version}</version> |
Matthias Andreas Benkard | 31a2c50 | 2020-11-22 14:36:27 +0100 | [diff] [blame] | 91 | </dependency> |
| 92 | <dependency> |
Matthias Andreas Benkard | 1d92ac8 | 2020-11-23 06:31:43 +0100 | [diff] [blame] | 93 | <groupId>org.apache.tika</groupId> |
| 94 | <artifactId>tika-bundle</artifactId> |
| 95 | <version>${tika.version}</version> |
Matthias Andreas Benkard | 31a2c50 | 2020-11-22 14:36:27 +0100 | [diff] [blame] | 96 | </dependency> |
| 97 | <dependency> |
Matthias Andreas Benkard | 545aeb6 | 2020-12-06 15:16:22 +0100 | [diff] [blame] | 98 | <groupId>org.apache.tika</groupId> |
| 99 | <artifactId>tika-parsers</artifactId> |
| 100 | <version>${tika.version}</version> |
| 101 | <exclusions> |
| 102 | <exclusion> |
| 103 | <groupId>org.slf4j</groupId> |
| 104 | <artifactId>jcl-over-slf4j</artifactId> |
| 105 | </exclusion> |
| 106 | <exclusion> |
| 107 | <groupId>org.slf4j</groupId> |
| 108 | <artifactId>jul-to-slf4j</artifactId> |
| 109 | </exclusion> |
| 110 | </exclusions> |
| 111 | </dependency> |
| 112 | <dependency> |
| 113 | <groupId>org.apache.pdfbox</groupId> |
| 114 | <artifactId>jbig2-imageio</artifactId> |
| 115 | <version>${jbig2-imageio.version}</version> |
| 116 | </dependency> |
| 117 | <dependency> |
| 118 | <groupId>com.github.jai-imageio</groupId> |
| 119 | <artifactId>jai-imageio-core</artifactId> |
| 120 | <version>${jai-imageio-core.version}</version> |
| 121 | </dependency> |
| 122 | <dependency> |
| 123 | <groupId>com.github.jai-imageio</groupId> |
| 124 | <artifactId>jai-imageio-jpeg2000</artifactId> |
| 125 | <version>${jai-imageio-jpeg2000.version}</version> |
| 126 | </dependency> |
| 127 | <dependency> |
| 128 | <groupId>org.xerial</groupId> |
| 129 | <artifactId>sqlite-jdbc</artifactId> |
| 130 | <version>${sqlite-jdbc.version}</version> |
| 131 | </dependency> |
| 132 | <dependency> |
| 133 | <groupId>org.slf4j</groupId> |
| 134 | <artifactId>slf4j-jdk14</artifactId> |
| 135 | <version>${slf4j.version}</version> |
| 136 | </dependency> |
| 137 | <dependency> |
| 138 | <groupId>org.slf4j</groupId> |
| 139 | <artifactId>log4j-over-slf4j</artifactId> |
| 140 | <version>${slf4j.version}</version> |
| 141 | </dependency> |
| 142 | <dependency> |
Matthias Andreas Benkard | 1d92ac8 | 2020-11-23 06:31:43 +0100 | [diff] [blame] | 143 | <groupId>net.sourceforge.tess4j</groupId> |
| 144 | <artifactId>tess4j</artifactId> |
Matthias Andreas Benkard | 545aeb6 | 2020-12-06 15:16:22 +0100 | [diff] [blame] | 145 | <version>${tess4j.version}</version> |
Matthias Andreas Benkard | 1d92ac8 | 2020-11-23 06:31:43 +0100 | [diff] [blame] | 146 | <exclusions> |
| 147 | <exclusion> |
| 148 | <groupId>org.slf4j</groupId> |
| 149 | <artifactId>jcl-over-slf4j</artifactId> |
| 150 | </exclusion> |
| 151 | <exclusion> |
| 152 | <groupId>org.slf4j</groupId> |
| 153 | <artifactId>log4j-over-slf4j</artifactId> |
| 154 | </exclusion> |
Matthias Andreas Benkard | 545aeb6 | 2020-12-06 15:16:22 +0100 | [diff] [blame] | 155 | <exclusion> |
| 156 | <groupId>org.slf4j</groupId> |
| 157 | <artifactId>jul-to-slf4j</artifactId> |
| 158 | </exclusion> |
| 159 | <exclusion> |
| 160 | <groupId>ch.qos.logback</groupId> |
| 161 | <artifactId>logback-classic</artifactId> |
| 162 | </exclusion> |
Matthias Andreas Benkard | 1d92ac8 | 2020-11-23 06:31:43 +0100 | [diff] [blame] | 163 | </exclusions> |
Matthias Andreas Benkard | 31a2c50 | 2020-11-22 14:36:27 +0100 | [diff] [blame] | 164 | </dependency> |
| 165 | |
| 166 | <!-- Terminal output --> |
| 167 | <dependency> |
| 168 | <groupId>io.github.dgroup</groupId> |
| 169 | <artifactId>term4j</artifactId> |
| 170 | <version>${term4j.version}</version> |
| 171 | </dependency> |
| 172 | <dependency> |
| 173 | <groupId>com.googlecode.lanterna</groupId> |
| 174 | <artifactId>lanterna</artifactId> |
| 175 | <version>${lanterna.version}</version> |
| 176 | </dependency> |
| 177 | |
Matthias Andreas Benkard | b291c36 | 2020-11-22 10:22:27 +0100 | [diff] [blame] | 178 | </dependencies> |
| 179 | |
| 180 | <build> |
| 181 | |
Matthias Andreas Benkard | 545aeb6 | 2020-12-06 15:16:22 +0100 | [diff] [blame] | 182 | <resources> |
| 183 | <resource> |
| 184 | <directory>src/main/resources</directory> |
| 185 | </resource> |
| 186 | </resources> |
| 187 | |
Matthias Andreas Benkard | b291c36 | 2020-11-22 10:22:27 +0100 | [diff] [blame] | 188 | <pluginManagement> |
| 189 | <plugins> |
| 190 | |
| 191 | <plugin> |
| 192 | <groupId>org.codehaus.mojo</groupId> |
| 193 | <artifactId>versions-maven-plugin</artifactId> |
| 194 | <configuration> |
| 195 | <generateBackupPoms>false</generateBackupPoms> |
| 196 | </configuration> |
| 197 | </plugin> |
| 198 | |
| 199 | </plugins> |
| 200 | </pluginManagement> |
| 201 | |
| 202 | <plugins> |
| 203 | |
| 204 | <!-- Compiler --> |
| 205 | <plugin> |
| 206 | <artifactId>maven-compiler-plugin</artifactId> |
| 207 | <version>${compiler-plugin.version}</version> |
Matthias Andreas Benkard | c7f1136 | 2020-11-22 15:01:07 +0100 | [diff] [blame] | 208 | <configuration> |
| 209 | <annotationProcessorPaths> |
| 210 | <path> |
| 211 | <groupId>info.picocli</groupId> |
| 212 | <artifactId>picocli-codegen</artifactId> |
| 213 | <version>${picocli.version}</version> |
| 214 | </path> |
| 215 | </annotationProcessorPaths> |
| 216 | <compilerArgs> |
| 217 | <arg>-Aproject=${project.groupId}/${project.artifactId}</arg> |
| 218 | </compilerArgs> |
| 219 | </configuration> |
Matthias Andreas Benkard | b291c36 | 2020-11-22 10:22:27 +0100 | [diff] [blame] | 220 | </plugin> |
| 221 | |
| 222 | <!-- Resources --> |
| 223 | <plugin> |
| 224 | <artifactId>maven-resources-plugin</artifactId> |
| 225 | <version>${resources-plugin.version}</version> |
| 226 | </plugin> |
| 227 | |
| 228 | <!-- Google Java Code Formatter, for enforcing style conventions --> |
| 229 | <plugin> |
| 230 | <groupId>com.diffplug.spotless</groupId> |
| 231 | <artifactId>spotless-maven-plugin</artifactId> |
| 232 | <version>${spotless-plugin.version}</version> |
| 233 | <configuration> |
| 234 | <java> |
| 235 | <removeUnusedImports/> |
| 236 | <importOrder> |
| 237 | <order>java,javax,org,com,de,io,dagger,eu.mulk,</order> |
| 238 | </importOrder> |
| 239 | <googleJavaFormat> |
| 240 | <version>${google.java.format.version}</version> |
| 241 | <style>GOOGLE</style> |
| 242 | </googleJavaFormat> |
| 243 | </java> |
| 244 | </configuration> |
| 245 | </plugin> |
| 246 | |
| 247 | <plugin> |
| 248 | <artifactId>maven-antrun-plugin</artifactId> |
| 249 | <version>${antrun-plugin.version}</version> |
| 250 | </plugin> |
| 251 | |
| 252 | <plugin> |
| 253 | <groupId>org.apache.maven.plugins</groupId> |
| 254 | <artifactId>maven-enforcer-plugin</artifactId> |
| 255 | <version>${enforcer-plugin.version}</version> |
| 256 | <executions> |
| 257 | <execution> |
| 258 | <id>enforce-maven</id> |
| 259 | <goals> |
| 260 | <goal>enforce</goal> |
| 261 | </goals> |
| 262 | <configuration> |
| 263 | <rules> |
| 264 | <requireMavenVersion> |
| 265 | <version>${enforced.maven-version}</version> |
| 266 | </requireMavenVersion> |
| 267 | </rules> |
| 268 | </configuration> |
| 269 | </execution> |
| 270 | </executions> |
| 271 | </plugin> |
| 272 | |
| 273 | <plugin> |
| 274 | <groupId>org.codehaus.mojo</groupId> |
| 275 | <artifactId>exec-maven-plugin</artifactId> |
| 276 | <version>${exec-plugin.version}</version> |
| 277 | <configuration> |
| 278 | <mainClass>eu.mulk.aendggner.AendGgner</mainClass> |
| 279 | </configuration> |
| 280 | </plugin> |
| 281 | |
| 282 | <plugin> |
| 283 | <groupId>org.apache.maven.plugins</groupId> |
Matthias Andreas Benkard | c7f1136 | 2020-11-22 15:01:07 +0100 | [diff] [blame] | 284 | <artifactId>maven-dependency-plugin</artifactId> |
Matthias Andreas Benkard | b291c36 | 2020-11-22 10:22:27 +0100 | [diff] [blame] | 285 | <executions> |
| 286 | <execution> |
Matthias Andreas Benkard | c7f1136 | 2020-11-22 15:01:07 +0100 | [diff] [blame] | 287 | <id>copy-dependencies</id> |
| 288 | <phase>prepare-package</phase> |
Matthias Andreas Benkard | b291c36 | 2020-11-22 10:22:27 +0100 | [diff] [blame] | 289 | <goals> |
Matthias Andreas Benkard | c7f1136 | 2020-11-22 15:01:07 +0100 | [diff] [blame] | 290 | <goal>copy-dependencies</goal> |
Matthias Andreas Benkard | b291c36 | 2020-11-22 10:22:27 +0100 | [diff] [blame] | 291 | </goals> |
| 292 | <configuration> |
Matthias Andreas Benkard | c7f1136 | 2020-11-22 15:01:07 +0100 | [diff] [blame] | 293 | <outputDirectory> |
| 294 | ${project.build.directory}/libs |
| 295 | </outputDirectory> |
Matthias Andreas Benkard | b291c36 | 2020-11-22 10:22:27 +0100 | [diff] [blame] | 296 | </configuration> |
| 297 | </execution> |
| 298 | </executions> |
| 299 | </plugin> |
| 300 | |
Matthias Andreas Benkard | c7f1136 | 2020-11-22 15:01:07 +0100 | [diff] [blame] | 301 | <plugin> |
| 302 | <groupId>org.apache.maven.plugins</groupId> |
| 303 | <artifactId>maven-jar-plugin</artifactId> |
| 304 | <version>3.2.0</version> |
| 305 | <configuration> |
| 306 | <archive> |
| 307 | <manifest> |
| 308 | <addClasspath>true</addClasspath> |
| 309 | <classpathPrefix>libs/</classpathPrefix> |
| 310 | <mainClass> |
| 311 | eu.mulk.aendggner.AendGgner |
| 312 | </mainClass> |
| 313 | </manifest> |
| 314 | </archive> |
| 315 | </configuration> |
| 316 | </plugin> |
| 317 | |
Matthias Andreas Benkard | b291c36 | 2020-11-22 10:22:27 +0100 | [diff] [blame] | 318 | </plugins> |
| 319 | |
| 320 | </build> |
| 321 | |
| 322 | </project> |