zqr10159 opened a new pull request, #4035:
URL: https://github.com/apache/hertzbeat/pull/4035

   This pull request reorganizes the `hertzbeat-common` module into two 
separate modules: `hertzbeat-common-core` and `hertzbeat-common-spring`. It 
updates dependencies across multiple projects to reference the new modules and 
restructures the dependencies within the core module to remove direct Spring 
and JPA dependencies, making it more lightweight and generic. The changes 
improve modularity and separation of concerns in the codebase.
   
   Dependency module restructuring:
   
   * Renamed `hertzbeat-common` to `hertzbeat-common-core` and removed direct 
Spring Boot, JPA, and validation dependencies from its `pom.xml`, making it 
more generic and suitable for broader use.
   * Added optional dependencies for Jackson, Swagger, and Jakarta 
validation/annotation APIs to `hertzbeat-common-core` for improved flexibility 
and compatibility.
   
   Project dependency updates:
   
   * Updated `hertzbeat-collector` and `hertzbeat-collector-common` modules to 
depend on `hertzbeat-common-core` instead of `hertzbeat-common`. 
[[1]](diffhunk://#diff-a3afdb7ab3646ac7953de9c04900384aca6fbf4647f03f5ff386443b777cafbbL84-R84)
 
[[2]](diffhunk://#diff-4b8e7e0807f7e0c45e7778ae30621ea0f2c93970bdc349e9773cb00c4606bdf6L52-R52)
   * Updated `hertzbeat-ai` and `hertzbeat-base` modules to depend on the new 
`hertzbeat-common-spring` module, reflecting the separation of Spring-specific 
code. 
[[1]](diffhunk://#diff-f599babd7e92e2d84200f41bfeeb52d0661ff2d888fd9669fc313e74595d3ee4L62-R62)
 
[[2]](diffhunk://#diff-14cfbcc2e67eb3eab8743d2c3be16548036f540af1ad7ffed753a0228396db19L38-R38)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to