Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7113

Developing NiFi custom processors from maven archetype in NetBeans 8.2 fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • nifi-nar-maven-plugin-1.3.1, 1.11.0
    • None
    • Tools and Build
    • None
    • Windows 10
      NetBeans 8.2

    Description

      Cannot create a project from a maven Archetype.
      Steps to reproduce in NetBeans 8.2:
      File-> New Project -> Maven -> Project from Maven Archetype and then selecting nifi-processor-bundle-archetype from the available archetypes. (screenshots attached)

      Related info:
      After some investigation I figured out that file can't be downloaded:
      http://repo.maven.apache.org/maven2/org/apache/nifi/nifi/1.11.0/nifi-1.11.0.pom
      as the protocol needs to be set to HTTPS. So I created a custom repository (and built the index) which uses the HTTPS protocol and try to create the project using it. However, it seems the HTTP version is still used, so creating the project failed again.

      When I browsed the Maven repositories in the Services tab and tried to download certain org.apache.nifi poms I got error messages that some dependencies are broken which is not clear how to fix.

      I figured out further that the protocol has not been changed to https for the nifi-nar-maven-plugin. The path to it is:
      Expand Services tab, expand Maven Repository, Central Repository and org.apache.nifi under it.
      Expand the nifi-nar-maven-plugin and download the 1.3.1 jar.
      The pom for which the protocol has not been changed is under META-INF.maven.org.apache.nifi.nifi-nar-maven-plugin .

      Attachments

        1. project-settings.png
          28 kB
          Valentina Ivanova
        2. result.png
          71 kB
          Valentina Ivanova
        3. select-archetype.png
          24 kB
          Valentina Ivanova

        Activity

          People

            Unassigned Unassigned
            valentina.ivanova@ri.se Valentina Ivanova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: