Apache Ant was a task-oriented build tool which was widely used in Java application builds. for those who remember it. Task-oriented.
What Maven brought was an opinionated approach to the build. No more tasks; goals. Yes, there are options, but they all focus on the goal at hand. The process