0

次のコマンドを使用して、LinuxコマンドラインからMavenをインストールしようとしています。

/opt/apache-maven-2.2.1/bin/mvn -r -Dclient=HSH -Dmaven.test skip=true install

しかし、私はこれを取得し続けます:

Invalid task 'skip=true': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal

これを避けるために私は何をすべきですか?

4

1 に答える 1

0

あなたが欲しい

-Dmaven.test.skip=true

つまり、「。」がありません。の前にskip

于 2013-01-04T09:26:07.220 に答える