After adding the nar as dependency to the nar pom.xml, I'm getting the
following error:

[ERROR] Failed to execute goal
org.apache.nifi:nifi-nar-maven-plugin:1.1.0:nar (default-nar) on project
discover-mysftp-nar: Error assembling NAR: Each NAR represents a
ClassLoader. A NAR dependency allows that NAR's ClassLoader to be used as
the parent of this NAR's ClassLoader. As a result, only a single NAR
dependency is allowed. -> [Help 1]

Have you seen it?  I tried adding <scope>provided</scope> to
nifi-standard-nar in nar's pom, which got it to build, but when nifi starts,
it can't initialize the processor complaining class def not found for the
classes I refer to.

I didn't add the project/artifact to assembly, as I'm not building
everything, just planning to add an extra nar. My nar's pom:

        <dependencies>
                <dependency>
                        <groupId>com.nifi</groupId>
                        <artifactId>nifi-mysftp-processors</artifactId>
                        <version>1.0-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.nifi</groupId>
                        <artifactId>nifi-standard-nar</artifactId>
                        <type>nar</type>
                </dependency>
        </dependencies>


Thanks
Peter



--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/nifi-1-0-extending-a-standard-processor-tp13306p13924.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Reply via email to