When using Apache Buildr, the project pulls in ant 1.6.5
as a dependency. It seems that when testing the project, Buildr uses ant 1.8.0
and puts it on the classpath. JUnit complains about multiple ant versions.
It is possible to set
Buildr.settings.build['ant'] = "1.6.5"
but Buildr tries to download with artifact group org.apache.ant
, while ant 1.6.5
uses group ant
.
How should one resolve such situation?