Can you also confirm that you have a JDK installed and that javac is available on your PATH?
Thanks. On Thu, Sep 10, 2015 at 11:45 AM, Matt Gilman <matt.c.gil...@gmail.com> wrote: > Can you confirm the version of Maven (mvn -version) and Java (java > -version)? > > Thanks. > > On Thu, Sep 10, 2015 at 11:08 AM, DomenicPuzio < > domenic.pu...@capitalone.com> wrote: > >> Hello, >> >> I have followed the instructions at >> http://nifi.apache.org/quickstart.html >> and I am now on step 4, trying to build the code base with the command >> "mvn >> -T C2.0 clean install". >> >> Maven begins downloading and runs smoothly for 1 minutes and 38 seconds, >> until I hit the below error. I am on an AWS RHEL server. Below is the >> output >> from Maven before it fails. Thank you so much for the help! >> >> [WARNING] Unable to autodetect 'javac' path, using 'javac' from the >> environment. >> [INFO] >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Reactor Summary: >> [INFO] >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Skipping nifi-logging-utils >> [INFO] This project has been banned from the build due to previous >> failures. >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] nifi ............................................... SUCCESS [ >> 27.224 >> s] >> [INFO] nifi-api ........................................... SKIPPED >> [INFO] nifi-commons ....................................... SUCCESS [ >> 4.500 >> s] >> [INFO] nifi-utils ......................................... SKIPPED >> [INFO] nifi-data-provenance-utils ......................... SKIPPED >> [INFO] nifi-flowfile-packager ............................. SKIPPED >> [INFO] nifi-expression-language ........................... SKIPPED >> [INFO] nifi-logging-utils ................................. SKIPPED >> [INFO] nifi-properties .................................... SKIPPED >> [INFO] nifi-security-utils ................................ SKIPPED >> [INFO] nifi-socket-utils .................................. SKIPPED >> [INFO] nifi-web-utils ..................................... SKIPPED >> [INFO] nifi-processor-utils ............................... SKIPPED >> [INFO] nifi-write-ahead-log ............................... SKIPPED >> [INFO] nifi-nar-bundles ................................... SUCCESS [ >> 3.327 >> s] >> [INFO] nifi-framework-bundle .............................. SKIPPED >> [INFO] nifi-framework ..................................... SKIPPED >> [INFO] nifi-client-dto .................................... SKIPPED >> [INFO] nifi-site-to-site-client ........................... SKIPPED >> [INFO] nifi-hl7-query-language ............................ SKIPPED >> [INFO] nifi-bootstrap ..................................... FAILURE [ >> 22.043 >> s] >> [INFO] nifi-mock .......................................... SKIPPED >> [INFO] nifi-nar-utils ..................................... SKIPPED >> [INFO] nifi-framework-core-api ............................ SKIPPED >> [INFO] nifi-documentation ................................. SKIPPED >> [INFO] nifi-runtime ....................................... SKIPPED >> [INFO] nifi-security ...................................... SKIPPED >> [INFO] nifi-user-actions .................................. SKIPPED >> [INFO] nifi-administration ................................ SKIPPED >> [INFO] nifi-site-to-site .................................. SKIPPED >> [INFO] nifi-framework-cluster-protocol .................... SKIPPED >> [INFO] nifi-framework-core ................................ SKIPPED >> [INFO] nifi-framework-cluster-web ......................... SKIPPED >> [INFO] nifi-web ........................................... SKIPPED >> [INFO] nifi-web-security .................................. SKIPPED >> [INFO] nifi-web-optimistic-locking ........................ SKIPPED >> [INFO] nifi-framework-cluster ............................. SKIPPED >> [INFO] nifi-file-authorization-provider ................... SKIPPED >> [INFO] nifi-cluster-authorization-provider ................ SKIPPED >> [INFO] nifi-custom-ui-utilities ........................... SKIPPED >> [INFO] nifi-web-content-access ............................ SKIPPED >> [INFO] nifi-ui-extension .................................. SKIPPED >> [INFO] nifi-provenance-repository-bundle .................. SKIPPED >> [INFO] nifi-volatile-provenance-repository ................ SKIPPED >> [INFO] nifi-web-api ....................................... SKIPPED >> [INFO] nifi-web-error ..................................... SKIPPED >> [INFO] nifi-web-docs ...................................... SKIPPED >> [INFO] nifi-web-content-viewer ............................ SKIPPED >> [INFO] nifi-web-ui ........................................ SKIPPED >> [INFO] nifi-jetty ......................................... SKIPPED >> [INFO] nifi-resources ..................................... SKIPPED >> [INFO] nifi-framework-nar ................................. SKIPPED >> [INFO] nifi-standard-services ............................. SKIPPED >> [INFO] nifi-distributed-cache-client-service-api .......... SKIPPED >> [INFO] nifi-hadoop-bundle ................................. SKIPPED >> [INFO] nifi-hdfs-processors ............................... SKIPPED >> [INFO] nifi-ssl-context-service-api ....................... SKIPPED >> [INFO] nifi-load-distribution-service-api ................. SKIPPED >> [INFO] nifi-http-context-map-api .......................... SKIPPED >> [INFO] nifi-dbcp-service-api .............................. SKIPPED >> [INFO] nifi-standard-services-api-nar ..................... SKIPPED >> [INFO] nifi-hadoop-libraries-bundle ....................... SKIPPED >> [INFO] nifi-hadoop-libraries-nar .......................... SKIPPED >> [INFO] nifi-hadoop-nar .................................... SKIPPED >> [INFO] nifi-jetty-bundle .................................. SKIPPED >> [INFO] nifi-persistent-provenance-repository .............. SKIPPED >> [INFO] nifi-provenance-repository-nar ..................... SKIPPED >> [INFO] nifi-distributed-cache-services-bundle ............. SKIPPED >> [INFO] nifi-distributed-cache-protocol .................... SKIPPED >> [INFO] nifi-distributed-cache-client-service .............. SKIPPED >> [INFO] nifi-ssl-context-bundle ............................ SKIPPED >> [INFO] nifi-ssl-context-service ........................... SKIPPED >> [INFO] nifi-standard-bundle ............................... SKIPPED >> [INFO] nifi-standard-processors ........................... SKIPPED >> [INFO] nifi-standard-prioritizers ......................... SKIPPED >> [INFO] nifi-standard-reporting-tasks ...................... SKIPPED >> [INFO] nifi-standard-content-viewer ....................... SKIPPED >> [INFO] nifi-standard-nar .................................. SKIPPED >> [INFO] nifi-distributed-cache-server ...................... SKIPPED >> [INFO] nifi-distributed-cache-services-nar ................ SKIPPED >> [INFO] nifi-ssl-context-service-nar ....................... SKIPPED >> [INFO] nifi-http-context-map-bundle ....................... SKIPPED >> [INFO] nifi-http-context-map .............................. SKIPPED >> [INFO] nifi-http-context-map-nar .......................... SKIPPED >> [INFO] nifi-dbcp-service-bundle ........................... SKIPPED >> [INFO] nifi-dbcp-service .................................. SKIPPED >> [INFO] nifi-dbcp-service-nar .............................. SKIPPED >> [INFO] nifi-update-attribute-bundle ....................... SKIPPED >> [INFO] nifi-update-attribute-model ........................ SKIPPED >> [INFO] nifi-update-attribute-processor .................... SKIPPED >> [INFO] nifi-update-attribute-ui ........................... SKIPPED >> [INFO] nifi-update-attribute-nar .......................... SKIPPED >> [INFO] nifi-kafka-bundle .................................. SKIPPED >> [INFO] nifi-kafka-processors .............................. SKIPPED >> [INFO] nifi-kafka-nar ..................................... SKIPPED >> [INFO] nifi-kite-bundle ................................... SKIPPED >> [INFO] nifi-kite-processors ............................... SKIPPED >> [INFO] nifi-kite-nar ...................................... SKIPPED >> [INFO] nifi-solr-bundle ................................... SKIPPED >> [INFO] nifi-solr-processors ............................... SKIPPED >> [INFO] nifi-solr-nar ...................................... SKIPPED >> [INFO] nifi-aws-bundle .................................... SKIPPED >> [INFO] nifi-aws-processors ................................ SKIPPED >> [INFO] nifi-aws-nar ....................................... SKIPPED >> [INFO] nifi-social-media-bundle ........................... SKIPPED >> [INFO] nifi-twitter-processors ............................ SKIPPED >> [INFO] nifi-social-media-nar .............................. SKIPPED >> [INFO] nifi-geo-bundle .................................... SKIPPED >> [INFO] nifi-geo-processors ................................ SKIPPED >> [INFO] nifi-geo-nar ....................................... SKIPPED >> [INFO] nifi-hl7-bundle .................................... SKIPPED >> [INFO] nifi-hl7-processors ................................ SKIPPED >> [INFO] nifi-hl7-nar ....................................... SKIPPED >> [INFO] nifi-language-translation-bundle ................... SKIPPED >> [INFO] nifi-yandex-processors ............................. SKIPPED >> [INFO] nifi-language-translation-nar ...................... SKIPPED >> [INFO] nifi-mongodb-bundle ................................ SKIPPED >> [INFO] nifi-mongodb-processors ............................ SKIPPED >> [INFO] nifi-mongodb-nar ................................... SKIPPED >> [INFO] nifi-flume-bundle .................................. SKIPPED >> [INFO] nifi-flume-processors .............................. SKIPPED >> [INFO] nifi-flume-nar ..................................... SKIPPED >> [INFO] nifi-ambari-bundle ................................. SKIPPED >> [INFO] nifi-ambari-reporting-task ......................... SKIPPED >> [INFO] nifi-ambari-nar .................................... SKIPPED >> [INFO] nifi-image-bundle .................................. SKIPPED >> [INFO] nifi-image-processors .............................. SKIPPED >> [INFO] nifi-image-nar ..................................... SKIPPED >> [INFO] nifi-avro-bundle ................................... SKIPPED >> [INFO] nifi-avro-processors ............................... SKIPPED >> [INFO] nifi-avro-nar ...................................... SKIPPED >> [INFO] nifi-docs .......................................... SKIPPED >> [INFO] nifi-assembly ...................................... SKIPPED >> [INFO] nifi-maven-archetypes .............................. SUCCESS [ >> 3.371 >> s] >> [INFO] nifi-processor-bundle-archetype .................... SKIPPED >> [INFO] nifi-service-bundle-archetype ...................... SKIPPED >> [INFO] nifi-external ...................................... SUCCESS [ >> 4.438 >> s] >> [INFO] nifi-spark-receiver ................................ SKIPPED >> [INFO] nifi-storm-spout ................................... SKIPPED >> [INFO] nifi-example-bundle ................................ SKIPPED >> [INFO] nifi-nifi-example-processors ....................... SKIPPED >> [INFO] nifi-example-nar ................................... SKIPPED >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 01:48 min (Wall Clock) >> [INFO] Finished at: 2015-09-10T10:28:00-04:00 >> [INFO] Final Memory: 77M/1217M >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] >> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ >> nifi-hadoop-bundle >> --- >> [INFO] >> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ >> nifi-update-attribute-bundle --- >> [INFO] >> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ >> nifi-standard-bundle --- >> [INFO] >> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ >> nifi-language-translation-bundle --- >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-compiler-plugin:3.2:compile >> (default-compile) >> on project nifi-bootstrap: Compilation failure -> [Help 1] >> [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/MojoFailureException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :nifi-bootstrap >> [INFO] Installing >> /home/ec2-user/nifi/nifi-nar-bundles/nifi-solr-bundle/pom.xml to >> >> /home/ec2-user/.m2/repository/org/apache/nifi/nifi-solr-bundle/0.3.0-SNAPSHOT/nifi-solr-bundle-0.3.0-SNAPSHOT.pom >> [INFO] >> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ >> nifi-kafka-bundle --- >> [INFO] Installing >> /home/ec2-user/nifi/nifi-nar-bundles/nifi-image-bundle/pom.xml to >> >> /home/ec2-user/.m2/repository/org/apache/nifi/nifi-image-bundle/0.3.0-SNAPSHOT/nifi-image-bundle-0.3.0-SNAPSHOT.pom >> [INFO] >> [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ >> nifi-provenance-repository-bundle --- >> [INFO] >> [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ >> nifi-kite-bundle --- >> [INFO] >> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ >> nifi-standard-bundle --- >> [INFO] >> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ >> nifi-language-translation-bundle --- >> [INFO] >> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ >> nifi-update-attribute-bundle --- >> >> org.codehaus.plexus.component.repository.exception.ComponentLookupException: >> java.util.NoSuchElementException >> role: org.apache.maven.execution.RuntimeInformation >> roleHint: >> at >> >> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:264) >> at >> >> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:240) >> at >> >> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:234) >> at >> >> org.apache.maven.plugins.enforcer.DefaultEnforcementRuleHelper.getComponent(DefaultEnforcementRuleHelper.java:131) >> at >> >> org.apache.maven.plugins.enforcer.DefaultEnforcementRuleHelper.getComponent(DefaultEnforcementRuleHelper.java:120) >> at >> >> org.apache.maven.plugins.enforcer.RequireMavenVersion.execute(RequireMavenVersion.java:48) >> at >> >> org.apache.maven.plugins.enforcer.EnforceMojo.execute(EnforceMojo.java:177) >> at >> >> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) >> at >> >> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) >> at >> >> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) >> at >> >> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) >> at >> >> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) >> at >> >> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:188) >> at >> >> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:184) >> at java.util.concurrent.FutureTask.run(FutureTask.java:262) >> at >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >> at java.util.concurrent.FutureTask.run(FutureTask.java:262) >> at >> >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> at >> >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> at java.lang.Thread.run(Thread.java:745) >> Caused by: java.util.NoSuchElementException >> at java.util.Collections$EmptyIterator.next(Collections.java:3006) >> at >> >> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260) >> ... 19 more >> >> >> >> >> >> -- >> View this message in context: >> http://apache-nifi-developer-list.39713.n7.nabble.com/Cannot-build-code-base-error-with-mvn-T-C2-0-clean-install-tp2753.html >> Sent from the Apache NiFi Developer List mailing list archive at >> Nabble.com. >> > >