Github user trixpan commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/475#discussion_r67180034
  
    --- Diff: 
nifi-nar-bundles/nifi-hadoop-libraries-bundle/nifi-hadoop-libraries-nar/pom.xml 
---
    @@ -21,19 +21,70 @@
             <maven.javadoc.skip>true</maven.javadoc.skip>
             <source.skip>true</source.skip>
         </properties>
    -    <dependencies>
    -        <dependency>
    +    <profiles>
    +      <profile>
    +        <id>vanilla</id>
    +   <activation>
    +      <activeByDefault>true</activeByDefault>
    +    </activation>
    +        <dependencies>
    +            <dependency>
    +                <groupId>org.apache.nifi</groupId>
    +                <artifactId>nifi-standard-services-api-nar</artifactId>
    +                <type>nar</type>
    +            </dependency>
    +            <dependency>
    +                <groupId>org.apache.hadoop</groupId>
    +                <artifactId>hadoop-client</artifactId>
    +            </dependency>
    +            <dependency>
    +                <groupId>org.apache.avro</groupId>
    +                <artifactId>avro</artifactId>
    +            </dependency>
    +        </dependencies>
    +      </profile>
    +      <profile>
    +        <id>custom_hadoop_libraries</id>
    --- End diff --
    
    found the culprit. hadoop.version is used by the hadoop poms and that 
causes the conflict (spark adds the repo's to the top pom.xml, hence no 
conflict).
    
    Renaming it to `nifi.hadoop.version` fixes it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to