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

Unsigned artifact when enabling Java support

Rank to TopRank to BottomVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Running NetBeans 11 VC1 on JDK11 with an empty directory. Trying to create "Java with Maven/Java Frontend App" - I am asked to "download & activate" or just "activate". I select "download & activate".

      Download works OK, but then I am presented with an ugly warning: Enable unsigned components? That is scary, can we get rid of that?

      As far as I know the NBMs are created during NetBeans build - nb/updatecenters/build.xml b/nb/updatecenters/build.xml - I just don't know how they should be signed.

        <target name="javafx-nbms" description="Prepare NBMs for 3rd party libraries" depends="init">
            <subant  target="nbm" inheritall="false">
                <property name="build.dir" location="build/3rdparty-nbms"/>
                <fileset dir="${nb_all}/extra" includes="libs.javafx.*/build.xml"/>
            </subant>
            <taskdef name="makeupdatedesc" classname="org.netbeans.nbbuild.MakeUpdateDesc"
                     classpath="${nbantext.jar}"/>
      
            <property name="3rdparty.dir" location="build/classes/org/netbeans/modules/updatecenters/resources"/>
            <mkdir dir="${3rdparty.dir}"/>
            <makeupdatedesc desc="${3rdparty.dir}/3rdparty-catalog.xml" distbase="." uselicenseurl="true">
                <fileset dir="build/3rdparty-nbms">
                    <include name="*.nbm"/>
                </fileset>
            </makeupdatedesc>
            <copy todir="${3rdparty.dir}">
                <fileset dir="build/3rdparty-nbms">
                    <include name="*.nbm"/>
                </fileset>
            </copy>
        </target>

      Attachments

        Activity

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

          People

            lkishalmi Laszlo Kishalmi
            jtulach Jaroslav Tulach
            Votes:
            0 Vote for this issue
            Watchers:
            6 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 - 1h
                1h

                Issue deployment