Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Maven / Eclipse Integration Very Slow

I'm not sure but might this be related:
https://stackoverflow.com/questions/23399188/eclipse-build-loop-caused-by-protobuf-generated-code-related-to-maven-project-b

/Pontus

On Fri, Aug 24, 2018 at 10:48 AM Alex Chatziparaskewas <chatziparaskewas@xxxxxxxxxxx> wrote:

Hi All

 

We have a small undertaking with a total of about 10 individual projects currently. The entire thing can be build using Maven (via m2e). Nothing spectacular: some dependencies, protobuffer generation, compilation, etc. Running a full build using Maven takes a total of about 1 minute. All projects imported into Eclipse, Eclipse automatic building activated, m2e activated, full build takes about 10 minutes. While mostly the Eclipse incremental compile works, sometimes the Eclipse build just runs off, calling Maven to do ‘something’ and everything gets stuck for minutes. From the Eclipse progress bar and from the Maven Console logs there is nothing obvious, which points directly to a problem, but it seems like the Eclipse build and the Maven build are having fun together. Maybe Maven triggering some Eclipse build and Eclipse back triggering some Maven build again. We have played around a bit with settings and order of builders, but no success so far.


So big question: how to use a maven project in Eclipse? Should the automatic build feature be disabled? Should the maven compile be disable? How to salvage as much incremental compiling as possible?

 

If the project would get really big, what would happen then?

 

Any help, hints or ideas would be greatly appreciated.

 

Thanks & Regards,

Alex


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users

Back to the top