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 189350 - Adding an open project as a dependency triggers Javadoc download
Summary: Adding an open project as a dependency triggers Javadoc download
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: _ theanuradha
URL:
Keywords:
Depends on:
Blocks: 189312 190203
  Show dependency tree
 
Reported: 2010-08-10 11:58 UTC by Antonin Nebuzelsky
Modified: 2010-09-07 09:03 UTC (History)
1 user (show)

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 Antonin Nebuzelsky 2010-08-10 11:58:39 UTC
When one open project is added as a dependency of another open project, a background task Download Javadoc (maybe also Download Sources) is triggered and javadoc is being downloaded for the libraries of the project.
Comment 1 Jesse Glick 2010-08-10 18:11:29 UTC
I would say this is a feature, not a bug. Without local Javadoc you cannot get documentation in code completion.
Comment 2 Antonin Nebuzelsky 2010-08-12 09:23:58 UTC
Correct, but the current behavior is inconsistent with the global options for Javadoc/Sources download on project opening (in Options/Misc/Maven) where it defaults to Never.

It should probably use the global setting value also when adding a project A as a dependency of project B and let the user download Javadoc/Sources manually with the action Download Javadoc / Download Sources on project's Dependencies node when Never is chosen in Options.
Comment 3 _ theanuradha 2010-09-02 04:12:02 UTC
changeset   : 176976:94f544b7ecd4
author      : Anuradha G <theanuradha@netbeans.org>
date        : Thu Sep 02 09:37:43 IST 2010
summary     : bugfix# 189350 : honer global  maven settings when dependency triggers Javadoc download


# But on maven settings panel some what confusing,download strategy is label as "On Project Open:" but it should not be (it should be something like "Dependency Download Strategy").Please create new tickets to fix this