- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to create a custom processor in nifi 1.5.0 ?
- Labels:
-
Apache NiFi
Created ‎04-07-2018 09:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried to create a nifi custom processor using mvn arhetype : generate and then mvn eclipse:eclipse -DdownloadSources=true to use that in eclipse. when I am importing processor directory and save the project in eclipse I/m getting some errors in pom.xml. bu tin 0.0.2 version not showing such kind of errors.
Created ‎04-09-2018 01:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The process for creating a custom processor with the archetype has not changed.
Running the command here, but change the versions to the appropriate version like 1.5.0:
What errors are you getting?
Created ‎04-19-2018 05:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
errors like in pom.xml in parent it showing red mark and error message related to goals.
Created ‎06-10-2018 07:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[WARNING] The POM for org.apache.nifi:nifi-nar-maven-plugin:jar:1.5.0 is missing, no dependency information available [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Unresolveable build extension: Plugin org.apache.nifi:nifi-nar-maven-plugin:1.5.0 or one of its dependencies could not be resolved: Failure to find org.apache.nifi:nifi-nar-maven-plugin:jar:1.5.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com:alThingCustomProcessor:1.0 (E:\BizRuntime\Projects\v2rNifiProject\AlThingCustomProcessor\alThingCustomProcessor\pom.xml) has 1 error [ERROR] Unresolveable build extension: Plugin org.apache.nifi:nifi-nar-maven-plugin:1.5.0 or one of its dependencies could not be resolved: Failure to find org.apache.nifi:nifi-nar-maven-plugin:jar:1.5.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException
Created ‎06-10-2018 07:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the error I got when I was changed version with 1.5.0 in the mentioned plugin, but the fact is it is working when i was used 1.1.0 version
Created ‎06-10-2018 07:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am attaching my pom.xml
Created ‎06-10-2018 07:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.nifi</groupId> <artifactId>nifi-nar-bundles</artifactId> <version>1.0.0</version> </parent> <groupId>com</groupId> <artifactId>alThingCustomProcessor</artifactId> <version>1.0</version> <packaging>pom</packaging> <modules> <module>nifi-demo_sample-processors</module> <module>nifi-demo_sample-nar</module> </modules> <build> <plugins> <plugin> <groupId>org.apache.nifi</groupId> <artifactId>nifi-nar-maven-plugin</artifactId> <version>1.5.0</version> <extensions>true</extensions> </plugin> </plugins> </build> </project>
Created ‎04-09-2018 01:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also, can you create and build one from the command line without eclipse?
Created ‎04-19-2018 05:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your response, I will try and then let you know.
Created ‎04-19-2018 06:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you paste your pom.xml for the error
