diff --git a/pages.pt_BR/common/mvn.md b/pages.pt_BR/common/mvn.md index f91df9180c..559c88091c 100644 --- a/pages.pt_BR/common/mvn.md +++ b/pages.pt_BR/common/mvn.md @@ -13,7 +13,7 @@ - Criar um artefato de distribuição sem executar testes unitários: -`mvn package -Dmaven.test.skip=true` +`mvn package -DskipTests` - Instalar um artefato gerado em um repositório local: diff --git a/pages.zh/common/mvn.md b/pages.zh/common/mvn.md index 58f21f7f9f..5c883328af 100644 --- a/pages.zh/common/mvn.md +++ b/pages.zh/common/mvn.md @@ -14,7 +14,7 @@ - 编译和打包,跳过单元测试: -`mvn package -Dmaven.test.skip=true` +`mvn package -DskipTests` - 在本地 maven 存储库中安装构建的包(这也会调用 compile 和 package 命令): diff --git a/pages/common/mvn.md b/pages/common/mvn.md index ca0ff0b37a..edc9ce461e 100644 --- a/pages/common/mvn.md +++ b/pages/common/mvn.md @@ -14,7 +14,7 @@ - Compile and package, skipping unit tests: -`mvn package -Dmaven.test.skip=true` +`mvn package -DskipTests` - Install the built package in local maven repository. (This will invoke the compile and package commands too):