This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 240209 - Downloading Junit module from UC for maven project?
Summary: Downloading Junit module from UC for maven project?
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Test Runner (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-10 11:25 UTC by Tomas Danek
Modified: 2015-09-14 15:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2014-01-10 11:25:40 UTC
Product Version: NetBeans IDE 8.0 Beta (Build 201401091443)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b65
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b122
System: Mac OS X version 10.9.1 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/8.0beta
Cache directory: /Users/tomas/Library/Caches/NetBeans/8.0beta
-------------------
- installed beta build, then went offline
- created simple java maven app
- created a class
- tried to generate junit test for this class - dialog with "Download JUnit" question appears. 
This seems to be a little odd to me, since I'd like to add to classpath JUnit in my local repo, so there's IMO no need to download JUnit module for my case (that module is just a wrapper of junit jar, AFAIK).
Comment 1 Theofanis Oikonomou 2015-09-14 15:23:41 UTC
This was indeed reproducible. I think that http://hg.netbeans.org/web-main/rev/459035808e45 and http://hg.netbeans.org/core-main/rev/b8ed12ff61bf fixed this issue, after fixing bug 245637, by bundling junit-4.x and removing the unnecessary clutter of dialogs for downloading junit binaries. Thanks