maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Glick (JIRA)" <>
Subject [jira] Created: (MANTTASKS-213) <artifact:dependencies> spawns non-daemon thread
Date Sun, 06 Mar 2011 20:52:22 GMT
<artifact:dependencies> spawns non-daemon thread

                 Key: MANTTASKS-213
             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.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message