Ismaël Mejía created BEAM-9252:
----------------------------------

             Summary: Problem shading Beam pipeline with Beam 2.20.0-SNAPSHOT
                 Key: BEAM-9252
                 URL: https://issues.apache.org/jira/browse/BEAM-9252
             Project: Beam
          Issue Type: Bug
          Components: build-system
    Affects Versions: 2.20.0
            Reporter: Ismaël Mejía


I was checking today a pipeline against the latest 2.20.0-SNAPSHOT and I found 
that it used to work perfectly and now is failing to shade with an exception 
that refers to grpc 1.26.0

{{[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-shade-plugin:3.2.1:shade (default) on project 
EventsToIOs: Error creating shaded jar: Problem shading JAR 
/home/ismael/.m2/repository/org/apache/beam/beam-vendor-grpc-1_26_0/0.1/beam-vendor-grpc-1_26_0-0.1.jar
 entry org/apache/beam/vendor/grpc/v1p26p0/org/jboss/modules/Main.class: 
org.apache.maven.plugin.MojoExecutionException: Error in ASM processing class 
org/apache/beam/vendor/grpc/v1p26p0/org/jboss/modules/Main.class: 65536 -> 
[Help 1]}}

{{There is also a warning that is not present in the build against 2.19.0}}

{{[WARNING] Discovered module-info.class. Shading will break its strong 
encapsulation.}}

 

I wonder if we are not doing something wrong during our vendoring, can someone 
take a look please.

sdfsd



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to