151 lines
5.2 KiB
XML
151 lines
5.2 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.7.18</version>
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
</parent>
|
|
<groupId>com.chinaweal.youfool</groupId>
|
|
<artifactId>report-detect-backend</artifactId>
|
|
<version>1.0.0</version>
|
|
<name>report-detect-backend</name>
|
|
<description>Report Detection Backend with OCR Refactored to Java 8</description>
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
<djl.version>0.26.0</djl.version>
|
|
</properties>
|
|
<!-- dependencyManagement removed -->
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-mail</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
<version>3.6.1</version>
|
|
</dependency>
|
|
|
|
<!-- Sa-Token -->
|
|
<dependency>
|
|
<groupId>cn.dev33</groupId>
|
|
<artifactId>sa-token-spring-boot-starter</artifactId>
|
|
<version>1.37.0</version>
|
|
</dependency>
|
|
|
|
<!-- BCrypt Hashing -->
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-crypto</artifactId>
|
|
<version>5.7.11</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.hypersistence</groupId>
|
|
<artifactId>hypersistence-utils-hibernate-55</artifactId>
|
|
<version>3.7.0</version>
|
|
</dependency>
|
|
|
|
<!-- PDFBox -->
|
|
<dependency>
|
|
<groupId>org.apache.pdfbox</groupId>
|
|
<artifactId>pdfbox</artifactId>
|
|
<version>2.0.30</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.pdfbox</groupId>
|
|
<artifactId>pdfbox-tools</artifactId>
|
|
<version>2.0.30</version>
|
|
</dependency>
|
|
|
|
<!-- DJL: Deep Java Library -->
|
|
<dependency>
|
|
<groupId>ai.djl</groupId>
|
|
<artifactId>api</artifactId>
|
|
<version>${djl.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ai.djl.paddlepaddle</groupId>
|
|
<artifactId>paddlepaddle-engine</artifactId>
|
|
<version>${djl.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ai.djl.paddlepaddle</groupId>
|
|
<artifactId>paddlepaddle-model-zoo</artifactId>
|
|
<version>${djl.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Native libraries for PaddlePaddle (Auto-download) -->
|
|
<!-- Native libraries for PaddlePaddle (Auto-download) -->
|
|
|
|
|
|
<!-- Bouncy Castle -->
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
<version>1.70</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcpkix-jdk15on</artifactId>
|
|
<version>1.70</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|