Description
HADOOP-14979 upgraded maven dependency plugin to 3.0.2, but the version was overridden to 3.0.1 by YARN-7129 and the following error occurred again.
[INFO] --- maven-dependency-plugin:3.0.1:list (deplist) @ hadoop-streaming --- java.lang.NoSuchMethodException: jdk.internal.module.ModuleReferenceImpl.descriptor() at java.base/java.lang.Class.getDeclaredMethod(Class.java:2476) at org.apache.maven.plugins.dependency.utils.DependencyStatusSets.getModuleDescriptor(DependencyStatusSets.java:272) at org.apache.maven.plugins.dependency.utils.DependencyStatusSets.buildArtifactListOutput(DependencyStatusSets.java:227) at org.apache.maven.plugins.dependency.utils.DependencyStatusSets.getOutput(DependencyStatusSets.java:165) at org.apache.maven.plugins.dependency.resolvers.ResolveDependenciesMojo.doExecute(ResolveDependenciesMojo.java:90) at org.apache.maven.plugins.dependency.AbstractDependencyMojo.execute(AbstractDependencyMojo.java:143) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
Let's upgrade the plugin version to fix the build failure in Java 11.
Attachments
Attachments
Issue Links
- is broken by
-
YARN-7129 Application Catalog initial project setup and source
- Resolved
- relates to
-
HADOOP-14979 Upgrade maven-dependency-plugin to 3.0.2
- Resolved