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 174477 - [68cat] Declare as direct dependency should maintain scope
Summary: [68cat] Declare as direct dependency should maintain scope
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P4 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-13 17:17 UTC by denbo
Modified: 2009-10-14 23:03 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 denbo 2009-10-13 17:17:37 UTC
[ BUILD # : 200910071658 ]
[ JDK VERSION : 1.6.* ]

Right-click on a jar in the _Test_ Libraries node of a project,
select "Declare as direct dependency". 
Where I would expect this to maintain the original scope (test), no
scope tag is rendered in the new dependency entry, effectively
changing the scope to the default.

The least surprising behavior would be to keep the previously
assigned scope.
Comment 1 Milos Kleint 2009-10-14 08:31:02 UTC
http://hg.netbeans.org/main/rev/1e46c8d585e0
Comment 2 Quality Engineering 2009-10-14 23:03:17 UTC
Integrated into 'main-golden', will be available in build *200910141401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1e46c8d585e0
User: Milos Kleint <mkleint@netbeans.org>
Log: #174477 proper scope when setting the dependency