Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.1.1
-
Fix Version/s: None
-
Component/s: dependencies task
-
Labels:None
-
Environment:Ubuntu, JDK 6 (but apparently also Vista); originally filed as: https://netbeans.org/bugzilla/show_bug.cgi?id=189868#c5
-
Number of attachments :
Description
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.
Issue Links
- depends upon
-
MNG-4738
DefaultArtifactResolver forks non-daemon threads
-
- is depended upon by
-
GROOVY-4562
antbuilder does not work well with maven-ant-tasks
-
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