maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <>
Subject [jira] Commented: (MANTTASKS-213) <artifact:dependencies> spawns non-daemon thread
Date Tue, 12 Jul 2011 02:08:43 GMT


Paul King commented on MANTTASKS-213:

I suspect it affects all embedded usage of the maven ant tasks.
It certainly affects Groovy's AntBuilder as per:

> <artifact:dependencies> spawns non-daemon thread
> ------------------------------------------------
>                 Key: MANTTASKS-213
>                 URL:
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>          Components: dependencies task
>    Affects Versions: 2.1.1
>         Environment: Ubuntu, JDK 6 (but apparently also Vista); originally filed as:
>            Reporter: Jesse Glick
> When {{<artifact:dependencies>}} is run, {{DefaultArtifactResolver}} creates a
thread pool using non-daemon threads. Thus live threads are left in the thread group after
the task supposedly finishes. This can cause problems in containers such as NetBeans.
> The fix MNG-4738 is already in Maven 3.0; you just need to use Maven 3 in the task's
dependencies, rather than 2.2.1 as now.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message