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

具体错误:

[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>

目录
相关文章
|
Java Maven
Maven编译报错:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile 解决方案
在执行Maven项目中的`install`命令时,遇到编译插件版本不匹配的错误。具体报错为:`maven-compiler-plugin:3.13.0`要求Maven版本至少为3.6.3。解决方案是将Maven版本升级到3.6.3或降低插件版本。本文详细介绍了如何下载、解压并配置Maven 3.6.3,包括环境变量设置和IDEA中的Maven配置,确保项目顺利编译。
18585 5
Maven编译报错:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile 解决方案
|
JavaScript 前端开发 Java
Idea启动SpringBoot程序报错:Veb server failed to start. Port 8082 was already in use;端口冲突的原理与解决方案
本文解决了Idea启动SpringBoot程序报错:Veb server failed to start. Port 8082 was already in use的问题,并通过介绍端口的使用原理和操作系统的端口管理机制,可以更有效地解决端口冲突问题,并确保Web服务器能够顺利启动和运行。 只有锻炼思维才能可持续地解决问题,只有思维才是真正值得学习和分享的核心要素。如果这篇博客能给您带来一点帮助,麻烦您点个赞支持一下,还可以收藏起来以备不时之需,有疑问和错误欢迎在评论区指出~
IDEA创建项目失败提示 Failed to create directory 或 “项目初始化失败”
文章解释了IDEA创建项目失败提示“Failed to create directory”或“项目初始化失败”的原因通常是由于IDEA对目标文件夹没有操作权限,并建议更换一个有权限的文件夹来创建项目。
2429 2
IDEA创建项目失败提示 Failed to create directory 或 “项目初始化失败”
|
Java Maven Spring
SpringBoot 系列之 Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resource
这篇文章描述了在使用Maven构建Spring Boot项目时遇到的`maven-resources-plugin`插件版本问题导致的编译失败,并提供了通过修改插件版本至3.1.0来解决这个问题的方法。
SpringBoot 系列之 Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resource
遇到Error saving license data.C:\Users|yyh\idea.key(拒绝访问。) CORP\AppDatalRoamingVetBrainslIntellilldea20的解决思路
今日进行云桌面迁移后,发现已激活的IDEA软件失效,并且每次启动都需要重新激活,极为不便。经过一番调查与尝试多种解决方案后,最终通过第4种方法解决了问题:先进入特定设置界面移除原有激活信息,再重新输入激活码完成激活过程,从而确保下次启动不再需要重复激活步骤。
Error:Internal error: (java.lang.IllegalAccessError) class com.,idea2019.3版本,必须用application2.7.6或者以下
Error:Internal error: (java.lang.IllegalAccessError) class com.,idea2019.3版本,必须用application2.7.6或者以下
|
Java Maven
Maven运行builder出现Failed to execute goal on projectXXXXX错误
Maven运行builder出现Failed to execute goal on projectXXXXX错误
574 7
Intellij IDEA运行报Command line is too long的解决办法
Intellij IDEA运行报Command line is too long的解决办法
2726 1
Intellij idea 报错:Error : java 不支持发行版本5
Intellij idea 报错:Error : java 不支持发行版本5
421 0
IDEA云行项目提示Error: java: OutOfMemoryError
IDEA云行项目提示Error: java: OutOfMemoryError
959 0

推荐镜像

更多