The following groovy script uses ivy to resolve dependencies
import groovy.xml.NamespaceBuilder // Main program // ============ def ant = new AntBuilder() def ivy = NamespaceBuilder.newInstance(ant, "antlib:org.apache.ivy.ant") ivy.resolve( inline:true, keep:true, conf:"default", organisation:"org.springframework", module:"spring-core", revision:"3.1.1.RELEASE", ) ivy.report(toDir:"reports")
Creates an HTML report and graphic file:
|-- report.groovy |-- reports | |-- ivy-report.css | |-- org.springframework-spring-core-caller-default.graphml | `-- org.springframework-spring-core-caller-default.html
source share