shaun.t.erickson wrote:
[INFO] --- maven-antrun-plugin:1.3:run (metrics-for-eclipse) @ ccl --- [DEBUG] org.apache.maven.plugins:maven-antrun-plugin:jar:1.3: [DEBUG] org.apache.ant:ant-nodeps:jar:1.7.0:runtime [DEBUG] ant-contrib:ant-contrib:jar:1.0b3:runtime [DEBUG] ant:ant:jar:1.5:runtime [...] Caused by: java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close(Ljava/io/InputStream;)V
The POM seems to manually add ant-contrib:1.0b3 to the plugin classpath which in turns pulls in ant:1.5 which lacks the method in question. Furthermore, the different groupIds used for ant (ant vs org.apache.ant) prevent Maven from detecting this version conflict.
Either a newer version of ant-contrib that depends on ant:1.7+ needs to be used or an exclusion for ant:ant added to the dependency declaration for ant-contrib.
Benjamin --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
