Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20886

Use parallel Maven build to speed up build time

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 4.x
    • build system
    • None
    • Unknown

    Description

      if we can use parallel Maven build, it could save a lot of time during build phase locally and on CIs.
      Example on my locla machine with 8 cores with all dependencies downloaded:

      • 11' for mvn clean install -D quickly
      • 6'30 for mvn clean install -D quickly -T 1C

      Different possibilities:

      • use it by default, configured in the pom (requires to be sure it is working great in all environments)
      • include parameter only for GitHub actions and provide documentation for end-user to allow faster nuild and let them experiment for a while
      • provide documentation for end-user to allow faster nuild and let them experiment for a while

      Attachments

        Activity

          People

            Unassigned Unassigned
            apupier Aurélien Pupier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: