我正在尝试构建 Apache Gora,您可以在此处找到它,我已将其作为模块化 apache maven 项目下载。当我尝试使用execute maven
来自 eclipse 的install
目标构建 gora 时,出现以下错误:
[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]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project gora-compiler: Compilation failure
它还告诉我以下内容:
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to C:\Users\pmgbe_000\git\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 [10:08 min]
[INFO] Apache Gora :: Compiler ........................... FAILURE [ 27.690 s]
[INFO] Apache Gora :: Compiler-CLI ....................... SKIPPED
[INFO] Apache Gora :: Shims Hadoop ....................... SKIPPED
/////// OTHER MODULES ALSO SKIPPED //////
但是,如果我在下次运行时重新运行没有工作区的安装,clean
它会正确构建编译器模块。如果我再次重新运行以下模块会成功,依此类推。我无法对这里发生的事情做出正面或反面。