目标org.apache.maven.plugins的执行分析:maven依赖插件:3.0.0:仅分析失败:此功能需要ASM7
我正在使用目标org.apache.maven.plugins的执行分析:maven依赖插件:3.0.0:仅分析失败:此功能需要ASM7,maven,Maven,我正在使用openjdk-11。当我运行maven时,我得到以下错误: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.0.0:analyze-only (analyze) on project mobilefabric-install-common: Execution analyze of goal org.apache.maven.plugins:maven-dependen
openjdk-11
。当我运行maven时,我得到以下错误:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.0.0:analyze-only (analyze) on project mobilefabric-install-common: Execution analyze of goal org.apache.maven.plugins:maven-dependency-plugin:3.0.0:analyze-only failed: This feature requires ASM7 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.0.0:analyze-only (analyze) on project mobilefabric-install-common: Execution analyze of goal org.apache.maven.plugins:maven-dependency-plugin:3.0.0:analyze-only failed: This feature requires ASM7
Maven版本:3.6.1
pom.xml
:
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>7.2-beta</version>
</dependency>
</dependencies>
maven依赖插件
3.1.1
org.ow2.asm
asm
7.2-β
此配置在Java 11上适用:
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-dependency-analyzer</artifactId>
<version>1.11.1</version>
</dependency>
</dependencies>
</plugin>
在MDEP-613上,请使用最新版本的maven dependency plugin,它是3.1.1,在JDK 11上运行。我使用了maven dependency plugin 3.1.1,仍然面临相同的问题请显示完整的pom文件,因为我不理解,因为我正在处理一个JDK 11项目,没有任何问题。。。