Elffuss BraidHub

kikocis/java-driver public

Move shade configuration in normal build (not profile).
Changeset87ec729d4dcd3fb25aba34a253b1ed5b603b6c9c5928abb65ab895515b13864b
Authorolim7t <omichallat+github@gmail.com> · 2015-02-20 21:28 +01:00
Committerolim7t <omichallat+github@gmail.com> · 2015-02-20 21:34 +01:00
Parents517d8b7ba2dc

Browse the files at this changeset

1 file changed

modified driver-core/pom.xml +23 −23
@@ -148,6 +148,29 @@
148148 </supportedProjectTypes>
149149 </configuration>
150150 </plugin>
151+ <plugin>
152+ <artifactId>maven-shade-plugin</artifactId>
153+ <version>2.3</version>
154+ <executions>
155+ <execution>
156+ <phase>package</phase>
157+ <goals><goal>shade</goal></goals>
158+ <configuration>
159+ <artifactSet>
160+ <includes>
161+ <include>io.netty:netty</include>
162+ </includes>
163+ </artifactSet>
164+ <relocations>
165+ <relocation>
166+ <pattern>org.jboss.netty</pattern>
167+ <shadedPattern>com.datastax.shaded.netty</shadedPattern>
168+ </relocation>
169+ </relocations>
170+ </configuration>
171+ </execution>
172+ </executions>
173+ </plugin>
151174 </plugins>
152175 </build>
153176
@@ -178,29 +201,6 @@
178201 <!--<forkMode>never</forkMode>-->
179202 </configuration>
180203 </plugin>
181- <plugin>
182- <artifactId>maven-shade-plugin</artifactId>
183- <version>2.3</version>
184- <executions>
185- <execution>
186- <phase>package</phase>
187- <goals><goal>shade</goal></goals>
188- <configuration>
189- <artifactSet>
190- <includes>
191- <include>io.netty:netty</include>
192- </includes>
193- </artifactSet>
194- <relocations>
195- <relocation>
196- <pattern>org.jboss.netty</pattern>
197- <shadedPattern>com.datastax.shaded.netty</shadedPattern>
198- </relocation>
199- </relocations>
200- </configuration>
201- </execution>
202- </executions>
203- </plugin>
204204 </plugins>
205205 </build>
206206 </profile>