<artifact:dependencies> spawns non-daemon thread
------------------------------------------------

                 Key: MANTTASKS-213
                 URL: http://jira.codehaus.org/browse/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: https://netbeans.org/bugzilla/show_bug.cgi?id=189868#c5
            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: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to