Skip to content

Commit 1e16a6a

Browse files
committed
Shade Netty dependency (JAVA-538).
1 parent 0fe153f commit 1e16a6a

3 files changed

Lines changed: 31 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ notes
1010

1111
/.idea
1212
*.iml
13+
14+
/driver-core/dependency-reduced-pom.xml

driver-core/CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
CHANGELOG
22
=========
33

4+
2.0.9:
5+
------
6+
7+
- [improvement] Shade Netty dependency (JAVA-538)
8+
9+
410
2.0.8:
511
------
612

driver-core/pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,29 @@
135135
<showDeprecation>true</showDeprecation>
136136
</configuration>
137137
</plugin>
138+
<plugin>
139+
<artifactId>maven-shade-plugin</artifactId>
140+
<version>2.3</version>
141+
<executions>
142+
<execution>
143+
<phase>package</phase>
144+
<goals><goal>shade</goal></goals>
145+
<configuration>
146+
<artifactSet>
147+
<includes>
148+
<include>io.netty:netty</include>
149+
</includes>
150+
</artifactSet>
151+
<relocations>
152+
<relocation>
153+
<pattern>org.jboss.netty</pattern>
154+
<shadedPattern>com.datastax.shaded.netty</shadedPattern>
155+
</relocation>
156+
</relocations>
157+
</configuration>
158+
</execution>
159+
</executions>
160+
</plugin>
138161
</plugins>
139162
</build>
140163
</profile>

0 commit comments

Comments
 (0)