inlong
inlong copied to clipboard
[INLONG-7784][Tool] Support parallel compilation and packaging
Prepare a Pull Request
- Fixes #7784
Motivation
When using mvn -B or mvnd to compile the project, various problems will occur and the compilation will fail. The CR pipeline runs too slowly.
Reasons why parallel packaging cannot be done?
- The inlong-distribution module uses assembly to compress and package the output of each module together. However, the module dependencies are not clearly specified in the pom file, causing maven to infer dependencies.
- CR pipeline does not need to generate distribution
Modifications
- Remove package Distribution from CR pipeline
- Clear distribution modules and all dependencies in the project