Open rydrydryd opened 8 years ago
Error occurs when I execute mvn package -PotherOutputDir in src dir
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for cs.ucla.edu:jniNative:so:0.2.1
[WARNING] 'dependencies.dependency.systemPath' for cs.ucla.edu:cloud-scale-bwamem:jar should use a variable instead of a hard-coded path /home/ryd/Git/cloud-scale-bwamem/target/cloud-scale-bwamem-0.2.2-assembly.jar @ line 19, column 19
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:native-maven-plugin is missing. @ line 33, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 25, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JNI Pair-End Smith-Waterman AVX Library 0.2.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- native-maven-plugin:1.0-alpha-8:initialize (default-initialize) @ jniNative ---
[INFO]
[INFO] --- native-maven-plugin:1.0-alpha-8:unzipinc (default-unzipinc) @ jniNative ---
[INFO]
[INFO] --- native-maven-plugin:1.0-alpha-8:javah (default-javah) @ jniNative ---
[INFO]
[INFO] --- native-maven-plugin:1.0-alpha-8:javah (javah) @ jniNative ---
[INFO] /bin/sh -c cd /home/ryd/Git/cloud-scale-bwamem/target && javah -o /home/ryd/Git/cloud-scale-bwamem/target/custom-javah/jni_mate_sw.h -classpath /home/ryd/Git/cloud-scale-bwamem/target/classes:/home/ryd/Git/cloud-scale-bwamem/target/cloud-scale-bwamem-0.2.2-assembly.jar cs.ucla.edu.bwaspark.jni.HelloWorld cs.ucla.edu.bwaspark.jni.MateSWType cs.ucla.edu.bwaspark.jni.SeqSWType cs.ucla.edu.bwaspark.jni.MateSWJNI cs.ucla.edu.bwaspark.datatype.MemAlnRegType cs.ucla.edu.bwaspark.datatype.MemOptType cs.ucla.edu.bwaspark.datatype.MemPeStat cs.ucla.edu.bwaspark.datatype.FASTQSingleNode
error: error reading /home/ryd/Git/cloud-scale-bwamem/target/cloud-scale-bwamem-0.2.2-assembly.jar; too many entries in ZIP file
com.sun.tools.javac.util.Abort
at com.sun.tools.javac.comp.Check.completionError(Check.java:169)
at com.sun.tools.javadoc.DocEnv.loadClass(DocEnv.java:149)
at com.sun.tools.javadoc.RootDocImpl.
^
compilation terminated. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.995 s [INFO] Finished at: 2016-03-29T22:52:28+08:00 [INFO] Final Memory: 7M/109M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:native-maven-plugin:1.0-alpha-8:compile (default-compile) on project jniNative: Error executing command line. Exit code:1 -> [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/MojoExecutionException
Hi, To identify the error, could you provide the following information?
Thanks, Yu-Ting
Thanks guy! I tried to change my jvm from jdk-1.8.0 to into jdk-1.7.0 and all things worked fine.
Hey guy! I encountered some troubles in compling. I'm wondering whether it's due to my jre version. So could you plz tell me the information about your compile environment?