rkarthik29 commented on pull request #3887:
URL: https://github.com/apache/nifi/pull/3887#issuecomment-709542160


   > @rkarthik29
   > I built this PR, but the OracleChangeCapture did not appear on the 
processor list. Commands executed:
   > 
   > ```
   > git clone https://github.com/rkarthik29/nifi-1.git 
   > cd nifi-1
   > git checkout NIFI-6032
   > export MAVEN_OPTS="-Xms1024m -Xmx3076m -XX:MaxPermSize=256m"
   > mvn -T C2.0 clean install -Pinclude-grpc
   > cd nifi-assembly/target/
   > tar -xvzf nifi-1.11.0-SNAPSHOT-bin.tar.gz
   > sh nifi-1.11.0-SNAPSHOT/bin/nifi.sh run
   > ```
   > 
   > So I had to copy the nars from 
**nifi-1/nifi-nar-bundles/nifi-oraclecdc-bundle** to the 
**nifi-1.11.0-SNAPSHOT/lib** directory manually.
   > 
   > Please, check the parent pom.xml.
   
   @davyam 
   
   There is a profile config in the nifi parent pom.xml. Please add -p 
include-oraclecdc  to maven command to package this piece as part of nifi tar.
   
    <profile>
               <id>include-oraclecdc</id>
               <activation>
                   <activeByDefault>false</activeByDefault>
               </activation>
               <dependencies>
                   <dependency>
                       <groupId>org.apache.nifi</groupId>
                       <artifactId>nifi-oraclecdc-nar</artifactId>
                       <version>1.11.0-SNAPSHOT</version>
                       <type>nar</type>
                   </dependency>
                   <dependency>
                      <groupId>org.apache.nifi</groupId>
                      <artifactId>nifi-oraclecdcservice-api-nar</artifactId>
                      <version>1.11.0-SNAPSHOT</version>
                      <type>nar</type>
                   </dependency>
               </dependencies>
           </profile>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to