Phases/Plugins and Maven Project Builder

Viewed 202

When i save changes in my java source code with Eclipse i notice in the Progress tab

enter image description here

As i am using Maven which phase or plugin (goal) is being invoked here ?

What happens behind the scene ?

2 Answers

Any change to the source code or pom file of the project signal eclipse to rebuild (if build automatically is enabled). However, maven builds, would check for the required artefacts from the remote repository and download them to local repository (under .maven dir) before running compile phase. Maven plugin can be configured to run offline in which when remote repository will not be queried - making the build execute faster.

Related