日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

isis simple 运行Maven是报错: No goals have been specified for this build.

發布時間:2024/9/30 编程问答 42 豆豆
生活随笔 收集整理的這篇文章主要介紹了 isis simple 运行Maven是报错: No goals have been specified for this build. 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

錯誤信息:

[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [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/NoGoalSpecifiedException
解決辦法 :?
pom.xml文件<build>標簽后面加上<defaultGoal>compile</defaultGoal>即可 ?

OK:

[INFO] Scanning for projects...
[INFO] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
[INFO] ------------------------------------------------------------------------
[INFO] Building simple_wicket_restful_jdo-archetype 1.4.1
[INFO] ------------------------------------------------------------------------
[INFO]?
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (validate-enforce) @ simple_wicket_restful_jdo-archetype ---
[INFO]?
[INFO] --- maven-remote-resources-plugin:1.4:process (default) @ simple_wicket_restful_jdo-archetype ---
[INFO]?
[INFO] --- maven-remote-resources-plugin:1.4:process (process-remote-resources) @ simple_wicket_restful_jdo-archetype ---
[INFO]?
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ simple_wicket_restful_jdo-archetype ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 56 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.424s
[INFO] Finished at: Thu Mar 20 09:28:42 CST 2014
[INFO] Final Memory: 37M/64M
[INFO] ------------------------------------------------------------------------

總結

以上是生活随笔為你收集整理的isis simple 运行Maven是报错: No goals have been specified for this build.的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。