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

Upgrade maven-dependency-plugin to 3.0.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • build
    • None
    • 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

        1. HADOOP-14979.patch
          0.7 kB
          liyunzhang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: