Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1396

Maven: Downloaded javadoc / sources not attached to artifact with classifier

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 11.3
    • None

    Description

      The Maven artifacts org.openjfx:javafx-controls and friends use a jar with classifier for each operating system for the actual classes, javafx-controls is only an empty shell. If I understand correctly, sources / javadoc are attached in maven by having additional artifacts with the classifiers "sources" and "javadoc". Both are available for javafx-controls etc., but NetBeans doesn't use them for javafx-controls (linux) (the platform specific version with the actual classes). I think that's a bug, NetBeans should use the sources and javadoc artifacts for all artifacts of the same groupId + artifactId.

      Steps to reproduce:

      1. Download attached maven project
      2. Right click Dependencies -> Download Javadoc + Download Sources
      3. Open App.java, see that no source / docs are attached for javafx.application.Application

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            zimmi Thomas Zimmermann
            Votes:
            7 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 6.5h
                6.5h

                Slack

                  Issue deployment