apache / apache/netbeans

unable to update already downloaded javadoc and source for dependency

Open
#8,043 0 comments 0 reactions 0 assignees View on GitHub
JavaDoc kind:bug Maven needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 23

### What happened

I have a SNAPSHOT dependency, which is provided from another team. So I have only maven dependency access. Now I attached sources and javadoc to this dependency via normal Netbeans popup actions.
The external dependency was now updated with corrected javadoc and sources, but the version number did not change (1.1-SNAPSHOT). There should be a refresh button to actualize sources and javadoc. Or did I miss something?

My solution at the moment is to tell maven to check sources and javadoc at project load. This actualizes both. However, now for every dependency sources / javadocs are downloaded.

### Language / Project Type / NetBeans Component

_No response_

### How to reproduce

follow the instructions above

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

Windows 11

### JDK

21.0.4; OpenJDK 64-Bit Server VM 21.0.4+7-LTS (IDE)

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start by tracing the normal NetBeans popup actions for attaching sources and Javadoc, then compare them with the Maven project-load option described in the issue. Identify where a refresh action could update an unchanged SNAPSHOT version without downloading sources or Javadoc for every dependency; done means both artifacts can be refreshed selectively.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.