Adam学习11之Adam2.10-0.19搭建问题解决

来源:互联网 发布:淘宝店铺禁止客户端 编辑:程序博客网 时间:2024/06/13 23:41

Adam学习11之Adam2.10-0.19搭建问题解决


From:https://github.com/bigdatagenomics/adam/issues/1001

install by mvn clean package -DskipTests
error:

[INFO] [INFO] ADAM_2.10 .......................................... SUCCESS [  8.800 s][INFO] ADAM_2.10: Core .................................... SUCCESS [02:09 min][INFO] ADAM_2.10: APIs for Java ........................... SUCCESS [ 14.706 s][INFO] ADAM_2.10: CLI ..................................... FAILURE [  0.332 s][INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 02:33 min[INFO] Finished at: 2016-04-15T21:02:48+08:00[INFO] Final Memory: 51M/377M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:2.2.0:revision (default) on project adam-cli_2.10: .git directory could not be found! Please specify a valid [dotGitDirectory] in your pom.xml -> [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[ERROR] [ERROR] After correcting the problems, you can resume the build with the command[ERROR]   mvn <goals> -rf :adam-cli_2.10


and pom.xml in adam-cli:

 </plugin>      <plugin>        <groupId>pl.project13.maven</groupId>        <artifactId>git-commit-id-plugin</artifactId>        <executions>          <execution>            <goals>              <goal>revision</goal>            </goals>          </execution>        </executions>      </plugin>

之前Adam2.10-0.18.3搭建成功了,但是下了Adam2.10-0.19 release之后搭建不成功,查看pl.project13.maven之后和修改之后没有效果,而且之前的Adam2.10-0.18.3配置一样

解决:

问题:.git目录没有,Adam2.10-0.18.3是git下来的,有.git,而Adam2.10-0.19 release是tar.gz,没有git,而.git里面有配置文件,将Adam2.10-0.18.3的.gitcopy到Adam2.10-0.19 下,再运行mvn clean package -DskipTests即可


运行结果:

[INFO] Replacing original artifact with shaded artifact.[INFO] Replacing /home/xubo/cloud/adam-adam-parent_2.10-0.19.0/adam-cli/target/adam-cli_2.10-0.19.0.jar with /home/xubo/cloud/adam-adam-parent_2.10-0.19.0/adam-cli/target/adam-cli_2.10-0.19.0-shaded.jar[INFO] ------------------------------------------------------------------------[INFO] Reactor Summary:[INFO] [INFO] ADAM_2.10 .......................................... SUCCESS [  8.775 s][INFO] ADAM_2.10: Core .................................... SUCCESS [02:08 min][INFO] ADAM_2.10: APIs for Java ........................... SUCCESS [ 14.717 s][INFO] ADAM_2.10: CLI ..................................... SUCCESS [ 53.794 s][INFO] ------------------------------------------------------------------------[INFO] BUILD SUCCESS[INFO] ------------------------------------------------------------------------[INFO] Total time: 03:25 min[INFO] Finished at: 2016-04-18T10:29:13+08:00[INFO] Final Memory: 74M/410M[INFO] ------------------------------------------------------------------------





0 0
原创粉丝点击