[INFO] --- maven-plugin-plugin:3.6.2:descriptor (default-descriptor) @ dremio-protostuff-maven-plugin --- [ERROR]

Maven dependencies of Maven Plugins should be in 'provided' scope. Please make sure that all your dependencies declared in POM whose group ID is org.apache.maven have set 'provided' as well. In the future this error will break the build.

The following dependencies are in wrong scope:

  • org.apache.maven:maven-artifact:jar:3.2.3:compile

Please fix your build!

[INFO] Using 'UTF-8' encoding to read mojo source files. [INFO] java-javadoc mojo extractor found 0 mojo descriptor. [INFO] bsh mojo extractor found 0 mojo descriptor. [INFO] ant mojo extractor found 0 mojo descriptor. [WARNING] Deprecated @Component annotation for 'execution' field in com.dremio.protostuff.mojo.ProtoCompilerMojo: replace with @Parameter( defaultValue = "${mojoExecution}", readonly = true ) [INFO] java-annotations mojo extractor found 1 mojo descriptor. [INFO] [INFO] --- maven-plugin-plugin:3.6.2:helpmojo (help-descriptor) @ dremio-protostuff-maven-plugin --- [ERROR]

Maven dependencies of Maven Plugins should be in 'provided' scope. Please make sure that all your dependencies declared in POM whose group ID is org.apache.maven have set 'provided' as well. In the future this error will break the build.

The following dependencies are in wrong scope:

  • org.apache.maven:maven-artifact:jar:3.2.3:compile

Please fix your build!

这是一个 Maven 构建过程中的错误信息。该错误指出 Maven 插件的依赖应该使用 'provided' 范围。需要确保在 POM 文件中的所有依赖项的 group ID 为 org.apache.maven 的都设置了 'provided'。错误提示中指出了一个依赖项 org.apache.maven:maven-artifact:jar:3.2.3 在错误的范围(compile)中。需要将该依赖项的范围修正为 'provided'。

Maven 插件依赖范围错误 - org.apache.maven:maven-artifact 依赖范围应为 provided

原文地址: https://www.cveoy.top/t/topic/qDl4 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录