gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Ratnasekera (Jira)" <j...@apache.org>
Subject [jira] [Comment Edited] (GORA-634) Gora - Main Build problem
Date Fri, 06 Sep 2019 10:46:00 GMT

    [ https://issues.apache.org/jira/browse/GORA-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16924129#comment-16924129
] 

Kevin Ratnasekera edited comment on GORA-634 at 9/6/19 10:45 AM:
-----------------------------------------------------------------

It seems we had Java 8 support from 0.8. I was able to build locally without any issue.

As Alfonzo pointed out log doesn't have any error in there. I am also seeing some warning
on log.
```
Warning: JAVA_HOME environment variable is not set.
[WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
```
Can you try maven build with -X switch? ( mvn clean install -X ) Also please check  JAVA_HOME
environment variable is properly set.


was (Author: djkevincr):
It seems we had Java 8 support from 0.8. I was build locally without any issue.

As Alfonzo pointed out log doesn't have any error in there. I am also seeing some warning
on log.
```
Warning: JAVA_HOME environment variable is not set.
[WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
```
Can you try maven build with -X switch? ( mvn clean install -X ) Also please check  JAVA_HOME
environment variable is properly set.

> 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)

Mime
View raw message