I'm using a modern version of Eclipse with few plug-ins on a powerful computer to build a rather small Maven-based Java project which also has one other Eclipse project as dependency†. Nevertheless, the build times for this project are atrocious — to the point that I even had to disable automatic building for the project, which I've never done before. How can one profile the actual build process of an Eclipse project which uses Maven for building?
Environment
- Windows 10 Pro 64-bit
- Intel i7-6700 CPU @ 3.40 GHz
- 8 GB RAM
- Eclipse JEE Neon.1a Release (4.6.1), located on a traditional HDD
- Maven runtime 3.3.9/1.7.0.20160603-1931 embedded in Eclipse
- Java JDK 1.8.0_112 (64-bit), located on an SSD drive
- The Eclipse projects in question are located on the same HDD as the IDE itself
Based on these specs, I see no excuse for such slow build times and so I'd like to be able to find the bottleneck responsible for them.
†I haven't got control over the project which is a dependency, and unfortunately it hasn't (yet) been converted into to a proper Maven project... which also means I'm currently stuck building my project in Eclipse.