[
https://issues.apache.org/jira/browse/MRESOLVER-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17345771#comment-17345771
]
Nils Breunese commented on MRESOLVER-181:
-----------------------------------------
I tried this ticket as my first contribution to Maven. I have a pull request
that updates Ant to 1.9.15 and replaces the use of {{BuildFileTest}} with
{{BuildFileRule}}. {{mvn clean verify}} is passing
However, {{mvn -X -Prun-its verify}} is failing:
{code}
[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
{code}
I'm afraid I don't know why this happens.
> Upgrade Ant to 1.9.15
> ---------------------
>
> Key: MRESOLVER-181
> URL: https://issues.apache.org/jira/browse/MRESOLVER-181
> Project: Maven Resolver
> Issue Type: Dependency upgrade
> Components: Ant Tasks
> Reporter: Sylwester Lachiewicz
> Priority: Minor
> Labels: up-for-grabs
>
> - upgrade Ant
> - switch test cases to BuildFileRule (from deprecated BuildFileTest)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)