[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.crm:crm-auth:jar:1.0.0-SNAPSHOT [WARNING] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 46, column 22 [WARNING] [WARNING] Some problems were encountered while building the effective model for com.crm:crm-file:jar:1.0.0-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.projectlombok:lombok:jar -> duplicate declaration of version (?) @ line 43, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] crm [pom] [INFO] crm-base [jar] [INFO] crm-file [jar] [INFO] crm-auth [jar] [INFO] crm-app [jar] [INFO] [INFO] ----------------------------< com.crm:crm >----------------------------- [INFO] Building crm 1.0.0-SNAPSHOT [1/5] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --------------------------< com.crm:crm-base >-------------------------- [INFO] Building crm-base 1.0.0-SNAPSHOT [2/5] [INFO] from crm-base\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ crm-base --- [INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-base\src\main\resources [INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-base\src\main\resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ crm-base --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ crm-base --- [INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-base\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ crm-base --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ crm-base --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running com.crm.base.security.DataVisibilityTest [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.129 s -- in com.crm.base.security.DataVisibilityTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --------------------------< com.crm:crm-file >-------------------------- [INFO] Building crm-file 1.0.0-SNAPSHOT [3/5] [INFO] from crm-file\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ crm-file --- [INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-file\src\main\resources [INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-file\src\main\resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ crm-file --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ crm-file --- [INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-file\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ crm-file --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ crm-file --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running com.crm.file.service.impl.FileApiImplTest D:\apache-maven-3.9.9\bin\mvn.cmd : Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loade r classes because bootstrap classpath has been appended 所在位置 行:1 字符: 30 + ... crm-backend-matt; D:\apache-maven-3.9.9\bin\mvn.cmd test 2>&1 | Out-F ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Java HotSpot(TM...s been appended:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError [INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.311 s -- in com.crm.file.service.impl.FileApiImplTest [INFO] Running com.crm.file.service.KkFileViewClientTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 s -- in com.crm.file.service.KkFileViewClientTest [INFO] Running com.crm.file.task.OrphanChunkCleanupTaskTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s -- in com.crm.file.task.OrphanChunkCleanupTaskTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 41, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --------------------------< com.crm:crm-auth >-------------------------- [INFO] Building crm-auth 1.0.0-SNAPSHOT [4/5] [INFO] from crm-auth\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ crm-auth --- [INFO] Copying 1 resource from src\main\resources to target\classes [INFO] Copying 0 resource from src\main\resources to target\classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ crm-auth --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ crm-auth --- [INFO] Copying 0 resource from src\test\resources to target\test-classes [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ crm-auth --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ crm-auth --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running com.crm.auth.security.ApiPermissionInterceptorTest Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpat h has been appended 17:22:23.761 [main] INFO com.crm.auth.security.ApiPermissionInterceptor -- API 权限拦截:uri=/api/users/delete, 匹配规则=/api/users/delete:crm:user:delete, 用户权限=[crm:user:list] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.549 s -- in com.crm.auth.security.ApiPermissionInterceptorTest [INFO] Running com.crm.auth.security.scope.DataScopeIntegrationTest [INFO] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.848 s -- in com.crm.auth.security.scope.DataScopeIntegrationTest [INFO] Running com.crm.auth.service.client.DingTalkAuthClientTest 17:22:26.212 [main] INFO com.crm.auth.service.client.DingTalkAuthClient -- 组织准入校验未通过:unionId=u-404, errcode=60121 未找到对应员工 17:22:26.220 [main] ERROR com.crm.auth.service.client.DingTalkAuthClient -- 钉钉换取企业级 token 失败,body={"errmsg":"invalid appSecret"} 17:22:26.224 [main] WARN com.crm.auth.service.client.DingTalkAuthClient -- 组织准入校验:企业级 token 已失效,清缓存重取重试,unionId=u-404 17:22:26.226 [main] ERROR com.crm.auth.service.client.DingTalkAuthClient -- 组织准入校验调用失败:unionId=u-404, errcode=42001, errmsg=access_token expired 17:22:26.243 [main] ERROR com.crm.auth.service.client.DingTalkAuthClient -- 钉钉换取用户token失败,body={"code":"AuthFailed","message":"invalid code"} 17:22:26.249 [main] ERROR com.crm.auth.service.client.DingTalkAuthClient -- 组织准入校验调用失败:unionId=u-1, errcode=40001, errmsg=access forbidden 17:22:26.256 [main] WARN com.crm.auth.service.client.DingTalkAuthClient -- 组织准入校验:企业级 token 已失效,清缓存重取重试,unionId=u-1 17:22:26.260 [main] WARN com.crm.auth.service.client.DingTalkAuthClient -- 组织准入校验:unionId 为空,拒绝准入 17:22:26.268 [main] ERROR com.crm.auth.service.client.DingTalkAuthClient -- 钉钉查询用户信息失败,body={"nick":"noUnion"} 17:22:26.278 [main] INFO com.crm.auth.service.client.DingTalkAuthClient -- 组织准入校验未通过:unionId=u-x 在组织通讯录中无 userid [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.602 s -- in com.crm.auth.service.client.DingTalkAuthClientTest [INFO] Running com.crm.auth.service.client.ThirdPartyAuthClientFactoryTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s -- in com.crm.auth.service.client.ThirdPartyAuthClientFactoryTest [INFO] Running com.crm.auth.service.impl.AuthServiceImplTest 17:22:26.912 [main] WARN com.crm.auth.service.impl.AuthServiceImpl -- 身份绑定[6000]指向的用户[6666]不存在,将重新注册 17:22:26.913 [main] INFO com.crm.auth.service.impl.AuthServiceImpl -- 三方首登自动注册新用户,userId=6006, mobile=13800000000 17:22:26.914 [main] INFO com.crm.auth.service.impl.AuthServiceImpl -- 孤儿身份[6000]已重定向至用户[6006] 17:22:26.945 [main] INFO com.crm.auth.service.impl.AuthServiceImpl -- 组织准入校验未通过,拒绝登录,unionId=union-001 17:22:27.001 [main] INFO com.crm.auth.service.impl.AuthServiceImpl -- 三方首登自动注册新用户,userId=4004, mobile= 17:22:27.009 [main] INFO com.crm.auth.service.impl.AuthServiceImpl -- 三方首登自动注册新用户,userId=3003, mobile=13800000000 [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.698 s -- in com.crm.auth.service.impl.AuthServiceImplTest [INFO] Running com.crm.auth.service.impl.AuthUserServiceImplTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.249 s -- in com.crm.auth.service.impl.AuthUserServiceImplTest [INFO] Running com.crm.auth.service.impl.ResourceServiceImplTest 17:22:27.451 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=1, name=改名字, type=CATALOG 17:22:27.457 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=null, name=新目录, type=CATALOG 17:22:27.491 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=10, name=改名, type=MENU 17:22:27.534 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 图标上传成功:fileId=12345, name=icon.png 17:22:27.544 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=1, name=改昵称, type=CATALOG 17:22:27.558 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=10, name=改名, type=MENU 17:22:27.561 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=null, name=新增按钮, type=BUTTON 17:22:27.569 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=null, name=根菜单, type=MENU 17:22:27.589 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 删除资源节点:id=100, name=查询用户 17:22:27.595 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 删除资源节点时级联清理角色授权引用:menuId=100, 清理了 2 条记录 17:22:27.596 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 删除资源节点:id=100, name=查询用户 17:22:27.615 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=null, name=根目录, type=CATALOG 17:22:27.630 [main] INFO com.crm.auth.service.impl.ResourceServiceImpl -- 保存资源节点:id=null, name=新菜单, type=MENU [INFO] Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.315 s -- in com.crm.auth.service.impl.ResourceServiceImplTest [INFO] Running com.crm.auth.service.impl.SysDeptServiceImplTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 s -- in com.crm.auth.service.impl.SysDeptServiceImplTest [INFO] Running com.crm.auth.service.impl.UserListIntegrationTest [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.340 s -- in com.crm.auth.service.impl.UserListIntegrationTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 127, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --------------------------< com.crm:crm-app >--------------------------- [INFO] Building crm-app 1.0.0-SNAPSHOT [5/5] [INFO] from crm-app\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ crm-app --- [INFO] Copying 1 resource from src\main\resources to target\classes [INFO] Copying 0 resource from src\main\resources to target\classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ crm-app --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ crm-app --- [INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-app\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ crm-app --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ crm-app --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for crm 1.0.0-SNAPSHOT: [INFO] [INFO] crm ................................................ SUCCESS [ 0.004 s] [INFO] crm-base ........................................... SUCCESS [ 6.704 s] [INFO] crm-file ........................................... SUCCESS [ 8.210 s] [INFO] crm-auth ........................................... SUCCESS [ 10.060 s] [INFO] crm-app ............................................ SUCCESS [ 0.656 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 26.225 s [INFO] Finished at: 2026-08-04T17:22:28+08:00 [INFO] ------------------------------------------------------------------------