You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Devaraj K (JIRA)" <ji...@apache.org> on 2018/11/15 06:19:00 UTC

[jira] [Created] (HADOOP-15937) [JDK 11] Update maven-shade-plugin.version to 3.2.1

Devaraj K created HADOOP-15937:
----------------------------------

             Summary: [JDK 11] Update maven-shade-plugin.version to 3.2.1
                 Key: HADOOP-15937
                 URL: https://issues.apache.org/jira/browse/HADOOP-15937
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: build
         Environment: openjdk version "11" 2018-09-25
            Reporter: Devaraj K


Build fails with the below error,
{code:xml}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.0:shade (default) on project hadoop-yarn-csi: Error creating shaded jar: Problem shading JAR /hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/target/hadoop-yarn-csi-3.3.0-SNAPSHOT.jar entry csi/v0/Csi$GetPluginInfoRequestOrBuilder.class: org.apache.maven.plugin.MojoExecutionException: Error in ASM processing class csi/v0/Csi$GetPluginInfoRequestOrBuilder.class: UnsupportedOperationException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.0:shade (default) on project hadoop-yarn-csi: Error creating shaded jar: Problem shading JAR /hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/target/hadoop-yarn-csi-3.3.0-SNAPSHOT.jar entry csi/v0/Csi$GetPluginInfoRequestOrBuilder.class: org.apache.maven.plugin.MojoExecutionException: Error in ASM processing class csi/v0/Csi$GetPluginInfoRequestOrBuilder.class
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
.......
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hadoop-yarn-csi

{code}


Updating maven-shade-plugin.version to 3.2.1 fixes the issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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