mvn clean install 时出错 - MojoExecutionException
Error upon mvn clean install - MojoExecutionException
我目前正在为我的项目原型使用此设置:
mvn archetype:generate
"-DarchetypeGroupId=com.sap.cloud.s4hana.archetypes"
"-DarchetypeArtifactId=scp-cf-tomee" "-DarchetypeVersion=2.1.2"
"-DgroupId=com.sap.cloud.s4hana.examples" "-DarifactId=address-manager"
"-Dversion=1.0-SNAPSHOT"
我在 MacOS 上的 java 版本是:
java version "1.8.0_172"
Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)
我的JAVA_HOME:
/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home
在 运行 后,mvn clean install 我收到一个错误:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-
plugin:3.0.0-M2:test (default-test) on project address-manager-unit-
tests: There are test failures.
[ERROR]
[ERROR] Please refer to
/Users/XXXX/Documents/Personal/OpenSAP/Create and Deliver
Cloud-Native SAP S:4HANA Extensions/S:4HANA Extensions/address-
manager/unit-tests/target/surefire-reports for the individual test
results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-
jvmRun[N].dump and [date].dumpstream.
[ERROR] ExecutionException The forked VM terminated without properly
saying goodbye. VM crash or System.exit called?
请在附件中找到相同的一些屏幕截图。我更改了 pom.xml under unit tests to reflect version of surefire plugin as
3.0.0-M2`,但错误并没有消失。
任何继续进行的指示将不胜感激。谢谢。
问题似乎出在您的路径中包含空格和冒号。我可以在该设置中重现该问题。请在没有空格和冒号的路径中重试。
此致
弗洛里安
我目前正在为我的项目原型使用此设置:
mvn archetype:generate
"-DarchetypeGroupId=com.sap.cloud.s4hana.archetypes"
"-DarchetypeArtifactId=scp-cf-tomee" "-DarchetypeVersion=2.1.2"
"-DgroupId=com.sap.cloud.s4hana.examples" "-DarifactId=address-manager"
"-Dversion=1.0-SNAPSHOT"
我在 MacOS 上的 java 版本是:
java version "1.8.0_172"
Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)
我的JAVA_HOME:
/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home
在 运行 后,mvn clean install 我收到一个错误:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-
plugin:3.0.0-M2:test (default-test) on project address-manager-unit-
tests: There are test failures.
[ERROR]
[ERROR] Please refer to
/Users/XXXX/Documents/Personal/OpenSAP/Create and Deliver
Cloud-Native SAP S:4HANA Extensions/S:4HANA Extensions/address-
manager/unit-tests/target/surefire-reports for the individual test
results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-
jvmRun[N].dump and [date].dumpstream.
[ERROR] ExecutionException The forked VM terminated without properly
saying goodbye. VM crash or System.exit called?
请在附件中找到相同的一些屏幕截图。我更改了 pom.xml under unit tests to reflect version of surefire plugin as
3.0.0-M2`,但错误并没有消失。
任何继续进行的指示将不胜感激。谢谢。
问题似乎出在您的路径中包含空格和冒号。我可以在该设置中重现该问题。请在没有空格和冒号的路径中重试。
此致
弗洛里安