buildNeeded runs a full build for all the projects on which the project depends. In particular, it runs test for dependent projects, which may make sense if you want to play safely. For comparison, build performs only a minimal set of tasks for projects with a dependency on it (for example, jar ), enough to satisfy the dependency. build used more often than buildNeeded .
Peter Niederwieser
source share