Grade build error
yanglei99 opened this issue · comments
I followed the build instruction and download the build.gradle under an empty directory then issued grade shadowJar. But the build hit the following failure.
I am on Mac OS X, gradle 2.5, Java 1.7. Appreciate suggestions how to resolve it. Thanks
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:shadowJar FAILED
FAILURE: Build failed with an exception.
-
What went wrong:
Execution failed for task ':shadowJar'.org.gradle.mvn3.org.codehaus.plexus.util.IOUtil
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Problem solved after using grade 2.4
still the same error on gradle 2.9 !?
Gradle 2.9
------------------------------------------------------------
Build time: 2015-11-17 07:02:17 UTC
Build number: none
Revision: b463d7980c40d44c4657dc80025275b84a29e31f
Groovy: 2.4.4
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM: 1.7.0_91 (Oracle Corporation 24.91-b01)
OS: Linux 3.13.0-66-generic amd64
19:36:05.348 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :shadowJar (Thread[main,5,main]) completed. Took 3.093 secs.
19:36:05.349 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 3.197 secs, idle: 0.013 secs
19:36:05.355 [ERROR] [org.gradle.BuildExceptionReporter]
19:36:05.355 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
19:36:05.356 [ERROR] [org.gradle.BuildExceptionReporter]
19:36:05.357 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
19:36:05.357 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':shadowJar'.
19:36:05.358 [ERROR] [org.gradle.BuildExceptionReporter] > org.gradle.mvn3.org.codehaus.plexus.util.IOUtil
19:36:05.358 [ERROR] [org.gradle.BuildExceptionReporter]
19:36:05.359 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
19:36:05.359 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.