Skip to content

Commit

Permalink
OAK-11300: shaded-guava: remove exports for packages that are not use…
Browse files Browse the repository at this point in the history
…d (anymore) - eventbus, html, xml
  • Loading branch information
reschke committed Dec 10, 2024
1 parent 92e9020 commit 36789b0
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions oak-shaded-guava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@
<shadedPattern>${pref}</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>com/google/common/eventbus/**</exclude>
<exclude>com/google/common/html/**</exclude>
<exclude>com/google/common/xml/**</exclude>
</excludes>
</filter>
</filters>
<createDependencyReducedPom>true</createDependencyReducedPom>
<createSourcesJar>true</createSourcesJar>
</configuration>
Expand Down Expand Up @@ -87,16 +97,13 @@
${pref}.common.cache;version="${exported.guava.version}";uses:="${pref}.common.base,${pref}.common.collect,${pref}.common.util.concurrent",
${pref}.common.collect;version="${exported.guava.version}";uses:="${pref}.common.base",
${pref}.common.escape;version="${exported.guava.version}";uses:="${pref}.common.base",
${pref}.common.eventbus;version="${exported.guava.version}",
${pref}.common.graph;version="${exported.guava.version}";uses:="${pref}.common.collect",
${pref}.common.hash;version="${exported.guava.version}";uses:="${pref}.common.base",
${pref}.common.html;version="${exported.guava.version}";uses:="${pref}.common.escape",
${pref}.common.io;version="${exported.guava.version}";uses:="${pref}.common.base,${pref}.common.collect,${pref}.common.graph,${pref}.common.hash",
${pref}.common.math;version="${exported.guava.version}",${pref}.common.net;version="${exported.guava.version}";uses:="${pref}.common.base,${pref}.common.collect,${pref}.common.escape",
${pref}.common.primitives;version="${exported.guava.version}";uses:="${pref}.common.base",
${pref}.common.reflect;version="${exported.guava.version}";uses:="${pref}.common.collect,${pref}.common.io",
${pref}.common.util.concurrent;version="${exported.guava.version}";uses:="${pref}.common.base,${pref}.common.collect,${pref}.common.util.concurrent.internal",
${pref}.common.xml;version="${exported.guava.version}";uses:="${pref}.common.escape"
</Export-Package>
<Import-Package>
javax.annotation;resolution:=optional;version="[3.0,4)",
Expand Down

0 comments on commit 36789b0

Please sign in to comment.