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.
The option for adding local sources to a project dependency ("Library") could be improved by allowing the user to specify a directory instead of a JAR or ZIP file. Is there any reason I can't select a local folder that contains the source code for a library my project depends on?
Note: my project is a Maven project - I don'tknow if the same rules apply to "normal" NetBeans projects.
Reassigning to "maven".
maven project dependencies' sources are expected to be present in local/remote repositories in jar files. As created per the sources:jar goal. the maven support will only look in the local repository for the sources artifact based on the identification of the binary artifact. The IDE is not keeping any data structures for finding sources. Supporting folders as sources for dependencies is not planned.