Commit d28fc8872e2a626fc16fc936a4ae3ccb4dd9e686

Authored by zhangmeiyang
1 parent 91088814

chore(deps): 调整 k3cloud SDK 依赖路径并包含系统作用域

- 将 k3cloud-webapi-sdk 的 systemPath 从项目内部资源目录调整为上级 lib 目录
- 在 maven-shade-plugin 配置中添加 includeSystemScope 以确保系统依赖被打包
- 确保外部 JAR 文件能被正确引用和构建进最终制品中
tax-central/src/main/resources/lib/k3cloud-webapi-sdk8.0.6.jar renamed to lib/k3cloud-webapi-sdk8.0.6.jar
No preview for this file type
@@ -97,6 +97,9 @@ @@ -97,6 +97,9 @@
97 </goals> 97 </goals>
98 </execution> 98 </execution>
99 </executions> 99 </executions>
  100 + <configuration>
  101 + <includeSystemScope>true</includeSystemScope>
  102 + </configuration>
100 </plugin> 103 </plugin>
101 <plugin> 104 <plugin>
102 <groupId>org.apache.maven.plugins</groupId> 105 <groupId>org.apache.maven.plugins</groupId>
tax-central/pom.xml
@@ -39,7 +39,7 @@ @@ -39,7 +39,7 @@
39 <artifactId>k3cloud-webapi-sdk</artifactId> 39 <artifactId>k3cloud-webapi-sdk</artifactId>
40 <version>8.0.6</version> 40 <version>8.0.6</version>
41 <scope>system</scope> 41 <scope>system</scope>
42 - <systemPath>${project.basedir}/src/main/resources/lib/k3cloud-webapi-sdk8.0.6.jar</systemPath> 42 + <systemPath>${project.basedir}/../lib/k3cloud-webapi-sdk8.0.6.jar</systemPath>
43 </dependency> 43 </dependency>
44 </dependencies> 44 </dependencies>
45 45