Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14979

Upgrade maven-dependency-plugin to 3.0.2

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When i build hadoop with jdk9 with command

      mvn clean package -Pdist -DskipTests -Dmaven.javadoc.skip=True -Dtar 
      

      Build successfully but has some error in the build log

      java.lang.NoSuchMethodException: jdk.internal.module.ModuleReferenceImpl.descriptor()
              at java.base/java.lang.Class.getDeclaredMethod(Class.java:2432)
              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:134)
      

      this should upgrade maven-dependency-plugin to solve.see https://issues.apache.org/jira/browse/MDEP-571

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kellyzly liyunzhang
                Reporter:
                kellyzly liyunzhang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: