Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
11.0
-
None
-
All platforms
Description
If a maven artifact uses classifiers, then Netbeans isn't able to provide code completion or to display Javadocs.
To avoid duplication, sources and javadocs usually belong to the 'parent' artifact, which has no classifier. But the actually used jar archive (the library) resides within the artifact with classifier.
A good example for this is JavaFX. The artifact javafx-base is an empty shell and depending on the operating system the platform dependent library is used, by utilizing classifiers. In the case of linux this would be the javafx-base-11.0.2-linux.jar.
Netbeans will not find the corresponding sources or javadoc archives, because it looks for javafx-base-11.0.2-linux-sources.jar and javafx-base-11.0.2-linux-javadoc.jar, but it won't look for javafx-base-11.0.2-sources.jar and javafx-base-11.0.2-javadoc.jar.
As a temporary solution i created symlinks to the existing sources and javadoc archives. But this solution also doesn't work as excepted. The sources are found, but the Javadocs for a field or method can only be displayed as long all parameters and return types belong to the same artifact.
Attachments
Attachments
Issue Links
- is related to
-
NETBEANS-3296 Attaching JavaFX Javadoc and Sources
- Open