Any options to improve maven build in the IDE #1986
Unanswered
phermsdorf
asked this question in
Q&A
Replies: 1 comment
-
maybe the same problem as in #1670 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
we have a mixed-mode multi-module maven build. So we have about 500 maven modules, from which round about the half are plain maven projects and the other half are Eclipse RCP OSGi bundles.
Around 1/3 of the pure maven modules generate a MANIFEST.MF with the felix maven-bundle-plugin so that the OSGi bundles can consume code from them.
The RCP OSGi bundles haven defined a maven dependency to the plain maven bundles in thei pom.xml to make sure they are build in the correct order.
When importing this reactor or switching branches it takes quite some time until the build finishes, even on a fast machine.
One can observe that the (maven)build is often interrupted by updating plugin-dependencies and then seems to start over again.
I've recorded an example build which to some degree show's the process:
https://github.com/user-attachments/assets/87dfaf0f-c26a-4f80-bb95-69dfd7ab0383
I suspect that this interruption is because of the MANIFEST generation of the maven-bundle-plugin.
Is this even a problem regarding the overall build duration?
Are there any options or ideas to improve the overall build speed?
Like, "first build all 'real' maven projects and then the RCP ones" or something like that?
Thanks for any hints or suggestions on this.
Bye Peter
Beta Was this translation helpful? Give feedback.
All reactions