Skip to content

Commit

Permalink
Relocated google commons in shaded jar
Browse files Browse the repository at this point in the history
  • Loading branch information
mrogers committed Dec 13, 2018
1 parent 03564ed commit 1f622d1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<groupId>org.littleshoot</groupId>
<artifactId>littleproxy</artifactId>
<packaging>jar</packaging>
<version>1.1.2</version>
<version>1.1.2_custom</version>
<name>LittleProxy</name>
<description>
LittleProxy is a high performance HTTP proxy written in Java and using the Netty networking framework.
Expand Down Expand Up @@ -50,7 +50,7 @@
<connection>scm:git:https://[email protected]/adamfisk/LittleProxy.git</connection>
<developerConnection>scm:git:[email protected]:adamfisk/LittleProxy</developerConnection>
<url>scm:git:[email protected]:adamfisk/LittleProxy.git</url>
<tag>littleproxy-1.1.2</tag>
<tag>littleproxy-1.1.2_custom</tag>
</scm>

<distributionManagement>
Expand Down Expand Up @@ -545,6 +545,13 @@
<file>src/main/config/log4j.xml</file>
</transformer>
</transformers>

<relocations>
<relocation>
<pattern>com.google.common</pattern>
<shadedPattern>org.littleshoot.littleproxy.shade.com.google.common</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 1f622d1

Please sign in to comment.