Open MC-JY opened 2 years ago
Hi,
for the JDBC module, it takes a lot of time because we build the jdbc-all jar, that include all the dependencies, and yes also the server, witch I'm not completely sure why it is required, I need to double check that.
I think an approach could be make the build of the jdbc-all jar optional so is done only when run on snapshot publish and release, not at every test build, this should save some time.
For the distribution packages yes we do not have the direct module dependency with some of the jars like the jdbc, but we want to include the specific jar in the dist anyway to produce a comprehensive bundle.
I'm also looking for speedup and make the build lighter that take a toll also in our build systems, so any help is welcome.
Regards
Hi, I'm now using orientdb. I found that the build time of the project is not very fast when I used
mvn -T 1C install -DskipTests
command to build the project during Github Actions. So I try to speed up the build performance of the project. The goal here is to clean up dependencies between maven modules in the project in order to improve the build performance.Thread usage before cleaning up module dependencies was this:
Using
mvn dependency:analyze
command I managed to have an overview of the unused dependencies of every module. I focused only on the dependencies between modules. The following dependencies can be cleaned up:After clean up, the build time has been reduced by 1min7s when I use parallel build during Github Actions. Thread usage after cleaning up module dependencies was this:
Could you help me review this issue? I can submit a PR to improve build performance of the project.
Thank you very much for your attention. Best regards.