[
https://issues.apache.org/jira/browse/GROOVY-4562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17468265#comment-17468265
]
Paul King edited comment on GROOVY-4562 at 1/3/22, 11:01 PM:
-------------------------------------------------------------
[~emilles] That looks like what we should now recommend and solves the case
shown in this issue. Since we don't currently have any documentation using the
old Maven Ant Tasks, we could just close this issue. Better would be to add
your example (perhaps adding an assert to check it worked) to
{{AntBuilderSpecTest}} and reference it in {{_ant-builder.adoc}}.
To be clear though, the Maven Ant tasks had numerous tasks: Dependencies task,
Install and Deploy tasks, Pom task, WritePom task, and Mvn task. The Maven
resolver ant tasks replace just the first of these tasks if I understand
correctly. I'd still close the issue in any case. The old tasks won't be taken
out of retirement and can still be used (give or take the threading issue) but
we are better to promote the currently supported options even if only a subset
of previous functionality.
was (Author: paulk):
[~emilles] That looks like what we should now recommend and solves the case
shown in this issue. Since we don't currently have any documentation using the
old Maven Ant Tasks, we could just close this issue. Better would be to add
your example (perhaps adding an assert to check it worked) to
{{AntBuilderSpecTest}} and reference it in {{_ant-builder.adoc}}.
To be clear though, the Maven Ant tasks had numerous tasks: Dependencies task,
Install and Deploy tasks, Pom task, WritePom task, and Mvn task. The Maven
resolver ant tasks replace just the first of these tasks if I understand
correctly. I'd still close the issue in any case. The old tasks won't be taken
out of retirement and can still be used but we are better to promote the
currently supported options even if only a subset of previous functionality.
> antbuilder does not work well with maven-ant-tasks
> --------------------------------------------------
>
> Key: GROOVY-4562
> URL: https://issues.apache.org/jira/browse/GROOVY-4562
> Project: Groovy
> Issue Type: Bug
> Components: Ant integration
> Affects Versions: 1.7.5
> Environment: wxp sp3, jdk 1.6.0_20, groovy 1.7.5 - 1.8.0,
> maven-ant-tasks 2.1.0 - 2.1.3
> Reporter: Pertino Juan
> Assignee: Eric Milles
> Priority: Minor
> Attachments: build.groovy, build.xml
>
>
> ant builder does not seem to realize when the maven dependencies task has
> finished
> the script that run the task must thus be killed. no workaround found.
> a quick inspection reveals a thread pool defying program termination
> did i miss any antbuilder flag?
> i dont really know where the problem comes from
> and im inclined to believe its a maven-ant-tasks thing,
> but as the equivalent ant project works just fine...
> attached is the simplest failing example and the working ant build
--
This message was sent by Atlassian Jira
(v8.20.1#820001)