inlong icon indicating copy to clipboard operation
inlong copied to clipboard

[INLONG-7784][Tool] Support parallel compilation and packaging

Open huanzhang opened this issue 1 year ago • 2 comments

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?

  1. 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.
  2. CR pipeline does not need to generate distribution

Modifications

  1. Remove package Distribution from CR pipeline
  2. Clear distribution modules and all dependencies in the project

huanzhang avatar Oct 26 '23 03:10 huanzhang