<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Nifi Building error when creating a brand new custom processor in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383642#M244998</link>
    <description>&lt;P&gt;I'm trying to create a new Nifi custom processor.&lt;BR /&gt;I'm following instructions given on 4 differents tutorials.&lt;BR /&gt;I only create the structure of the processor, I don't even try to modifiy the code and I'm always having the same mvn clean install [ERROR].&lt;BR /&gt;Can you please help me to resolve this ?&lt;BR /&gt;A huge thanks!!!&lt;/P&gt;&lt;P&gt;OS : Windows 10 Home&lt;BR /&gt;Nifi version : 2.0.0-M2&lt;BR /&gt;Maven : Apache Maven 3.9.6&lt;BR /&gt;JDK : Java version: 21.0.2, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-21&lt;BR /&gt;Me version : Java and Maven newbi (0.0.1)&lt;/P&gt;&lt;P&gt;Maven is installed and I have added its bin to the path env var.&lt;BR /&gt;Jdk in installed and I have added its bin to the path env var.&lt;BR /&gt;JAVA_HOME env var is defined as C:\Program Files\Java\jdk-21, where my jdk is installed.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[ERROR] Failed to execute goal on project nifi-helloworld-nar: Could not resolve dependencies for project org.apache.nifi:nifi-helloworld-nar:nar:1.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.nifi:nifi-standard-services-api-nar:nar:1.0-SNAPSHOT (absent): org.apache.nifi:nifi-standard-services-api-nar:nar:1.0-SNAPSHOT was not found in &lt;A href="https://repository.apache.org/snapshots" target="_blank"&gt;https://repository.apache.org/snapshots&lt;/A&gt; during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of apache.snapshots has elapsed or updates are forced -&amp;gt; [Help 1]&lt;BR /&gt;[ERROR]&lt;BR /&gt;[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.&lt;BR /&gt;[ERROR] Re-run Maven using the -X switch to enable full debug logging.&lt;BR /&gt;[ERROR]&lt;BR /&gt;[ERROR] For more information about the errors and possible solutions, please read the following articles:&lt;BR /&gt;[ERROR] [Help 1] &lt;A href="http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException" target="_blank"&gt;http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException&lt;/A&gt;&lt;BR /&gt;[ERROR]&lt;BR /&gt;[ERROR] After correcting the problems, you can resume the build with the command&lt;BR /&gt;[ERROR] mvn &amp;lt;args&amp;gt; -rf :nifi-helloworld-nar&lt;BR /&gt;What I tried:&lt;BR /&gt;I've read a couple of tutorials (4) to create such a processor, they all tell to&lt;BR /&gt;mvn archetype:generate&lt;BR /&gt;cd created folder&lt;BR /&gt;mvn clean install&lt;BR /&gt;I've tried mvn clean install -e -X swicthes to try to see if I could understand any obvious mistake...&lt;BR /&gt;I've only included the log without -e -X not wanting to put too much informations here...&lt;BR /&gt;I'm probably not defining a needed environement variable or something...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Commands I used to (try to) create the custom processor:&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;mvn archetype:generate&lt;/EM&gt;&lt;BR /&gt;Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 2104: nifi type processor : 1 Choose org.apache.nifi:nifi-processor-bundle-archetype version: 67: 67 = 2.0.0-M2 Define value for property 'artifactBaseName': helloworld Define value for property 'groupId': org.apache.nifi Define value for property 'artifactId': nifi-helloworld-bundle Define value for property 'version' 1.0-SNAPSHOT: : Define value for property 'package' org.apache.nifi.processors.helloworld: : Confirm properties configuration: artifactBaseName: helloworld nifiVersion: 2.0.0-M2 groupId: org.apache.nifi artifactId: nifi-helloworld-bundle version: 1.0-SNAPSHOT package: org.apache.nifi.processors.helloworld Y: : Y&lt;BR /&gt;&lt;EM&gt;cd nifi-helloworld-bundle&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mvn clean install&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The log of these commands:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;C:\Users\ASUS\Desktop\nifi-custom-processor&amp;gt;mvn archetype:generate&lt;BR /&gt;[INFO] Scanning for projects...&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] ------------------&amp;lt; org.apache.maven:standalone-pom &amp;gt;-------------------&lt;BR /&gt;[INFO] Building Maven Stub Project (No POM) 1&lt;BR /&gt;[INFO] --------------------------------[ pom ]---------------------------------&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] &amp;gt;&amp;gt;&amp;gt; archetype:3.2.1:generate (default-cli) &amp;gt; generate-sources @ standalone-pom &amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] &amp;lt;&amp;lt;&amp;lt; archetype:3.2.1:generate (default-cli) &amp;lt; generate-sources @ standalone-pom &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- archetype:3.2.1:generate (default-cli) @ standalone-pom ---&lt;BR /&gt;[INFO] Generating project in Interactive mode&lt;BR /&gt;[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)&lt;BR /&gt;Choose archetype:&lt;BR /&gt;1: remote -&amp;gt; am.ik.archetype:elm-spring-boot-blank-archetype (Blank multi project for Spring Boot + Elm)&lt;BR /&gt;2: remote -&amp;gt; am.ik.archetype:graalvm-blank-archetype (Blank project for GraalVM)&lt;BR /&gt;3: remote -&amp;gt; am.ik.archetype:graalvm-springmvc-blank-archetype (Blank project for GraalVM + Spring MVC)&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;3356: remote -&amp;gt; za.co.absa.hyperdrive:component-archetype_2.11 (-)&lt;BR /&gt;3357: remote -&amp;gt; za.co.absa.hyperdrive:component-archetype_2.12 (-)&lt;BR /&gt;Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 2104: nifi&lt;BR /&gt;Choose archetype:&lt;BR /&gt;1: remote -&amp;gt; org.apache.nifi:nifi-processor-bundle-archetype (-)&lt;BR /&gt;2: remote -&amp;gt; org.apache.nifi:nifi-service-bundle-archetype (-)&lt;BR /&gt;Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 1&lt;BR /&gt;Choose org.apache.nifi:nifi-processor-bundle-archetype version:&lt;BR /&gt;1: 0.0.2-incubating&lt;BR /&gt;2: 0.1.0-incubating&lt;BR /&gt;3: 0.2.0-incubating&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;64: 1.24.0&lt;BR /&gt;65: 1.25.0&lt;BR /&gt;66: 2.0.0-M1&lt;BR /&gt;67: 2.0.0-M2&lt;BR /&gt;Choose a number: 67:&lt;BR /&gt;Define value for property 'artifactBaseName': helloworld&lt;BR /&gt;[INFO] Using property: nifiVersion = 2.0.0-M2&lt;BR /&gt;Define value for property 'groupId': org.apache.nifi&lt;BR /&gt;Define value for property 'artifactId': nifi-helloworld-bundle&lt;BR /&gt;Define value for property 'version' 1.0-SNAPSHOT: :&lt;BR /&gt;Define value for property 'package' org.apache.nifi.processors.helloworld: :&lt;BR /&gt;Confirm properties configuration:&lt;BR /&gt;artifactBaseName: helloworld&lt;BR /&gt;nifiVersion: 2.0.0-M2&lt;BR /&gt;groupId: org.apache.nifi&lt;BR /&gt;artifactId: nifi-helloworld-bundle&lt;BR /&gt;version: 1.0-SNAPSHOT&lt;BR /&gt;package: org.apache.nifi.processors.helloworld&lt;BR /&gt;Y: : Y&lt;BR /&gt;[INFO] ----------------------------------------------------------------------------&lt;BR /&gt;[INFO] Using following parameters for creating project from Archetype: nifi-processor-bundle-archetype:2.0.0-M2&lt;BR /&gt;[INFO] ----------------------------------------------------------------------------&lt;BR /&gt;[INFO] Parameter: groupId, Value: org.apache.nifi&lt;BR /&gt;[INFO] Parameter: artifactId, Value: nifi-helloworld-bundle&lt;BR /&gt;[INFO] Parameter: version, Value: 1.0-SNAPSHOT&lt;BR /&gt;[INFO] Parameter: package, Value: org.apache.nifi.processors.helloworld&lt;BR /&gt;[INFO] Parameter: packageInPathFormat, Value: org/apache/nifi/processors/helloworld&lt;BR /&gt;[INFO] Parameter: package, Value: org.apache.nifi.processors.helloworld&lt;BR /&gt;[INFO] Parameter: artifactBaseName, Value: helloworld&lt;BR /&gt;[INFO] Parameter: groupId, Value: org.apache.nifi&lt;BR /&gt;[INFO] Parameter: artifactId, Value: nifi-helloworld-bundle&lt;BR /&gt;[INFO] Parameter: nifiVersion, Value: 2.0.0-M2&lt;BR /&gt;[INFO] Parameter: version, Value: 1.0-SNAPSHOT&lt;BR /&gt;[WARNING] Don't override file C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-processors&lt;BR /&gt;[WARNING] Don't override file C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-processors\src\main\java\org\apache\nifi\processors\helloworld&lt;BR /&gt;[WARNING] Don't override file C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-processors\src\test\java\org\apache\nifi\processors\helloworld&lt;BR /&gt;[WARNING] Don't override file C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-nar&lt;BR /&gt;[INFO] Project created from Archetype in dir: C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;BR /&gt;[INFO] BUILD SUCCESS&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;BR /&gt;[INFO] Total time: 01:20 min&lt;BR /&gt;[INFO] Finished at: 2024-02-20T11:08:03-05:00&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;C:\Users\ASUS\Desktop\nifi-custom-processor&amp;gt;dir&lt;/P&gt;&lt;P&gt;2024-02-20 11:08 AM &amp;lt;DIR&amp;gt; .&lt;BR /&gt;2024-02-20 11:08 AM &amp;lt;DIR&amp;gt; ..&lt;BR /&gt;2024-02-20 11:08 AM &amp;lt;DIR&amp;gt; nifi-helloworld-bundle&lt;/P&gt;&lt;P&gt;C:\Users\ASUS\Desktop\nifi-custom-processor&amp;gt;cd nifi-helloworld-bundle&lt;/P&gt;&lt;P&gt;C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle&amp;gt;mvn clean install&lt;BR /&gt;[INFO] Scanning for projects...&lt;BR /&gt;[INFO] Inspecting build with total of 3 modules...&lt;BR /&gt;[INFO] Installing Nexus Staging features:&lt;BR /&gt;[INFO] ... total of 3 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;BR /&gt;[INFO] Reactor Build Order:&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] nifi-helloworld-bundle [pom]&lt;BR /&gt;[INFO] nifi-helloworld-processors [jar]&lt;BR /&gt;[INFO] nifi-helloworld-nar [nar]&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] ---------------&amp;lt; org.apache.nifi:nifi-helloworld-bundle &amp;gt;---------------&lt;BR /&gt;[INFO] Building nifi-helloworld-bundle 1.0-SNAPSHOT [1/3]&lt;BR /&gt;[INFO] from pom.xml&lt;BR /&gt;[INFO] --------------------------------[ pom ]---------------------------------&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- clean:3.3.2:clean (default-clean) @ nifi-helloworld-bundle ---&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- enforcer:3.4.1:enforce (enforce-maven-version) @ nifi-helloworld-bundle ---&lt;BR /&gt;[INFO] Rule 0: org.apache.maven.enforcer.rules.BanDuplicatePomDependencyVersions passed&lt;BR /&gt;[INFO] Rule 1: org.apache.maven.enforcer.rules.RequireSameVersions passed&lt;BR /&gt;[INFO] Rule 2: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed&lt;BR /&gt;[INFO] Rule 3: org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps passed&lt;BR /&gt;[INFO] Rule 4: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- enforcer:3.4.1:enforce (enforce-java-version) @ nifi-helloworld-bundle ---&lt;BR /&gt;[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- buildnumber:3.2.0:create (default) @ nifi-helloworld-bundle ---&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ nifi-helloworld-bundle ---&lt;BR /&gt;[INFO] Preparing remote bundle org.apache.apache.resources:apache-jar-resource-bundle:1.5&lt;BR /&gt;[INFO] Copying 3 resources from 1 bundle.&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- site:3.12.1:attach-descriptor (attach-descriptor) @ nifi-helloworld-bundle ---&lt;BR /&gt;[INFO] No site descriptor found: nothing to attach.&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- install:3.1.1:install (default-install) @ nifi-helloworld-bundle ---&lt;BR /&gt;[INFO] Installing C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\pom.xml to C:\Users\ASUS\.m2\repository\org\apache\nifi\nifi-helloworld-bundle\1.0-SNAPSHOT\nifi-helloworld-bundle-1.0-SNAPSHOT.pom&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] -------------&amp;lt; org.apache.nifi:nifi-helloworld-processors &amp;gt;-------------&lt;BR /&gt;[INFO] Building nifi-helloworld-processors 1.0-SNAPSHOT [2/3]&lt;BR /&gt;[INFO] from nifi-helloworld-processors\pom.xml&lt;BR /&gt;[INFO] --------------------------------[ jar ]---------------------------------&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- clean:3.3.2:clean (default-clean) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- enforcer:3.4.1:enforce (enforce-maven-version) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Rule 0: org.apache.maven.enforcer.rules.BanDuplicatePomDependencyVersions passed&lt;BR /&gt;[INFO] Rule 1: org.apache.maven.enforcer.rules.RequireSameVersions passed&lt;BR /&gt;[INFO] Rule 3: org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps passed&lt;BR /&gt;[INFO] Rule 4: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- enforcer:3.4.1:enforce (enforce-java-version) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- buildnumber:3.2.0:create (default) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Preparing remote bundle org.apache.apache.resources:apache-jar-resource-bundle:1.5&lt;BR /&gt;[INFO] Copying 3 resources from 1 bundle.&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- resources:3.3.1:resources (default-resources) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Copying 1 resource from src\main\resources to target\classes&lt;BR /&gt;[INFO] Copying 3 resources from target\maven-shared-archive-resources to target\classes&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- compiler:3.11.0:compile (default-compile) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Changes detected - recompiling the module! :source&lt;BR /&gt;[INFO] Compiling 1 source file with javac [forked debug deprecation release 21] to target\classes&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- resources:3.3.1:testResources (default-testResources) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] skip non existing resourceDirectory C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-processors\src\test\resources&lt;BR /&gt;[INFO] Copying 3 resources from target\maven-shared-archive-resources to target\test-classes&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Changes detected - recompiling the module! :dependency&lt;BR /&gt;[INFO] Compiling 1 source file with javac [forked debug deprecation release 21] to target\test-classes&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- surefire:3.1.2:test (default-test) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] -------------------------------------------------------&lt;BR /&gt;[INFO] T E S T S&lt;BR /&gt;[INFO] -------------------------------------------------------&lt;BR /&gt;[INFO] Running org.apache.nifi.processors.helloworld.MyProcessorTest&lt;BR /&gt;[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.139 s -- in org.apache.nifi.processors.helloworld.MyProcessorTest&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] Results:&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- jar:3.3.0:jar (default-jar) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Building jar: C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-processors\target\nifi-helloworld-processors-1.0-SNAPSHOT.jar&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- site:3.12.1:attach-descriptor (attach-descriptor) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Skipping because packaging 'jar' is not pom.&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- install:3.1.1:install (default-install) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Installing C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-processors\pom.xml to C:\Users\ASUS\.m2\repository\org\apache\nifi\nifi-helloworld-processors\1.0-SNAPSHOT\nifi-helloworld-processors-1.0-SNAPSHOT.pom&lt;BR /&gt;[INFO] Installing C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-processors\target\nifi-helloworld-processors-1.0-SNAPSHOT.jar to C:\Users\ASUS\.m2\repository\org\apache\nifi\nifi-helloworld-processors\1.0-SNAPSHOT\nifi-helloworld-processors-1.0-SNAPSHOT.jar&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] ----------------&amp;lt; org.apache.nifi:nifi-helloworld-nar &amp;gt;-----------------&lt;BR /&gt;[INFO] Building nifi-helloworld-nar 1.0-SNAPSHOT [3/3]&lt;BR /&gt;[INFO] from nifi-helloworld-nar\pom.xml&lt;BR /&gt;[INFO] --------------------------------[ nar ]---------------------------------&lt;BR /&gt;[WARNING] The POM for org.apache.nifi:nifi-standard-services-api-nar:nar:1.0-SNAPSHOT is missing, no dependency information available&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;BR /&gt;[INFO] Reactor Summary for nifi-helloworld-bundle 1.0-SNAPSHOT:&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] nifi-helloworld-bundle ............................. SUCCESS [ 1.669 s]&lt;BR /&gt;[INFO] nifi-helloworld-processors ......................... SUCCESS [ 3.124 s]&lt;BR /&gt;[INFO] nifi-helloworld-nar ................................ FAILURE [ 0.036 s]&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;BR /&gt;[INFO] BUILD FAILURE&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;BR /&gt;[INFO] Total time: 6.222 s&lt;BR /&gt;[INFO] Finished at: 2024-02-20T11:08:59-05:00&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;BR /&gt;[ERROR] Failed to execute goal on project nifi-helloworld-nar: Could not resolve dependencies for project org.apache.nifi:nifi-helloworld-nar:nar:1.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.nifi:nifi-standard-services-api-nar:nar:1.0-SNAPSHOT (absent): org.apache.nifi:nifi-standard-services-api-nar:nar:1.0-SNAPSHOT was not found in &lt;A href="https://repository.apache.org/snapshots" target="_blank"&gt;https://repository.apache.org/snapshots&lt;/A&gt; during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of apache.snapshots has elapsed or updates are forced -&amp;gt; [Help 1]&lt;BR /&gt;[ERROR]&lt;BR /&gt;[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.&lt;BR /&gt;[ERROR] Re-run Maven using the -X switch to enable full debug logging.&lt;BR /&gt;[ERROR]&lt;BR /&gt;[ERROR] For more information about the errors and possible solutions, please read the following articles:&lt;BR /&gt;[ERROR] [Help 1] &lt;A href="http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException" target="_blank"&gt;http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException&lt;/A&gt;&lt;BR /&gt;[ERROR]&lt;BR /&gt;[ERROR] After correcting the problems, you can resume the build with the command&lt;BR /&gt;[ERROR] mvn &amp;lt;args&amp;gt; -rf :nifi-helloworld-nar&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2024 19:35:01 GMT</pubDate>
    <dc:creator>coelacanth</dc:creator>
    <dc:date>2024-02-20T19:35:01Z</dc:date>
    <item>
      <title>Nifi Building error when creating a brand new custom processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383642#M244998</link>
      <description>&lt;P&gt;I'm trying to create a new Nifi custom processor.&lt;BR /&gt;I'm following instructions given on 4 differents tutorials.&lt;BR /&gt;I only create the structure of the processor, I don't even try to modifiy the code and I'm always having the same mvn clean install [ERROR].&lt;BR /&gt;Can you please help me to resolve this ?&lt;BR /&gt;A huge thanks!!!&lt;/P&gt;&lt;P&gt;OS : Windows 10 Home&lt;BR /&gt;Nifi version : 2.0.0-M2&lt;BR /&gt;Maven : Apache Maven 3.9.6&lt;BR /&gt;JDK : Java version: 21.0.2, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-21&lt;BR /&gt;Me version : Java and Maven newbi (0.0.1)&lt;/P&gt;&lt;P&gt;Maven is installed and I have added its bin to the path env var.&lt;BR /&gt;Jdk in installed and I have added its bin to the path env var.&lt;BR /&gt;JAVA_HOME env var is defined as C:\Program Files\Java\jdk-21, where my jdk is installed.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[ERROR] Failed to execute goal on project nifi-helloworld-nar: Could not resolve dependencies for project org.apache.nifi:nifi-helloworld-nar:nar:1.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.nifi:nifi-standard-services-api-nar:nar:1.0-SNAPSHOT (absent): org.apache.nifi:nifi-standard-services-api-nar:nar:1.0-SNAPSHOT was not found in &lt;A href="https://repository.apache.org/snapshots" target="_blank"&gt;https://repository.apache.org/snapshots&lt;/A&gt; during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of apache.snapshots has elapsed or updates are forced -&amp;gt; [Help 1]&lt;BR /&gt;[ERROR]&lt;BR /&gt;[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.&lt;BR /&gt;[ERROR] Re-run Maven using the -X switch to enable full debug logging.&lt;BR /&gt;[ERROR]&lt;BR /&gt;[ERROR] For more information about the errors and possible solutions, please read the following articles:&lt;BR /&gt;[ERROR] [Help 1] &lt;A href="http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException" target="_blank"&gt;http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException&lt;/A&gt;&lt;BR /&gt;[ERROR]&lt;BR /&gt;[ERROR] After correcting the problems, you can resume the build with the command&lt;BR /&gt;[ERROR] mvn &amp;lt;args&amp;gt; -rf :nifi-helloworld-nar&lt;BR /&gt;What I tried:&lt;BR /&gt;I've read a couple of tutorials (4) to create such a processor, they all tell to&lt;BR /&gt;mvn archetype:generate&lt;BR /&gt;cd created folder&lt;BR /&gt;mvn clean install&lt;BR /&gt;I've tried mvn clean install -e -X swicthes to try to see if I could understand any obvious mistake...&lt;BR /&gt;I've only included the log without -e -X not wanting to put too much informations here...&lt;BR /&gt;I'm probably not defining a needed environement variable or something...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Commands I used to (try to) create the custom processor:&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;mvn archetype:generate&lt;/EM&gt;&lt;BR /&gt;Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 2104: nifi type processor : 1 Choose org.apache.nifi:nifi-processor-bundle-archetype version: 67: 67 = 2.0.0-M2 Define value for property 'artifactBaseName': helloworld Define value for property 'groupId': org.apache.nifi Define value for property 'artifactId': nifi-helloworld-bundle Define value for property 'version' 1.0-SNAPSHOT: : Define value for property 'package' org.apache.nifi.processors.helloworld: : Confirm properties configuration: artifactBaseName: helloworld nifiVersion: 2.0.0-M2 groupId: org.apache.nifi artifactId: nifi-helloworld-bundle version: 1.0-SNAPSHOT package: org.apache.nifi.processors.helloworld Y: : Y&lt;BR /&gt;&lt;EM&gt;cd nifi-helloworld-bundle&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;mvn clean install&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The log of these commands:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;C:\Users\ASUS\Desktop\nifi-custom-processor&amp;gt;mvn archetype:generate&lt;BR /&gt;[INFO] Scanning for projects...&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] ------------------&amp;lt; org.apache.maven:standalone-pom &amp;gt;-------------------&lt;BR /&gt;[INFO] Building Maven Stub Project (No POM) 1&lt;BR /&gt;[INFO] --------------------------------[ pom ]---------------------------------&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] &amp;gt;&amp;gt;&amp;gt; archetype:3.2.1:generate (default-cli) &amp;gt; generate-sources @ standalone-pom &amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] &amp;lt;&amp;lt;&amp;lt; archetype:3.2.1:generate (default-cli) &amp;lt; generate-sources @ standalone-pom &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- archetype:3.2.1:generate (default-cli) @ standalone-pom ---&lt;BR /&gt;[INFO] Generating project in Interactive mode&lt;BR /&gt;[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)&lt;BR /&gt;Choose archetype:&lt;BR /&gt;1: remote -&amp;gt; am.ik.archetype:elm-spring-boot-blank-archetype (Blank multi project for Spring Boot + Elm)&lt;BR /&gt;2: remote -&amp;gt; am.ik.archetype:graalvm-blank-archetype (Blank project for GraalVM)&lt;BR /&gt;3: remote -&amp;gt; am.ik.archetype:graalvm-springmvc-blank-archetype (Blank project for GraalVM + Spring MVC)&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;3356: remote -&amp;gt; za.co.absa.hyperdrive:component-archetype_2.11 (-)&lt;BR /&gt;3357: remote -&amp;gt; za.co.absa.hyperdrive:component-archetype_2.12 (-)&lt;BR /&gt;Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 2104: nifi&lt;BR /&gt;Choose archetype:&lt;BR /&gt;1: remote -&amp;gt; org.apache.nifi:nifi-processor-bundle-archetype (-)&lt;BR /&gt;2: remote -&amp;gt; org.apache.nifi:nifi-service-bundle-archetype (-)&lt;BR /&gt;Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 1&lt;BR /&gt;Choose org.apache.nifi:nifi-processor-bundle-archetype version:&lt;BR /&gt;1: 0.0.2-incubating&lt;BR /&gt;2: 0.1.0-incubating&lt;BR /&gt;3: 0.2.0-incubating&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;64: 1.24.0&lt;BR /&gt;65: 1.25.0&lt;BR /&gt;66: 2.0.0-M1&lt;BR /&gt;67: 2.0.0-M2&lt;BR /&gt;Choose a number: 67:&lt;BR /&gt;Define value for property 'artifactBaseName': helloworld&lt;BR /&gt;[INFO] Using property: nifiVersion = 2.0.0-M2&lt;BR /&gt;Define value for property 'groupId': org.apache.nifi&lt;BR /&gt;Define value for property 'artifactId': nifi-helloworld-bundle&lt;BR /&gt;Define value for property 'version' 1.0-SNAPSHOT: :&lt;BR /&gt;Define value for property 'package' org.apache.nifi.processors.helloworld: :&lt;BR /&gt;Confirm properties configuration:&lt;BR /&gt;artifactBaseName: helloworld&lt;BR /&gt;nifiVersion: 2.0.0-M2&lt;BR /&gt;groupId: org.apache.nifi&lt;BR /&gt;artifactId: nifi-helloworld-bundle&lt;BR /&gt;version: 1.0-SNAPSHOT&lt;BR /&gt;package: org.apache.nifi.processors.helloworld&lt;BR /&gt;Y: : Y&lt;BR /&gt;[INFO] ----------------------------------------------------------------------------&lt;BR /&gt;[INFO] Using following parameters for creating project from Archetype: nifi-processor-bundle-archetype:2.0.0-M2&lt;BR /&gt;[INFO] ----------------------------------------------------------------------------&lt;BR /&gt;[INFO] Parameter: groupId, Value: org.apache.nifi&lt;BR /&gt;[INFO] Parameter: artifactId, Value: nifi-helloworld-bundle&lt;BR /&gt;[INFO] Parameter: version, Value: 1.0-SNAPSHOT&lt;BR /&gt;[INFO] Parameter: package, Value: org.apache.nifi.processors.helloworld&lt;BR /&gt;[INFO] Parameter: packageInPathFormat, Value: org/apache/nifi/processors/helloworld&lt;BR /&gt;[INFO] Parameter: package, Value: org.apache.nifi.processors.helloworld&lt;BR /&gt;[INFO] Parameter: artifactBaseName, Value: helloworld&lt;BR /&gt;[INFO] Parameter: groupId, Value: org.apache.nifi&lt;BR /&gt;[INFO] Parameter: artifactId, Value: nifi-helloworld-bundle&lt;BR /&gt;[INFO] Parameter: nifiVersion, Value: 2.0.0-M2&lt;BR /&gt;[INFO] Parameter: version, Value: 1.0-SNAPSHOT&lt;BR /&gt;[WARNING] Don't override file C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-processors&lt;BR /&gt;[WARNING] Don't override file C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-processors\src\main\java\org\apache\nifi\processors\helloworld&lt;BR /&gt;[WARNING] Don't override file C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-processors\src\test\java\org\apache\nifi\processors\helloworld&lt;BR /&gt;[WARNING] Don't override file C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-nar&lt;BR /&gt;[INFO] Project created from Archetype in dir: C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;BR /&gt;[INFO] BUILD SUCCESS&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;BR /&gt;[INFO] Total time: 01:20 min&lt;BR /&gt;[INFO] Finished at: 2024-02-20T11:08:03-05:00&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;C:\Users\ASUS\Desktop\nifi-custom-processor&amp;gt;dir&lt;/P&gt;&lt;P&gt;2024-02-20 11:08 AM &amp;lt;DIR&amp;gt; .&lt;BR /&gt;2024-02-20 11:08 AM &amp;lt;DIR&amp;gt; ..&lt;BR /&gt;2024-02-20 11:08 AM &amp;lt;DIR&amp;gt; nifi-helloworld-bundle&lt;/P&gt;&lt;P&gt;C:\Users\ASUS\Desktop\nifi-custom-processor&amp;gt;cd nifi-helloworld-bundle&lt;/P&gt;&lt;P&gt;C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle&amp;gt;mvn clean install&lt;BR /&gt;[INFO] Scanning for projects...&lt;BR /&gt;[INFO] Inspecting build with total of 3 modules...&lt;BR /&gt;[INFO] Installing Nexus Staging features:&lt;BR /&gt;[INFO] ... total of 3 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;BR /&gt;[INFO] Reactor Build Order:&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] nifi-helloworld-bundle [pom]&lt;BR /&gt;[INFO] nifi-helloworld-processors [jar]&lt;BR /&gt;[INFO] nifi-helloworld-nar [nar]&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] ---------------&amp;lt; org.apache.nifi:nifi-helloworld-bundle &amp;gt;---------------&lt;BR /&gt;[INFO] Building nifi-helloworld-bundle 1.0-SNAPSHOT [1/3]&lt;BR /&gt;[INFO] from pom.xml&lt;BR /&gt;[INFO] --------------------------------[ pom ]---------------------------------&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- clean:3.3.2:clean (default-clean) @ nifi-helloworld-bundle ---&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- enforcer:3.4.1:enforce (enforce-maven-version) @ nifi-helloworld-bundle ---&lt;BR /&gt;[INFO] Rule 0: org.apache.maven.enforcer.rules.BanDuplicatePomDependencyVersions passed&lt;BR /&gt;[INFO] Rule 1: org.apache.maven.enforcer.rules.RequireSameVersions passed&lt;BR /&gt;[INFO] Rule 2: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed&lt;BR /&gt;[INFO] Rule 3: org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps passed&lt;BR /&gt;[INFO] Rule 4: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- enforcer:3.4.1:enforce (enforce-java-version) @ nifi-helloworld-bundle ---&lt;BR /&gt;[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- buildnumber:3.2.0:create (default) @ nifi-helloworld-bundle ---&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ nifi-helloworld-bundle ---&lt;BR /&gt;[INFO] Preparing remote bundle org.apache.apache.resources:apache-jar-resource-bundle:1.5&lt;BR /&gt;[INFO] Copying 3 resources from 1 bundle.&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- site:3.12.1:attach-descriptor (attach-descriptor) @ nifi-helloworld-bundle ---&lt;BR /&gt;[INFO] No site descriptor found: nothing to attach.&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- install:3.1.1:install (default-install) @ nifi-helloworld-bundle ---&lt;BR /&gt;[INFO] Installing C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\pom.xml to C:\Users\ASUS\.m2\repository\org\apache\nifi\nifi-helloworld-bundle\1.0-SNAPSHOT\nifi-helloworld-bundle-1.0-SNAPSHOT.pom&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] -------------&amp;lt; org.apache.nifi:nifi-helloworld-processors &amp;gt;-------------&lt;BR /&gt;[INFO] Building nifi-helloworld-processors 1.0-SNAPSHOT [2/3]&lt;BR /&gt;[INFO] from nifi-helloworld-processors\pom.xml&lt;BR /&gt;[INFO] --------------------------------[ jar ]---------------------------------&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- clean:3.3.2:clean (default-clean) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- enforcer:3.4.1:enforce (enforce-maven-version) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Rule 0: org.apache.maven.enforcer.rules.BanDuplicatePomDependencyVersions passed&lt;BR /&gt;[INFO] Rule 1: org.apache.maven.enforcer.rules.RequireSameVersions passed&lt;BR /&gt;[INFO] Rule 3: org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps passed&lt;BR /&gt;[INFO] Rule 4: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- enforcer:3.4.1:enforce (enforce-java-version) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- buildnumber:3.2.0:create (default) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Preparing remote bundle org.apache.apache.resources:apache-jar-resource-bundle:1.5&lt;BR /&gt;[INFO] Copying 3 resources from 1 bundle.&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- resources:3.3.1:resources (default-resources) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Copying 1 resource from src\main\resources to target\classes&lt;BR /&gt;[INFO] Copying 3 resources from target\maven-shared-archive-resources to target\classes&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- compiler:3.11.0:compile (default-compile) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Changes detected - recompiling the module! :source&lt;BR /&gt;[INFO] Compiling 1 source file with javac [forked debug deprecation release 21] to target\classes&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- resources:3.3.1:testResources (default-testResources) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] skip non existing resourceDirectory C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-processors\src\test\resources&lt;BR /&gt;[INFO] Copying 3 resources from target\maven-shared-archive-resources to target\test-classes&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Changes detected - recompiling the module! :dependency&lt;BR /&gt;[INFO] Compiling 1 source file with javac [forked debug deprecation release 21] to target\test-classes&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- surefire:3.1.2:test (default-test) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] -------------------------------------------------------&lt;BR /&gt;[INFO] T E S T S&lt;BR /&gt;[INFO] -------------------------------------------------------&lt;BR /&gt;[INFO] Running org.apache.nifi.processors.helloworld.MyProcessorTest&lt;BR /&gt;[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.139 s -- in org.apache.nifi.processors.helloworld.MyProcessorTest&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] Results:&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- jar:3.3.0:jar (default-jar) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Building jar: C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-processors\target\nifi-helloworld-processors-1.0-SNAPSHOT.jar&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- site:3.12.1:attach-descriptor (attach-descriptor) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Skipping because packaging 'jar' is not pom.&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- install:3.1.1:install (default-install) @ nifi-helloworld-processors ---&lt;BR /&gt;[INFO] Installing C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-processors\pom.xml to C:\Users\ASUS\.m2\repository\org\apache\nifi\nifi-helloworld-processors\1.0-SNAPSHOT\nifi-helloworld-processors-1.0-SNAPSHOT.pom&lt;BR /&gt;[INFO] Installing C:\Users\ASUS\Desktop\nifi-custom-processor\nifi-helloworld-bundle\nifi-helloworld-processors\target\nifi-helloworld-processors-1.0-SNAPSHOT.jar to C:\Users\ASUS\.m2\repository\org\apache\nifi\nifi-helloworld-processors\1.0-SNAPSHOT\nifi-helloworld-processors-1.0-SNAPSHOT.jar&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] ----------------&amp;lt; org.apache.nifi:nifi-helloworld-nar &amp;gt;-----------------&lt;BR /&gt;[INFO] Building nifi-helloworld-nar 1.0-SNAPSHOT [3/3]&lt;BR /&gt;[INFO] from nifi-helloworld-nar\pom.xml&lt;BR /&gt;[INFO] --------------------------------[ nar ]---------------------------------&lt;BR /&gt;[WARNING] The POM for org.apache.nifi:nifi-standard-services-api-nar:nar:1.0-SNAPSHOT is missing, no dependency information available&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;BR /&gt;[INFO] Reactor Summary for nifi-helloworld-bundle 1.0-SNAPSHOT:&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] nifi-helloworld-bundle ............................. SUCCESS [ 1.669 s]&lt;BR /&gt;[INFO] nifi-helloworld-processors ......................... SUCCESS [ 3.124 s]&lt;BR /&gt;[INFO] nifi-helloworld-nar ................................ FAILURE [ 0.036 s]&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;BR /&gt;[INFO] BUILD FAILURE&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;BR /&gt;[INFO] Total time: 6.222 s&lt;BR /&gt;[INFO] Finished at: 2024-02-20T11:08:59-05:00&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;BR /&gt;[ERROR] Failed to execute goal on project nifi-helloworld-nar: Could not resolve dependencies for project org.apache.nifi:nifi-helloworld-nar:nar:1.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.nifi:nifi-standard-services-api-nar:nar:1.0-SNAPSHOT (absent): org.apache.nifi:nifi-standard-services-api-nar:nar:1.0-SNAPSHOT was not found in &lt;A href="https://repository.apache.org/snapshots" target="_blank"&gt;https://repository.apache.org/snapshots&lt;/A&gt; during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of apache.snapshots has elapsed or updates are forced -&amp;gt; [Help 1]&lt;BR /&gt;[ERROR]&lt;BR /&gt;[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.&lt;BR /&gt;[ERROR] Re-run Maven using the -X switch to enable full debug logging.&lt;BR /&gt;[ERROR]&lt;BR /&gt;[ERROR] For more information about the errors and possible solutions, please read the following articles:&lt;BR /&gt;[ERROR] [Help 1] &lt;A href="http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException" target="_blank"&gt;http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException&lt;/A&gt;&lt;BR /&gt;[ERROR]&lt;BR /&gt;[ERROR] After correcting the problems, you can resume the build with the command&lt;BR /&gt;[ERROR] mvn &amp;lt;args&amp;gt; -rf :nifi-helloworld-nar&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 19:35:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383642#M244998</guid>
      <dc:creator>coelacanth</dc:creator>
      <dc:date>2024-02-20T19:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi Building error when creating a brand new custom processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383645#M245001</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109273"&gt;@coelacanth&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105558"&gt;@joseomjr&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 22:23:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383645#M245001</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-02-20T22:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi Building error when creating a brand new custom processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383646#M245002</link>
      <description>&lt;P&gt;Ultimately, what is it you'll want your custom processor to do? I can tell you a Groovy based custom processor can perform amazingly well and leverage Java libraries just like a native .nar file with the advantage that you can make your changes and test without having to build every time you make a change.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 22:58:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383646#M245002</guid>
      <dc:creator>joseomjr</dc:creator>
      <dc:date>2024-02-20T22:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi Building error when creating a brand new custom processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383647#M245003</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Goal&lt;/STRONG&gt;&lt;BR /&gt;At my work (academic field), we are actually testing Nifi and its features to see if we'll adopt it as a workflow solution.&lt;BR /&gt;Being able to write our own custom processors would be a good thing.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Groovy processor&lt;BR /&gt;&lt;/STRONG&gt;Am I right to think you are talking about the &lt;EM&gt;ExecuteGroovyScript&lt;/EM&gt; processor ?&lt;BR /&gt;We have two worries about it.&lt;BR /&gt;&lt;BR /&gt;First that it would not be as efficient as a Java one.&lt;BR /&gt;But your comment informs me it 's not the case.&lt;BR /&gt;&lt;BR /&gt;Second, this processor is qualified as "experimental" in the documentation.&lt;BR /&gt;Is it a good practice to use it anyway in a production environment ?&lt;BR /&gt;Is its definition, functionality "stable" or it could change in the future ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Conclusion&lt;/STRONG&gt;&lt;BR /&gt;I would still like to be able to create a custom processor in Java &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;But I'll sure try the Groovy one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 03:18:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383647#M245003</guid>
      <dc:creator>coelacanth</dc:creator>
      <dc:date>2024-02-21T03:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi Building error when creating a brand new custom processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383648#M245004</link>
      <description>&lt;P&gt;Thanks Diana &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 02:48:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383648#M245004</guid>
      <dc:creator>coelacanth</dc:creator>
      <dc:date>2024-02-21T02:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi Building error when creating a brand new custom processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383735#M245033</link>
      <description>&lt;P&gt;Groovy code can be used with ExecuteGroovyScript or InvokeScriptedProcessor...the latter offers the same structure and functionality as a native NAR file. I've built a production processor that's used by several customers that can easily handle hundreds of millions of events on a single NiFi instance.&lt;/P&gt;&lt;P&gt;NiFi 2.X remove all scripting languages from InvokeScriptedProcessor except for Groovy.&lt;/P&gt;&lt;P&gt;Last time I built a NAR I followed these instructions until I discovered InvokeScriptedProcessor Groovy code gave me the same access and functionality and haven't looked back since.&lt;/P&gt;&lt;P&gt;&lt;A href="https://medium.com/hashmapinc/creating-custom-processors-and-controllers-in-apache-nifi-e14148740ea" target="_blank"&gt;Creating Custom Processors and Controllers in Apache NiFi | by Hashmap, an NTT DATA Company | Hashmap, an NTT DATA Company | Medium&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 21:21:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383735#M245033</guid>
      <dc:creator>joseomjr</dc:creator>
      <dc:date>2024-02-21T21:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi Building error when creating a brand new custom processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383738#M245036</link>
      <description>&lt;P&gt;Thanks for the answer.&lt;BR /&gt;&lt;BR /&gt;Just to conclude, I'd like to read your toughts in a few words:&lt;BR /&gt;I'm still wondering, can these two processors be used safely in a production environment.&lt;BR /&gt;The doc writes Experimental for the two of them. Can their behavior change over time, meaning we would have to rewrite our flows if it happens ?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 22:08:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383738#M245036</guid>
      <dc:creator>coelacanth</dc:creator>
      <dc:date>2024-02-21T22:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi Building error when creating a brand new custom processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383778#M245058</link>
      <description>&lt;P&gt;Others can chime in, but I personally consider them safe for production environments. I written some processors that work from NiFi version 1.8 all the way to 2.0.0 without issues or need to rewrite them.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 20:35:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383778#M245058</guid>
      <dc:creator>joseomjr</dc:creator>
      <dc:date>2024-02-22T20:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi Building error when creating a brand new custom processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383779#M245059</link>
      <description>&lt;P&gt;I think this is a bug, I'm looking into it. Looks like it's using your 1.0-SNAPSHOT version for NiFi dependencies when it should be using nifiVersion. To get things going, use 2.0.0-M2 for your version for now, then you can go back into the helloworld module and change the version back to what you want.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 20:38:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383779#M245059</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2024-02-22T20:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi Building error when creating a brand new custom processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383780#M245060</link>
      <description>&lt;P&gt;Thanks à lot for the answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It works fine!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 21:28:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383780#M245060</guid>
      <dc:creator>coelacanth</dc:creator>
      <dc:date>2024-02-22T21:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi Building error when creating a brand new custom processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383835#M245095</link>
      <description>&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-12839" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-12839&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 19:51:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/383835#M245095</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2024-02-23T19:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi Building error when creating a brand new custom processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/405608#M252489</link>
      <description>&lt;P&gt;hello Sir, I have just setup a basic NiFi custom processor. when i try to build, one of the module gets built but the nar module fails with error&lt;/P&gt;&lt;P&gt;[&lt;SPAN&gt;&lt;STRONG&gt;&amp;#27;[1;31mERROR&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;#27;[m] &lt;SPAN&gt;&lt;STRONG&gt;&amp;#27;[1;31mRule 3: org.apache.maven.enforcer.rules.dependency.RequireReleaseDeps failed with message:&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;#27;[m&lt;/P&gt;&lt;P&gt;[&lt;SPAN&gt;&lt;STRONG&gt;&amp;#27;[1;31mERROR&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;#27;[m] &lt;SPAN&gt;&lt;STRONG&gt;&amp;#27;[1;31mDependencies outside of Apache NiFi must not use SNAPSHOT versions&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;#27;[m&lt;/P&gt;&lt;P&gt;[&lt;SPAN&gt;&lt;STRONG&gt;&amp;#27;[1;31mERROR&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;#27;[m] &lt;SPAN&gt;&lt;STRONG&gt;&amp;#27;[1;31mcom.example:nifi-my_custom_nifi_processor-nar:nar:1.0-SNAPSHOT&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;#27;[m&lt;/P&gt;&lt;P&gt;[&lt;SPAN&gt;&lt;STRONG&gt;&amp;#27;[1;31mERROR&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;#27;[m] &lt;SPAN&gt;&lt;STRONG&gt;&amp;#27;[1;31m&amp;nbsp;&amp;nbsp; com.example:nifi-my_custom_nifi_processor-processors:jar:1.0-SNAPSHOT &amp;lt;--- is not a release dependency&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 10:03:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-Building-error-when-creating-a-brand-new-custom/m-p/405608#M252489</guid>
      <dc:creator>AlokKumar</dc:creator>
      <dc:date>2025-04-07T10:03:55Z</dc:date>
    </item>
  </channel>
</rss>

