怎么又是你

elasticsearch maven无法生成jar包

Elasticsearch | 作者 jingkyks | 发布于2015年12月12日 | 阅读数:8788

elasticsearch-2.0.1版本
在maven中编译 package 无法生成elasticsearch-2.0.1.jar文件
在core/target中可以生成elasticsearch-2.0.1-snapshot.jar.
编译提示如下:
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ current <<<
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ current ---
[INFO] No sources in project. Archive not created.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Build Tools and Resources .......................... SUCCESS [  3.171 s]
[INFO] Rest API Specification ............................. SUCCESS [  3.831 s]
[INFO] Elasticsearch: Parent POM .......................... SUCCESS [ 11.957 s]
[INFO] Elasticsearch: Core ................................ SUCCESS [ 45.364 s]
[INFO] Distribution: Parent POM ........................... SUCCESS [ 11.234 s]
[INFO] Distribution: TAR .................................. SUCCESS [ 12.427 s]
[INFO] Distribution: ZIP .................................. SUCCESS [ 11.926 s]
[INFO] Distribution: Deb .................................. SUCCESS [ 17.868 s]
[INFO] Plugin: Parent POM ................................. SUCCESS [ 12.360 s]
[INFO] Plugin: Analysis: Japanese (kuromoji) .............. SUCCESS [  4.585 s]
[INFO] Plugin: Analysis: Smart Chinese (smartcn) .......... SUCCESS [  2.838 s]
[INFO] Plugin: Analysis: Polish (stempel) ................. SUCCESS [  2.426 s]
[INFO] Plugin: Analysis: Phonetic ......................... SUCCESS [  2.915 s]
[INFO] Plugin: Analysis: ICU .............................. SUCCESS [  6.034 s]
[INFO] Plugin: Cloud: Google Compute Engine ............... SUCCESS [  4.265 s]
[INFO] Plugin: Cloud: Azure ............................... SUCCESS [  6.839 s]
[INFO] Plugin: Cloud: AWS ................................. SUCCESS [  3.893 s]
[INFO] Plugin: Delete By Query ............................ SUCCESS [  1.515 s]
[INFO] Plugin: Discovery: Multicast ....................... SUCCESS [  1.466 s]
[INFO] Plugin: Language: Python ........................... SUCCESS [  6.025 s]
[INFO] Plugin: Language: JavaScript ....................... SUCCESS [  1.897 s]
[INFO] Plugin: Mapper: Murmur3 ............................ SUCCESS [  1.459 s]
[INFO] Plugin: Mapper: Size ............................... SUCCESS [  1.364 s]
[INFO] Plugin: JVM example ................................ SUCCESS [  1.301 s]
[INFO] Plugin: Example site ............................... SUCCESS [  1.265 s]
[INFO] QA: Parent POM ..................................... SUCCESS [  1.971 s]
[INFO] QA: Smoke Test Plugins ............................. SUCCESS [ 11.613 s]
[INFO] QA: Smoke Test Multi-Node IT ....................... SUCCESS [ 11.850 s]
[INFO] QA: Smoke Test Client .............................. SUCCESS [  1.852 s]
[INFO] QA: Backwards Compatibility ........................ SUCCESS [  1.858 s]
[INFO] QA: BWC: Shared .................................... SUCCESS [  7.364 s]
[INFO] QA: BWC: Two Versions Parent ....................... SUCCESS [  1.828 s]
[INFO] QA: BWC: Current ................................... SUCCESS [  2.005 s]
[INFO] QA: BWC: 2.0.0 ..................................... SUCCESS [  1.913 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:38 min (Wall Clock)
[INFO] Finished at: 2015-12-12T10:47:14+08:00
[INFO] Final Memory: 69M/697M
[INFO] ------------------------------------------------------------------------
 
代码是直接从github上clone下来的。
 
已邀请:

medcl - 今晚打老虎。

赞同来自:

你运行的命令是撒?
mvn  package?

要回复问题请先登录注册