Maven Ant Tasks had some support for calling Maven from Ant: https://maven.apache.org/ant-tasks/examples/mvn.html. <https://maven.apache.org/ant-tasks/examples/mvn.html>
Is there anything similar in Maven Artifact Resolver Ant Tasks or another project?