|
@@ -6,21 +6,19 @@
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
<version>3.1.1</version>
|
|
|
- <relativePath/> <!-- lookup parent from repository -->
|
|
|
</parent>
|
|
|
<groupId>com.backendsys</groupId>
|
|
|
<artifactId>backendsys</artifactId>
|
|
|
<version>1.0.0</version>
|
|
|
<name>backendsys</name>
|
|
|
<properties>
|
|
|
- <java.version>17</java.version>
|
|
|
- <activiti.version>7.0.0.SR1</activiti.version>
|
|
|
- <activiti.cloud.version>7.0.0.Beta1</activiti.cloud.version>
|
|
|
+ <java.version>19</java.version>
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
- <!-- spring-web -->
|
|
|
+ <!-- Spring Web -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
@@ -31,12 +29,9 @@
|
|
|
<artifactId>snakeyaml</artifactId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
- <!-- -->
|
|
|
</dependency>
|
|
|
|
|
|
-
|
|
|
- <!-- Nacos 配置中心 -->
|
|
|
-
|
|
|
+ <!-- Nacos -->
|
|
|
|
|
|
<!-- logback / log4j / slf4j -->
|
|
|
<dependency>
|
|
@@ -58,7 +53,7 @@
|
|
|
<version>2.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
- <!-- spring-security -->
|
|
|
+ <!-- Security -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
<artifactId>spring-security-oauth2-authorization-server</artifactId>
|
|
@@ -72,14 +67,13 @@
|
|
|
<version>2.3.3</version>
|
|
|
</dependency>
|
|
|
|
|
|
- <!-- https://hutool.cn -->
|
|
|
+ <!-- Hutool -->
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
<version>5.8.20</version>
|
|
|
</dependency>
|
|
|
|
|
|
-
|
|
|
<!-- fastJSON解析库 -->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
@@ -216,8 +210,6 @@
|
|
|
<version>4.5.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
<!-- 阿里云 OSS -->
|
|
|
<dependency>
|
|
|
<groupId>com.aliyun.oss</groupId>
|
|
@@ -290,7 +282,6 @@
|
|
|
<!-- <version>1.0.150</version>-->
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
-
|
|
|
<!--Java 9及以上的版本,则需要添加jaxb相关依赖-->
|
|
|
<dependency>
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
@@ -326,8 +317,7 @@
|
|
|
<version>3.23.5</version>
|
|
|
</dependency>
|
|
|
|
|
|
- <!-- 引用 紫鸟JavaSDK (上传阿里云 Maven 私有仓库)-->
|
|
|
- <!-- https://packages.aliyun.com/repos/2390498-release-I0JIZp/packages -->
|
|
|
+ <!-- 紫鸟科技SDK (私有库)-->
|
|
|
<dependency>
|
|
|
<groupId>com.ziniao</groupId>
|
|
|
<artifactId>ziniao-sdk-java</artifactId>
|
|
@@ -341,7 +331,6 @@
|
|
|
<!-- <systemPath>${project.basedir}/libs/ziniao-sdk-java-5.1.0.jar</systemPath>-->
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
-
|
|
|
<!-- 火山AI SDK 测试-->
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>com.volcengine</groupId>-->
|
|
@@ -378,17 +367,6 @@
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
|
-
|
|
|
- <!-- Thymeleaf模板引擎 -->
|
|
|
- <!--<dependency>-->
|
|
|
- <!-- <groupId>org.springframework.boot</groupId>-->
|
|
|
- <!-- <artifactId>spring-boot-starter-thymeleaf</artifactId>-->
|
|
|
- <!--</dependency>-->
|
|
|
- <!--<dependency>-->
|
|
|
- <!-- <groupId>org.thymeleaf.extras</groupId>-->
|
|
|
- <!-- <artifactId>thymeleaf-extras-springsecurity6</artifactId>-->
|
|
|
- <!--</dependency>-->
|
|
|
-
|
|
|
<!-- <dependency>-->
|
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
|
<!-- <artifactId>spring-boot-starter-test</artifactId>-->
|
|
@@ -400,6 +378,7 @@
|
|
|
<!-- <scope>test</scope>-->
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
+ <!-- Swagger -->
|
|
|
<dependency>
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
@@ -409,6 +388,7 @@
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
+
|
|
|
<profiles>
|
|
|
<profile>
|
|
|
<id>local</id>
|
|
@@ -429,6 +409,7 @@
|
|
|
|
|
|
|
|
|
<build>
|
|
|
+ <finalName>${project.artifactId}</finalName>
|
|
|
<resources>
|
|
|
<!-- 扫描src/main/java下所有xx.xml文件 -->
|
|
|
<resource>
|
|
@@ -465,14 +446,15 @@
|
|
|
|
|
|
|
|
|
<plugins>
|
|
|
+
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<configuration>
|
|
|
<parameters>true</parameters>
|
|
|
- <source>17</source>
|
|
|
- <target>17</target>
|
|
|
- <encoding>UTF-8</encoding>
|
|
|
+ <source>${java.version}</source>
|
|
|
+ <target>${java.version}</target>
|
|
|
+ <encoding>${project.build.sourceEncoding}</encoding>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
|
|
@@ -519,7 +501,7 @@
|
|
|
<!-- </goals>-->
|
|
|
<!-- <configuration>-->
|
|
|
<!-- <!– <outputDirectory>${project.build.directory}/lib</outputDirectory> –>-->
|
|
|
-<!-- <outputDirectory>${project.basedir}/libs</outputDirectory>-->
|
|
|
+<!-- <outputDirectory>libs</outputDirectory>-->
|
|
|
<!-- </configuration>-->
|
|
|
<!-- </execution>-->
|
|
|
<!-- </executions>-->
|