207 lines
7.8 KiB
XML
207 lines
7.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.baxter.disco</groupId>
|
|
<artifactId>ocr</artifactId>
|
|
<version>5.0.0-alpha.2</version>
|
|
<packaging>jar</packaging>
|
|
<name>Disco OCR Accuracy Over Life Testing</name>
|
|
<description>Testing Discos for long-term accuracy, using automated optical character recognition.</description>
|
|
|
|
<organization>
|
|
<name>Baxter International</name>
|
|
<url>https://www.baxter.com/</url>
|
|
</organization>
|
|
|
|
<properties>
|
|
<uitype>Cli</uitype>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
<target.platform.name>raspberry</target.platform.name>
|
|
<run.with.java.module>true</run.with.java.module>
|
|
<!-- Use jvmargs to pass args like -Dpi4j.library.path=<Path to the libpi4j-pigpio.so library> -->
|
|
<jvmargs.run></jvmargs.run>
|
|
<jvmargs.debug></jvmargs.debug>
|
|
|
|
<pi4j.version>2.1.0</pi4j.version>
|
|
<javafx.version>19</javafx.version>
|
|
<poi.version>5.2.3</poi.version>
|
|
<commons.version>2.8.0</commons.version>
|
|
<opencv.version>1.5.8</opencv.version>
|
|
<junit.version>5.9.1</junit.version>
|
|
<beanutils.version>1.9.4</beanutils.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<!-- Logging libraries -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>2.0.7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>1.4.6</version>
|
|
</dependency>
|
|
|
|
<!-- JUnit Testing -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<version>${junit.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Java OpenCV/Tesseract Bindings -->
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>javacv-platform</artifactId>
|
|
<version>${opencv.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openjfx</groupId>
|
|
<artifactId>javafx-swing</artifactId>
|
|
<version>${javafx.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Apache Commons Config Read/Write -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-configuration2</artifactId>
|
|
<version>${commons.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-beanutils</groupId>
|
|
<artifactId>commons-beanutils</artifactId>
|
|
<version>${beanutils.version}</version>
|
|
</dependency>
|
|
|
|
<!-- include Pi4J Core -->
|
|
<dependency>
|
|
<groupId>com.pi4j</groupId>
|
|
<artifactId>pi4j-core</artifactId>
|
|
<version>${pi4j.version}</version>
|
|
</dependency>
|
|
|
|
<!-- include Pi4J Plugins (Platforms and I/O Providers) -->
|
|
<dependency>
|
|
<groupId>com.pi4j</groupId>
|
|
<artifactId>pi4j-plugin-raspberrypi</artifactId>
|
|
<version>${pi4j.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.pi4j</groupId>
|
|
<artifactId>pi4j-plugin-pigpio</artifactId>
|
|
<version>${pi4j.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>discoTesting-${project.version}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>3.7.1</version>
|
|
<configuration>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.owasp</groupId>
|
|
<artifactId>dependency-check-maven</artifactId>
|
|
<version>8.1.2</version>
|
|
<!--<configuration>
|
|
<suppressionFiles>
|
|
<suppressionFile>dependency-check-suppressions.xml</suppressionFile>
|
|
</suppressionFiles>
|
|
</configuration>-->
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.4.1</version>
|
|
<configuration>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<release>${maven.compiler.source}</release>
|
|
<target>${maven.compiler.target}</target>
|
|
<showDeprecation>true</showDeprecation>
|
|
<showWarnings>true</showWarnings>
|
|
<verbose>false</verbose>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-dependencies</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<stripVersion>true</stripVersion>
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>org.baxter.disco.ocr.${uitype}</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
<configuration>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
</transformers>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.4.1</version>
|
|
<!--<configuration>
|
|
<show>private</show>
|
|
</configuration>-->
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
</project>
|