Valentina Ivanova created NIFI-7113:
---------------------------------------

             Summary: Developing NiFi custom processors from maven archetype in 
NetBeans 8.2 fails
                 Key: NIFI-7113
                 URL: https://issues.apache.org/jira/browse/NIFI-7113
             Project: Apache NiFi
          Issue Type: Bug
          Components: Tools and Build
    Affects Versions: 1.11.0, nifi-nar-maven-plugin-1.3.1
         Environment: Windows 10
NetBeans 8.2
            Reporter: Valentina Ivanova
         Attachments: project-settings.png, result.png, select-archetype.png

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 .




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to