breun commented on pull request #6: URL: https://github.com/apache/maven-resolver-ant-tasks/pull/6#issuecomment-842498904
Running `mvn -X -Prun-its verify` shows this: ``` [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:3.0.0:run (smoke-test) on project maven-resolver-ant-tasks: An Ant BuildException has occured: The following error occurred while executing this line: [ERROR] /Users/breun/Projects/maven-resolver-ant-tasks/build.xml:98: java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.createTempFile(Lorg/apache/tools/ant/Project;Ljava/lang/String;Ljava/lang/String;Ljava/io/File;ZZ)Ljava/io/File; [ERROR] around Ant part ...<ant antfile="build.xml" />... @ 4:32 in /Users/breun/Projects/maven-resolver-ant-tasks/target/antrun/build-main.xml ``` I'm afraid I don't know what code is trying to execute `FileUtils.createTempFile(Project, String, String, File)`, but Ant 1.9.15's `FileUtils` indeed only has these `createTempFile` methods: * `public File createTempFile(final Project project, String prefix, String suffix, final File parentDir, final boolean deleteOnExit, final boolean createFile)` * `public File createTempFile(String prefix, String suffix, File parentDir)` (deprecated "since ant 1.7.1 use createTempFile(Project, String, String, File, boolean, boolean) instead") * `public File createTempFile(String prefix, String suffix, File parentDir, boolean deleteOnExit, boolean createFile)` (deprecated "since Ant 1.9.15 use createTempFile(Project, String, String, File, boolean, boolean) instead") * `public File createTempFile(String prefix, String suffix, File parentDir, boolean deleteOnExit)` (deprecated "since ant 1.7.1 use createTempFile(Project, String, String, File, boolean, boolean) instead") -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
