YARN-10314. YarnClient throws NoClassDefFoundError for WebSocketException with only shaded client jars (#2075)
This commit is contained in:
parent
120ee793fc
commit
c1ef247dc6
@ -811,15 +811,25 @@
|
|||||||
<exclude>*/**</exclude>
|
<exclude>*/**</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</filter>
|
</filter>
|
||||||
<!-- Jetty 9.4.x: jetty-client and jetty-xml are depended by org.eclipse.jetty.websocket:websocket-client.
|
<!-- Jetty 9.4.x: jetty-client and jetty-xml are depended by org.eclipse.jetty.websocket:websocket-client.-->
|
||||||
But we are only excluding jetty-client not jetty-xml because HttpServer2 implicitly uses the shaded package name.
|
|
||||||
-->
|
|
||||||
<filter>
|
<filter>
|
||||||
<artifact>org.eclipse.jetty:jetty-client</artifact>
|
<artifact>org.eclipse.jetty:jetty-client</artifact>
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>*/**</exclude>
|
<exclude>*/**</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</filter>
|
</filter>
|
||||||
|
<filter>
|
||||||
|
<artifact>org.eclipse.jetty:jetty-xml</artifact>
|
||||||
|
<excludes>
|
||||||
|
<exclude>*/**</exclude>
|
||||||
|
</excludes>
|
||||||
|
</filter>
|
||||||
|
<filter>
|
||||||
|
<artifact>org.eclipse.jetty:jetty-http</artifact>
|
||||||
|
<excludes>
|
||||||
|
<exclude>*/**</exclude>
|
||||||
|
</excludes>
|
||||||
|
</filter>
|
||||||
</filters>
|
</filters>
|
||||||
|
|
||||||
<!-- relocate classes from mssql-jdbc -->
|
<!-- relocate classes from mssql-jdbc -->
|
||||||
|
@ -158,12 +158,8 @@
|
|||||||
<!-- the jdk ships part of the javax.annotation namespace, so if we want to relocate this we'll have to care it out by class :( -->
|
<!-- the jdk ships part of the javax.annotation namespace, so if we want to relocate this we'll have to care it out by class :( -->
|
||||||
<exclude>com.google.code.findbugs:jsr305</exclude>
|
<exclude>com.google.code.findbugs:jsr305</exclude>
|
||||||
<exclude>io.dropwizard.metrics:metrics-core</exclude>
|
<exclude>io.dropwizard.metrics:metrics-core</exclude>
|
||||||
<exclude>org.eclipse.jetty.websocket:*</exclude>
|
|
||||||
<exclude>org.eclipse.jetty:jetty-servlet</exclude>
|
<exclude>org.eclipse.jetty:jetty-servlet</exclude>
|
||||||
<exclude>org.eclipse.jetty:jetty-security</exclude>
|
<exclude>org.eclipse.jetty:jetty-security</exclude>
|
||||||
<exclude>org.eclipse.jetty:jetty-client</exclude>
|
|
||||||
<exclude>org.eclipse.jetty:jetty-http</exclude>
|
|
||||||
<exclude>org.eclipse.jetty:jetty-xml</exclude>
|
|
||||||
<exclude>org.ow2.asm:*</exclude>
|
<exclude>org.ow2.asm:*</exclude>
|
||||||
<!-- Leave bouncycastle unshaded because it's signed with a special Oracle certificate so it can be a custom JCE security provider -->
|
<!-- Leave bouncycastle unshaded because it's signed with a special Oracle certificate so it can be a custom JCE security provider -->
|
||||||
<exclude>org.bouncycastle:*</exclude>
|
<exclude>org.bouncycastle:*</exclude>
|
||||||
@ -213,6 +209,13 @@
|
|||||||
<exclude>about.html</exclude>
|
<exclude>about.html</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</filter>
|
</filter>
|
||||||
|
<filter>
|
||||||
|
<!-- skip jetty license info already incorporated into LICENSE/NOTICE -->
|
||||||
|
<artifact>org.eclipse.jetty.websocket:*</artifact>
|
||||||
|
<excludes>
|
||||||
|
<exclude>about.html</exclude>
|
||||||
|
</excludes>
|
||||||
|
</filter>
|
||||||
<filter>
|
<filter>
|
||||||
<!-- skip docs on formats used in kerby -->
|
<!-- skip docs on formats used in kerby -->
|
||||||
<artifact>org.apache.kerby:kerb-util</artifact>
|
<artifact>org.apache.kerby:kerb-util</artifact>
|
||||||
|
Loading…
Reference in New Issue
Block a user