Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docker-java-transport-zerodep/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,20 @@
<pattern>com.github.dockerjava.httpclient5</pattern>
<shadedPattern>com.github.dockerjava.zerodep</shadedPattern>
</relocation>
<!-- Relocate the public suffix resource so it doesn't conflict with
standalone httpclient5 on the classpath. The standard relocation
renames the resource file; the rawString relocation fixes the
absolute-path string literal ("/org/publicsuffix/...") baked into
PublicSuffixMatcherLoader bytecode by docker-java's own shade pass. -->
<relocation>
<pattern>org.publicsuffix</pattern>
<shadedPattern>com.github.dockerjava.zerodep.shaded.org.publicsuffix</shadedPattern>
</relocation>
<relocation>
<rawString>true</rawString>
<pattern>/org/publicsuffix</pattern>
<shadedPattern>/com/github/dockerjava/zerodep/shaded/org/publicsuffix</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
Expand Down