1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > maven teavm-idea-artifacts: Command execution failed.: Process exited with an error: 1 Exit value: 1

maven teavm-idea-artifacts: Command execution failed.: Process exited with an error: 1 Exit value: 1

时间:2023-06-09 16:28:27

相关推荐

maven teavm-idea-artifacts: Command execution failed.: Process exited with an error: 1 Exit value: 1

具体错误:

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (copy-dependencies) on project teavm-idea-artifacts: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]

具体来说,就是一个teavm-idea-artifacts的org.codehaus.mojo的exec-maven-plugin部分构建出错。怎么办?

查找

即有一个pom.xml中,包含teavm-idea-artifacts。

修改

看看这个结构中,有什么特殊的内容,然后清理掉。

<artifactId>teavm-idea-artifacts</artifactId><name>TeaVM IDEA artifacts</name><packaging>pom</packaging><build><plugins><plugin><groupId>org.codehaus.mojo</groupId><artifactId>exec-maven-plugin</artifactId><version>1.3.2</version><executions><execution><id>copy-dependencies</id><phase>initialize</phase><goals><goal>exec</goal></goals><configuration><executable>mvn</executable><arguments><item>-f</item><item>dep-pom.xml</item><item>install</item><item>-Didea.version=${idea.version}</item><item>-Dteavm.version=${project.version}</item><item>-Dmaven.repo.local=${settings.localRepository}</item><item>-B</item></arguments></configuration></execution></executions></plugin></plugins></build></profile></profiles></project>

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。