Question: why maven plugins are used?
Answer: In other words, plugins are where much of the real action is performed, plugins are used to: create jar files, create war files, compile code, unit test code, create project documentation, and on and on. ... Plugins are the central feature of Maven that allow for the reuse of common build logic across multiple projects.