maven-issues mailing list archives

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

    [ https://jira.codehaus.org/browse/MANTTASKS-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272977#comment-272977
] 

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:

http://jira.codehaus.org/browse/GROOVY-4562


> <artifact:dependencies> spawns non-daemon thread
> ------------------------------------------------
>
>                 Key: MANTTASKS-213
>                 URL: https://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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message