Github user bbende commented on a diff in the pull request: https://github.com/apache/nifi/pull/3041#discussion_r228563247 --- Diff: nifi-nar-bundles/nifi-solr-bundle/nifi-solr-processors/pom.xml --- @@ -147,6 +147,12 @@ <version>2.2.1</version> <scope>test</scope> </dependency> + <dependency> + <groupId>org.apache.nifi</groupId> + <artifactId>nifi-solr-client-api</artifactId> + <version>1.8.0-SNAPSHOT</version> + <scope>compile</scope> --- End diff -- Was able to try it out and you are right that it is working, but currently this is only because the service impl happens to be in the same NAR as the processors. If someone implemented their own SolrClientService in another NAR then it wouldn't be able to be used in the current state. If you just change the above dependency to provided and then change nifi-solr-nar/pom.xml where it has: ``` <dependency> <groupId>org.apache.nifi</groupId> <artifactId>nifi-standard-services-api-nar</artifactId> <version>1.8.0-SNAPSHOT</version> <type>nar</type> </dependency> ``` To ``` <dependency> <groupId>org.apache.nifi</groupId> <artifactId>nifi-solr-client-api-nar</artifactId> <version>1.8.0-SNAPSHOT</version> <type>nar</type> </dependency> ``` That should make it work correctly for both cases.
---