hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liyunzhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-14979) upgrade maven-dependency-plugin to 3.0.2
Date Wed, 25 Oct 2017 07:37:00 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-14979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

liyunzhang updated HADOOP-14979:
--------------------------------
    Description: 
When i build hadoop with jdk9 with command
{code}
mvn clean package -Pdist -DskipTests -Dmaven.javadoc.skip=True -Dtar 
{code}
Build successfully but has some error in the build log
{code}
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)
{code}

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


  was:
When i build hadoop with jdk9 with command
{code}
mvn clean package -Pdist -DskipTests -Dmaven.javadoc.skip=True -Dtar 
{code}
Build successfully but has some error in the build log
{code}
java.lang.NoSuchMethodException: jdk.internal.module.ModuleReferenceImpl.descriptor()
	at java.base/java.lang.Class.getDeclaredMethod(Class.java:2451)
	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)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
{code}

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



> upgrade maven-dependency-plugin to 3.0.2
> ----------------------------------------
>
>                 Key: HADOOP-14979
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14979
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: liyunzhang
>         Attachments: HADOOP-14979.patch
>
>
> When i build hadoop with jdk9 with command
> {code}
> mvn clean package -Pdist -DskipTests -Dmaven.javadoc.skip=True -Dtar 
> {code}
> Build successfully but has some error in the build log
> {code}
> 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)
> {code}
> this should upgrade maven-dependency-plugin to solve.see https://issues.apache.org/jira/browse/MDEP-571



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message