129 lines
4.8 KiB
XML
129 lines
4.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 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>3.1.0</version>
|
||
<relativePath/> <!-- lookup parent from repository -->
|
||
</parent>
|
||
<groupId>com.tem</groupId>
|
||
<artifactId>bocai</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
|
||
<properties>
|
||
<java.version>17</java.version>
|
||
</properties>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||
</dependency>
|
||
<!-- SQLite 依赖 -->
|
||
<dependency>
|
||
<groupId>org.xerial</groupId>
|
||
<artifactId>sqlite-jdbc</artifactId>
|
||
<version>3.41.2.1</version>
|
||
</dependency>
|
||
<!-- Hibernate 6.x 社区方言,包含SQLite支持 -->
|
||
<dependency>
|
||
<groupId>org.hibernate.orm</groupId>
|
||
<artifactId>hibernate-community-dialects</artifactId>
|
||
<version>6.2.2.Final</version>
|
||
</dependency>
|
||
<!-- Lombok 依赖 -->
|
||
<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>
|
||
|
||
<!-- Tess4J 依赖 -->
|
||
<dependency>
|
||
<groupId>net.sourceforge.tess4j</groupId>
|
||
<artifactId>tess4j</artifactId>
|
||
<version>5.18.0</version>
|
||
</dependency>
|
||
<!-- https://mvnrepository.com/artifact/us.codecraft/webmagic-core -->
|
||
<dependency>
|
||
<groupId>us.codecraft</groupId>
|
||
<artifactId>webmagic-core</artifactId>
|
||
<version>1.0.3</version>
|
||
</dependency>
|
||
<!-- https://mvnrepository.com/artifact/us.codecraft/webmagic-extension -->
|
||
<dependency>
|
||
<groupId>us.codecraft</groupId>
|
||
<artifactId>webmagic-extension</artifactId>
|
||
<version>1.0.3</version>
|
||
</dependency>
|
||
<!-- 可选的:用于JSON处理 -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>fastjson</artifactId>
|
||
<version>2.0.46</version>
|
||
</dependency>
|
||
<!-- <dependency>
|
||
<groupId>net.sourceforge.tess4j</groupId>
|
||
<artifactId>tess4j</artifactId>
|
||
<version>5.8.0</version>
|
||
</dependency>-->
|
||
<!-- pom.xml -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-cache</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 使用Caffeine作为缓存实现 -->
|
||
<dependency>
|
||
<groupId>com.github.ben-manes.caffeine</groupId>
|
||
<artifactId>caffeine</artifactId>
|
||
<version>3.1.8</version>
|
||
</dependency>
|
||
</dependencies>
|
||
<build>
|
||
<finalName>bocai</finalName>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>net.roseboy</groupId>
|
||
<artifactId>classfinal-maven-plugin</artifactId>
|
||
<version>1.2.1</version>
|
||
<executions>
|
||
<execution>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>classFinal</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
<configuration>
|
||
<!-- 加密密码(必填) -->
|
||
<password>#</password>
|
||
<!-- 需加密的包名(可选,多个用逗号分隔) -->
|
||
<packages>com.tem.bocai</packages>
|
||
<!-- 排除加密的类(可选) -->
|
||
<excludes>org.springframework.*</excludes>
|
||
<!-- 机器码(可选,绑定机器) -->
|
||
<!-- <code>xxxxxx</code>-->
|
||
<!-- 调试模式(可选) -->
|
||
<debug>false</debug>
|
||
</configuration>
|
||
</plugin>
|
||
</plugins>
|
||
|
||
</build>
|
||
</project> |