turboFei commented on code in PR #2615:
URL: https://github.com/apache/celeborn/pull/2615#discussion_r1676159695


##########
openapi/openapi-client/pom.xml:
##########
@@ -197,6 +201,70 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-shade-plugin</artifactId>
+        <configuration>
+          <relocations>
+            <relocation>
+              <pattern>io.swagger</pattern>
+              <shadedPattern>${shading.prefix}.io.swagger</shadedPattern>
+            </relocation>
+            <relocation>
+              <pattern>org.openapitools</pattern>
+              <shadedPattern>${shading.prefix}.org.openapitools</shadedPattern>
+            </relocation>
+            <relocation>
+              <pattern>com.google</pattern>
+              <shadedPattern>${shading.prefix}.com.google</shadedPattern>
+            </relocation>
+            <relocation>
+              <pattern>javax.annotation</pattern>
+              <shadedPattern>${shading.prefix}.javax.annotation</shadedPattern>
+            </relocation>
+            <relocation>
+              <pattern>org.glassfish.jersey</pattern>
+              
<shadedPattern>${shading.prefix}.org.glassfish.jersey</shadedPattern>
+            </relocation>
+            <relocation>
+              <pattern>com.fasterxml.jackson</pattern>
+              
<shadedPattern>${shading.prefix}.com.fasterxml.jackson</shadedPattern>
+            </relocation>
+          </relocations>
+          <artifactSet>
+            <includes>
+              <include>io.swagger:swagger-annotations</include>
+              <include>io.swagger:swagger-models</include>
+              <include>org.openapitools:jackson-databind-nullable</include>
+              <include>com.google.code.findbugs:jsr305</include>
+              <include>org.glassfish.jersey.core:jersey-client</include>
+              
<include>org.glassfish.jersey.media:jersey-media-json-jackson</include>
+              <include>com.fasterxml.jackson.core:jackson-annotations</include>
+              <include>com.fasterxml.jackson.core:jackson-databind</include>
+              
<include>com.fasterxml.jackson.datatype:jackson-datatype-jsr310</include>
+              
<include>org.glassfish.jersey.media:jersey-media-multipart</include>
+            </includes>
+          </artifactSet>
+          <filters>
+            <filter>
+              <artifact>*:*</artifact>
+              <excludes>
+                <exclude>META-INF/*.SF</exclude>
+                <exclude>META-INF/*.DSA</exclude>
+                <exclude>META-INF/*.RSA</exclude>
+                <exclude>**/log4j.properties</exclude>
+                <exclude>META-INF/LICENSE.txt</exclude>
+                <exclude>META-INF/NOTICE.txt</exclude>
+                <exclude>LICENSE.txt</exclude>
+                <exclude>NOTICE.txt</exclude>
+              </excludes>
+            </filter>
+          </filters>
+          <transformers>
+            <transformer 
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"></transformer>

Review Comment:
   The shade mvn/sbt plugin setting are the same with the existing shade 
modules.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to