[ https://issues.apache.org/jira/browse/GORA-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16924105#comment-16924105 ]
Cleyson Barros commented on GORA-634: ------------------------------------- Hello Kevin, As your requested, now I use JDK 8. root@hgclusterambari00:/home/ambari/gora/apache-gora-0.8# ls bin gora-aerospike gora-compiler-cli gora-goraci gora-jcache gora-solr KEYS pom.xml.releaseBackup target CHANGES.md gora-cassandra gora-core gora-gradle-plugin gora-maven-plugin gora-solr-5 LICENSE.md README.md conf gora-cassandra-cql gora-couchdb gora-hbase gora-mongodb gora-sql NOTICE.md release.properties gora-accumulo gora-compiler gora-dynamodb gora-infinispan gora-orientdb gora-tutorial pom.xml sources-dist root@hgclusterambari00:/home/ambari/gora/apache-gora-0.8# mvn clean install Warning: JAVA_HOME environment variable is not set. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Apache Gora [INFO] Apache Gora :: Compiler [INFO] Apache Gora :: Compiler-CLI [INFO] Apache Gora :: Core [INFO] Apache Gora :: Accumulo [INFO] Apache Gora :: HBase [INFO] Apache Gora :: Cassandra - CQL [INFO] Apache Gora :: GoraCI [INFO] Apache Gora :: Infinispan [INFO] Apache Gora :: JCache [INFO] Apache Gora :: OrientDB [INFO] Apache Gora :: Dynamodb [INFO] Apache Gora :: CouchDB [INFO] Apache Gora :: Maven Plugin [INFO] Apache Gora :: MongoDB [INFO] Apache Gora :: Solr [INFO] Apache Gora :: Aerospike [INFO] Apache Gora :: Tutorial [INFO] Apache Gora :: Sources-Dist [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Gora 0.8 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gora --- [INFO] Deleting /home/ambari/gora/apache-gora-0.8/target [INFO] [INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ gora --- [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ gora --- [INFO] No sources to compile [INFO] [INFO] --- maven-site-plugin:3.0:attach-descriptor (attach-descriptor) @ gora --- [INFO] [INFO] --- maven-dependency-plugin:2.9:copy-dependencies (copy) @ gora --- [INFO] [INFO] --- forbiddenapis:2.0:check (default) @ gora --- [INFO] Skipping execution for packaging "pom" [INFO] [INFO] --- forbiddenapis:2.0:testCheck (default) @ gora --- [INFO] Skipping execution for packaging "pom" [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ gora --- [INFO] Installing /home/ambari/gora/apache-gora-0.8/pom.xml to /root/.m2/repository/org/apache/gora/gora/0.8/gora-0.8.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Gora :: Compiler 0.8 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gora-compiler --- [INFO] Deleting /home/ambari/gora/apache-gora-0.8/gora-compiler/target [INFO] Deleting /home/ambari/gora/apache-gora-0.8/gora-compiler/lib (includes = [*.jar], excludes = []) [INFO] [INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ gora-compiler --- [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ gora-compiler --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ gora-compiler --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /home/ambari/gora/apache-gora-0.8/gora-compiler/target/classes [WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Gora ........................................ SUCCESS [ 7.556 s] [INFO] Apache Gora :: Compiler ............................ FAILURE [ 2.354 s] [INFO] Apache Gora :: Compiler-CLI ........................ SKIPPED [INFO] Apache Gora :: Core ................................ SKIPPED [INFO] Apache Gora :: Accumulo ............................ SKIPPED [INFO] Apache Gora :: HBase ............................... SKIPPED [INFO] Apache Gora :: Cassandra - CQL ..................... SKIPPED [INFO] Apache Gora :: GoraCI .............................. SKIPPED [INFO] Apache Gora :: Infinispan .......................... SKIPPED [INFO] Apache Gora :: JCache .............................. SKIPPED [INFO] Apache Gora :: OrientDB ............................ SKIPPED [INFO] Apache Gora :: Dynamodb ............................ SKIPPED [INFO] Apache Gora :: CouchDB ............................. SKIPPED [INFO] Apache Gora :: Maven Plugin ........................ SKIPPED [INFO] Apache Gora :: MongoDB ............................. SKIPPED [INFO] Apache Gora :: Solr ................................ SKIPPED [INFO] Apache Gora :: Aerospike ........................... SKIPPED [INFO] Apache Gora :: Tutorial ............................ SKIPPED [INFO] Apache Gora :: Sources-Dist ........................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15.670 s [INFO] Finished at: 2019-09-06T11:08:54+01:00 [INFO] Final Memory: 27M/77M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project gora-compiler: 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 :gora-compiler root@hgclusterambari00:/home/ambari/gora/apache-gora-0.8# java -version openjdk version "1.8.0_222" OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1~deb9u1-b10) OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode) root@hgclusterambari00:/home/ambari/gora/apache-gora-0.8# > Gora - Main Build problem > ------------------------- > > Key: GORA-634 > URL: https://issues.apache.org/jira/browse/GORA-634 > Project: Apache Gora > Issue Type: Bug > Components: gora-compiler > Affects Versions: 0.9 > Environment: Debian 9 updated to last build before version 10 > Observation, GIT, MVN and all requirements are in place. > Reporter: Cleyson Barros > Priority: Blocker > Labels: build > > root@hgclusterambari00:/home/ambari/gora# mvn clean install > Warning: JAVA_HOME environment variable is not set. > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Build Order: > [INFO] > [INFO] Apache Gora > [INFO] Apache Gora :: Compiler > [INFO] Apache Gora :: Compiler-CLI > [INFO] Apache Gora :: Core > [INFO] Apache Gora :: Pig > [INFO] Apache Gora :: Accumulo > [INFO] Apache Gora :: HBase > [INFO] Apache Gora :: Cassandra - CQL > [INFO] Apache Gora :: GoraCI > [INFO] Apache Gora :: Infinispan > [INFO] Apache Gora :: JCache > [INFO] Apache Gora :: OrientDB > [INFO] Apache Gora :: Lucene > [INFO] Apache Gora :: Dynamodb > [INFO] Apache Gora :: CouchDB > [INFO] Apache Gora :: Maven Plugin > [INFO] Apache Gora :: MongoDB > [INFO] Apache Gora :: Solr > [INFO] Apache Gora :: Aerospike > [INFO] Apache Gora :: Ignite > [INFO] Apache Gora :: Tutorial > [INFO] Apache Gora :: Sources-Dist > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache Gora 0.9 > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gora --- > [INFO] Deleting /home/ambari/gora/target > [INFO] > [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ gora > --- > [INFO] > [INFO] --- maven-remote-resources-plugin:1.5:process > (process-resource-bundles) @ gora --- > [INFO] > [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ gora > --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ > gora --- > [INFO] No site descriptor found: nothing to attach. > [INFO] > [INFO] --- maven-dependency-plugin:2.9:copy-dependencies (copy) @ gora --- > [INFO] > [INFO] --- forbiddenapis:2.0:check (default) @ gora --- > [INFO] Skipping execution for packaging "pom" > [INFO] > [INFO] --- forbiddenapis:2.0:testCheck (default) @ gora --- > [INFO] Skipping execution for packaging "pom" > [INFO] > [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ gora --- > [INFO] Installing /home/ambari/gora/pom.xml to > /root/.m2/repository/org/apache/gora/gora/0.9/gora-0.9.pom > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache Gora :: Compiler 0.9 > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gora-compiler --- > [INFO] Deleting /home/ambari/gora/gora-compiler/target > [INFO] > [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ > gora-compiler --- > [INFO] > [INFO] --- maven-remote-resources-plugin:1.5:process > (process-resource-bundles) @ gora-compiler --- > [INFO] > [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ > gora-compiler --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 2 resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ > gora-compiler --- > [INFO] Changes detected - recompiling the module! > [INFO] Compiling 2 source files to > /home/ambari/gora/gora-compiler/target/classes > [WARNING] Unable to autodetect 'javac' path, using 'javac' from the > environment. > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Gora ........................................ SUCCESS [ 9.093 s] > [INFO] Apache Gora :: Compiler ............................ FAILURE [ 2.237 s] > [INFO] Apache Gora :: Compiler-CLI ........................ SKIPPED > [INFO] Apache Gora :: Core ................................ SKIPPED > [INFO] Apache Gora :: Pig ................................. SKIPPED > [INFO] Apache Gora :: Accumulo ............................ SKIPPED > [INFO] Apache Gora :: HBase ............................... SKIPPED > [INFO] Apache Gora :: Cassandra - CQL ..................... SKIPPED > [INFO] Apache Gora :: GoraCI .............................. SKIPPED > [INFO] Apache Gora :: Infinispan .......................... SKIPPED > [INFO] Apache Gora :: JCache .............................. SKIPPED > [INFO] Apache Gora :: OrientDB ............................ SKIPPED > [INFO] Apache Gora :: Lucene .............................. SKIPPED > [INFO] Apache Gora :: Dynamodb ............................ SKIPPED > [INFO] Apache Gora :: CouchDB ............................. SKIPPED > [INFO] Apache Gora :: Maven Plugin ........................ SKIPPED > [INFO] Apache Gora :: MongoDB ............................. SKIPPED > [INFO] Apache Gora :: Solr ................................ SKIPPED > [INFO] Apache Gora :: Aerospike ........................... SKIPPED > [INFO] Apache Gora :: Ignite .............................. SKIPPED > [INFO] Apache Gora :: Tutorial ............................ SKIPPED > [INFO] Apache Gora :: Sources-Dist ........................ SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 17.096 s > [INFO] Finished at: 2019-09-06T09:49:34+01:00 > [INFO] Final Memory: 31M/77M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) > on project gora-compiler: 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 :gora-compiler -- This message was sent by Atlassian Jira (v8.3.2#803003)