Example 7 — using Maven Resolver Ant Tasks from a Groovy script

This example shows how to define your dependencies in a Groovy script that uses AntBuilder.

  • If you have groovy installed run groovy run.groovy
  • To run the groovy script via ant just do ant run