[Solved]Build errors in android_deploy

I am getting the following build error while running
make jvmpkg
following are the logs:

[INFO] Scanning for projects…
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] TVM4J Package - Parent
[INFO] TVM4J Package - Core
[INFO] TVM4J Package - Native Parent
[INFO] TVM4J Package - Native Linux-x86_64
[INFO] TVM4J Package - Full Parent
[INFO] TVM4J Package - Full Linux-x86_64
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building TVM4J Package - Parent 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ tvm4j-parent —
[INFO] Deleting /home/yovan/tvm_all/tvm/jvm/target
[INFO]
[INFO] — maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ tvm4j-parent —
[INFO]
[INFO] — maven-jar-plugin:3.0.2:jar (empty-javadoc-jar) @ tvm4j-parent —
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /home/yovan/tvm_all/tvm/jvm/target/tvm4j-parent-0.0.1-SNAPSHOT-javadoc.jar
[INFO]
[INFO] — maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ tvm4j-parent —
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building TVM4J Package - Core 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ tvm4j-core —
[INFO]
[INFO] — maven-checkstyle-plugin:2.17:check (default) @ tvm4j-core —
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] TVM4J Package - Parent … SUCCESS [ 0.984 s]
[INFO] TVM4J Package - Core … FAILURE [ 0.264 s]
[INFO] TVM4J Package - Native Parent … SKIPPED
[INFO] TVM4J Package - Native Linux-x86_64 … SKIPPED
[INFO] TVM4J Package - Full Parent … SKIPPED
[INFO] TVM4J Package - Full Linux-x86_64 … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.707 s
[INFO] Finished at: 2019-02-18T18:56:28+05:30
[INFO] Final Memory: 19M/200M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (default) on project tvm4j-core: Execution default of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.17 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.7.0 at specified path /usr/lib/jvm/java-8-openjdk-amd64/jre/…/lib/tools.jar -> [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/PluginResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :tvm4j-core
Makefile:108: recipe for target ‘jvmpkg’ failed
make: *** [jvmpkg] Error 1

would be really thankful if I could get a solution asap thanks!

1 Like