From b6c24bd502757acdb38a51a13b33a8bc4e492031 Mon Sep 17 00:00:00 2001 From: fuhouyu Date: Sat, 21 Sep 2024 20:57:34 +0800 Subject: [PATCH] =?UTF-8?q?feat(java):=20=E8=B0=83=E6=95=B4licence=20fix(p?= =?UTF-8?q?om):=20=20config=20process=E4=B8=8D=E7=94=9F=E6=95=88=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base-framework-cache-starter/pom.xml | 2 +- .../framework/cache/CacheAutoConfigure.java | 2 +- .../cache/CaffeineCacheAutoconfigure.java | 2 +- .../cache/RedisCacheAutoConfigure.java | 2 +- .../cache/enums/CacheServiceTypeEnum.java | 2 +- .../properties/CacheServiceProperties.java | 2 +- .../framework/cache/service/CacheService.java | 2 +- .../impl/CaffeineCacheServiceImpl.java | 2 +- .../cache/service/impl/RedisCacheService.java | 2 +- .../framework/cache/CacheServiceTest.java | 2 +- base-framework-common/pom.xml | 2 +- .../constants/ConfigPropertiesConstant.java | 2 +- .../constants/HttpRequestHeaderConstant.java | 2 +- .../exception/JsonParseException.java | 2 +- .../exception/WebServiceException.java | 2 +- .../framework/response/ResponseCode.java | 2 +- .../framework/response/ResponseCodeEnum.java | 2 +- .../framework/response/ResponseHelper.java | 2 +- .../framework/response/RestResult.java | 2 +- .../fuhouyu/framework/service/Callback.java | 2 +- .../fuhouyu/framework/utils/ClassUtils.java | 2 +- .../com/fuhouyu/framework/utils/FileUtil.java | 2 +- .../com/fuhouyu/framework/utils/HexUtil.java | 2 +- .../framework/utils/HttpRequestUtil.java | 2 +- .../fuhouyu/framework/utils/JacksonUtil.java | 2 +- .../fuhouyu/framework/utils/LoggerUtil.java | 2 +- base-framework-context/pom.xml | 2 +- ...stractThredLocalContextHolderStrategy.java | 2 +- .../fuhouyu/framework/context/Context.java | 2 +- .../context/ContextHolderStrategy.java | 2 +- .../framework/context/request/Request.java | 2 +- .../context/request/RequestContextHolder.java | 2 +- .../context/request/RequestContextImpl.java | 2 +- .../ThreadLocalRequestContextHolder.java | 2 +- .../context/user/DefaultUserDetail.java | 2 +- .../user/ThreadLocalUserContextHolder.java | 2 +- .../fuhouyu/framework/context/user/User.java | 2 +- .../context/user/UserContextHolder.java | 2 +- .../context/user/UserContextImpl.java | 2 +- .../framework/context/ContextTest.java | 2 +- base-framework-database/pom.xml | 2 +- base-framework-dependencies/pom.xml | 2 +- base-framework-kms-starter/pom.xml | 2 +- .../kms/DefaultKmsAutoConfigure.java | 2 +- .../framework/kms/KmsAutoConfigure.java | 2 +- .../framework/kms/exception/KmsException.java | 2 +- .../kms/properties/KmsDefaultProperties.java | 2 +- .../framework/kms/service/KmsService.java | 2 +- .../service/impl/DefaultKmsServiceImpl.java | 2 +- .../fuhouyu/framework/kms/KmsServiceTest.java | 2 +- base-framework-log-starter/pom.xml | 2 +- .../log/LogRecordAutoConfiguration.java | 2 +- .../framework/log/annotaions/LogRecord.java | 2 +- .../framework/log/core/LogEvaluator.java | 2 +- .../framework/log/core/LogRecordAspectj.java | 2 +- .../log/core/LogRecordStoreService.java | 2 +- .../log/enums/OperationTypeEnum.java | 2 +- .../framework/log/model/LogRecord.java | 2 +- .../log/properties/LogRecordProperties.java | 2 +- .../src/main/resources/logback-spring.xml | 2 +- .../log/LogRecordStoreServiceImplTest.java | 2 +- .../framework/log/LogRecordStoreTest.java | 2 +- base-framework-resource-starter/pom.xml | 2 +- .../resource/AliYunOssAutoConfigure.java | 2 +- .../LocalFileResourceAutoConfigure.java | 2 +- .../resource/ResourceAutoConfigure.java | 2 +- .../FileResourceMetadataConstant.java | 2 +- .../enums/ResourceUploadTypeEnum.java | 2 +- .../resource/exception/ResourceException.java | 2 +- .../resource/model/BaseResourceRequest.java | 2 +- .../resource/model/BaseResourceResult.java | 2 +- .../resource/model/CopyResourceResult.java | 2 +- .../model/DownloadResourceRequest.java | 2 +- .../model/DownloadResourceResult.java | 2 +- .../resource/model/GetResourceRequest.java | 2 +- .../resource/model/GetResourceResult.java | 2 +- .../model/InitiateUploadMultipartRequest.java | 2 +- .../model/InitiateUploadMultipartResult.java | 2 +- .../resource/model/ListMultipartRequest.java | 2 +- .../resource/model/ListMultipartResult.java | 2 +- .../resource/model/ListResourceRequest.java | 2 +- .../resource/model/ListResourceResult.java | 2 +- .../framework/resource/model/PartEtag.java | 2 +- .../resource/model/PartInfoResult.java | 2 +- .../resource/model/PutResourceRequest.java | 2 +- .../resource/model/PutResourceResult.java | 2 +- .../resource/model/ResourceMetadata.java | 2 +- .../resource/model/ResourceOwner.java | 2 +- .../resource/model/ResourceSummary.java | 2 +- .../model/UploadAbortMultipartRequest.java | 2 +- .../model/UploadCompleteMultipartRequest.java | 2 +- .../model/UploadCompleteMultipartResult.java | 2 +- .../model/UploadMultipartRequest.java | 2 +- .../resource/model/UploadMultipartResult.java | 2 +- .../properties/AliYunOssProperties.java | 2 +- .../properties/BaseOssResourceProperties.java | 2 +- .../properties/ResourceProperties.java | 2 +- .../resource/service/ResourceService.java | 2 +- .../service/impl/AliYunOssServiceImpl.java | 2 +- .../service/impl/LocalFileServiceImpl.java | 2 +- .../resource/ResourceServiceTest.java | 2 +- base-framework-security-starter/pom.xml | 2 +- .../security/OpenPlatformAutoConfigure.java | 2 +- .../security/SecurityAutoConfigure.java | 2 +- .../core/AbstractApplicationManager.java | 2 +- .../core/AbstractAuthenticationProvider.java | 2 +- .../wechat/WechatAppletsPlatformProvider.java | 2 +- .../wechat/WechatAppletsUserInfo.java | 2 +- .../filter/ApplicationBasicErrorFilter.java | 2 +- .../PasswordEncoderFactory.java | 2 +- .../passwordencoder/Sm3PasswordEncoder.java | 2 +- .../security/model/dto/ApplicationDTO.java | 2 +- .../OpenPlatformAuthProperties.java | 2 +- .../service/DefaultUserAuthServiceImpl.java | 2 +- .../security/service/UserAuthService.java | 2 +- .../token/AuthenticationKeyGenerator.java | 2 +- .../DefaultAuthenticationKeyGenerator.java | 2 +- .../security/token/DefaultOAuth2Token.java | 2 +- .../security/token/KryoTokenSerializer.java | 2 +- .../framework/security/token/TokenStore.java | 2 +- .../security/token/TokenStoreCache.java | 2 +- .../TokenStoreSerializationStrategy.java | 2 +- .../security/Sm3PasswordEncoderTest.java | 2 +- .../framework/security/TokenStoreTest.java | 2 +- .../AuthenticationProviderTest.java | 2 +- .../OpenPlatformAuthenticationTest.java | 2 +- base-framework-web-starter/pom.xml | 2 +- .../framework/web/FormAutoConfigure.java | 2 +- .../framework/web/WebAutoConfigure.java | 2 +- .../web/annotaions/NoRepeatSubmit.java | 2 +- .../web/annotaions/PrepareHttpBody.java | 2 +- .../web/aspectj/NoRepeatSubmitAspectj.java | 2 +- .../web/config/WebMvcAutoConfigure.java | 2 +- .../web/constants/ApiPrefixConstant.java | 2 +- .../web/constants/FormTokenConstant.java | 2 +- .../web/controller/BaseFormController.java | 2 +- .../web/exception/WebExceptionHandler.java | 2 +- .../web/exception/WebServiceException.java | 2 +- .../web/filter/DefaultHttpBodyFilter.java | 2 +- .../framework/web/filter/HttpBodyFilter.java | 2 +- .../web/filter/HttpRequestBodyAdvice.java | 2 +- .../handler/HttpRequestContextHandler.java | 2 +- .../web/handler/HttpRequestUserHandler.java | 2 +- .../UserExtensionHandlerInterceptor.java | 2 +- .../framework/web/model/HttpRequestModel.java | 2 +- .../web/properties/WebProperties.java | 2 +- .../framework/web/utils/BeanConvertUtil.java | 2 +- .../fuhouyu/framework/web/WebHandlerTest.java | 2 +- .../framework/web/fileter/HttpController.java | 2 +- .../web/fileter/HttpControllerTest.java | 2 +- .../framework/web/fileter/MainController.java | 2 +- .../web/form/FormTokenControllerTest.java | 2 +- .../web/form/WebFormNoRepeatSubmitTest.java | 2 +- .../web/utils/BeanConvertUtilTest.java | 2 +- pom.xml | 91 ++++++++++--------- 155 files changed, 202 insertions(+), 197 deletions(-) diff --git a/base-framework-cache-starter/pom.xml b/base-framework-cache-starter/pom.xml index 697e434..2a342a2 100644 --- a/base-framework-cache-starter/pom.xml +++ b/base-framework-cache-starter/pom.xml @@ -1,6 +1,6 @@ 3.0.3 2.1.0 @@ -278,20 +279,6 @@ org.apache.maven.plugins maven-compiler-plugin ${maven-compiler-plugin.version} - - - - org.mapstruct - mapstruct-processor - ${org.mapstruct.version} - - - org.projectlombok - lombok - ${lombok.version} - - - org.jacoco @@ -348,6 +335,35 @@ easyj-maven-plugin ${maven-easyj.version} + + org.apache.rat + apache-rat-plugin + ${apache-rat-plugin.version} + + + ..gitignore + CHANGELOG.md + qodana.yaml + .flattened-pom.xml + qodana.yaml + style/* + **/README.md + .github/**/* + logs/* + **/*.txt + **/*.imports + **/**.yaml + + + + + verify + + check + + + + @@ -355,31 +371,6 @@ org.apache.rat apache-rat-plugin - ${apache-rat-plugin.version} - - - ..gitignore - CHANGELOG.md - qodana.yaml - .flattened-pom.xml - qodana.yaml - style/* - README.md - .github/**/* - logs/* - **/*.txt - **/*.imports - **/**.yaml - - - - - verify - - check - - - org.apache.maven.plugins @@ -391,16 +382,30 @@ true - org.mapstruct - mapstruct-processor + org.springframework.boot + spring-boot-autoconfigure-processor + + + org.springframework.boot + spring-boot-configuration-processor org.projectlombok lombok + ${lombok.version} + + + org.projectlombok + lombok-mapstruct-binding + ${lombok-mapstruct-binding.version} + + + org.mapstruct + mapstruct-processor + ${org.mapstruct.version} - org.springframework.boot