ハドソンを学んでいます。Tomcat 7にデプロイされたHudson 3.0.1で「Maven3プロジェクト」をセットアップしようとしましたが、「クリーンインストール」を実行しようとすると。最初に次の警告を見ました:
[WARNING]
[WARNING] Some problems were encountered while building the effective model for DummyProject :DummyProject :war:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:tomcat-maven-plugin is missing. @ line 46, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
このプラグインはPOMにありました。この警告が表示される理由がわかりません。この警告の後に次のエラーが続きました:
[INFO] ------------------------------------------------------------------------
[INFO] Building DummyProject 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://localhost:8081/nexus/content/groups/public/org/codehaus/mojo/tomcat-maven-plugin/maven-metadata.xml
Downloaded: http://localhost:8081/nexus/content/groups/public/org/codehaus/mojo/tomcat-maven- plugin/maven-metadata.xml (439 B at 2.1 KB/sec)
projectFailed DummyProject :DummyProject :0.0.1-SNAPSHOT
[HUDSON] Archiving C:\tomcat7\webapps\hudson-3.0.1\jobs\DummyProject\workspace\pom.xml to C:\tomcat7\webapps\hudson-3.0.1\jobs\DummyProject \modules\DummyProject $DummyProject \builds\2013- 06-27_10-58-26\archive\DummyProject \DummyProject \0.0.1-SNAPSHOT\pom.xml
sessionEnded
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.234s
[INFO] Finished at: Thu Jun 27 10:58:29 PDT 2013
[INFO] Final Memory: 5M/245M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
org.apache.maven.lifecycle.LifecyclePhaseNotFoundException: Unknown lifecycle phase "mvn". 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-site, site, post-site, site-deploy, pre-clean, clean, post-clean.
[DEBUG] Skipping watched dependency update for build: DummyProject #2 due to result: FAILURE
Finished: FAILURE
ここで何が間違っているのか誰か教えてもらえますか? ハドソンでも Maven ジョブの作成を示すドキュメントを誰かが参照していただければ幸いです。
ありがとう