You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bing-ok (Jira)" <ji...@apache.org> on 2022/04/11 13:06:00 UTC

[jira] [Created] (NIFI-9900) Improve build performance of modules

Bing-ok created NIFI-9900:
-----------------------------

             Summary: Improve build performance of modules
                 Key: NIFI-9900
                 URL: https://issues.apache.org/jira/browse/NIFI-9900
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Tools and Build
    Affects Versions: 1.17.0
            Reporter: Bing-ok


Hi, I'm now using {*}nifi{*}. 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.

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:
{noformat}
org.apache.nifi:nifi-jetty depends on org.apache.nifi:nifi-web-api{noformat}
After clean up, the build time has been reduced by 2 minutes when I use parallel build during Github Actions.

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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)