Hi,<br><br>If we define newer vesion of com.ning dependancy (aether-connector-asynchttpclient currently depends to 1.6.5)<br><br><dependency><br> <groupId>com.ning</groupId><br> <artifactId>async-http-client</artifactId><br>
<version>1.7.6</version><br></dependency><br>problem would be solved, as new version uses io.netty as dependancy <a href="http://mvnrepository.com/artifact/com.ning/async-http-client/1.7.6">http://mvnrepository.com/artifact/com.ning/async-http-client/1.7.6</a><br>
<br>--<br>tomaz<br> <br><br><div class="gmail_quote">On Fri, Oct 5, 2012 at 4:20 PM, Jeff Mesnil <span dir="ltr"><<a href="mailto:jmesnil@redhat.com" target="_blank">jmesnil@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys,<br>
<br>
This is of interest for infinispan, web & messaging subsystem and the test suite.<br>
<br>
As a part of upgrading HornetQ to 2.3.O.BETA1 in AS7[1], we also need to upgrade its dependency to Netty 3.4.5.Final[2].<br>
Inside AS7, the Web subsystem also depends on Netty. Guys, is it ok for you to upgrade to 3.4.5?<br>
<br>
Unfortunately, to move from Netty 3.2.x to Netty 3.4.x, we must also change its groupId from org.jboss.netty to io.netty.<br>
<br>
If I do that, I can no longer build AS7 test suite because of bad dependencies which requires Netty 3.2.x:<br>
<br>
+-org.jboss.as:jboss-as-testsuite:7.2.0.Alpha1-SNAPSHOT<br>
+-org.jboss.as:jboss-as-build:7.2.0.Alpha1-SNAPSHOT<br>
+-org.jboss.as:jboss-as-core-model-test:7.2.0.Alpha1-SNAPSHOT<br>
+-org.jboss.as:jboss-as-model-test:7.2.0.Alpha1-SNAPSHOT<br>
+-org.sonatype.aether:aether-connector-asynchttpclient:1.13.1<br>
+-com.ning:async-http-client:1.6.5<br>
+-org.jboss.netty:netty:3.2.5.Final<br>
and<br>
+-org.jboss.as:jboss-as-testsuite:7.2.0.Alpha1-SNAPSHOT<br>
+-org.projectodd.stilts:stilts-stomp-client:0.1.26<br>
+-org.projectodd.stilts:stilts-stomp-api:0.1.26<br>
+-org.jboss.netty:netty:3.2.1.Final<br>
<br>
Since only the test suite depends on Netty 3.2.x, in my PR, I have 2 versions of Netty:<br>
* io.netty Netty 3.4.5.Final => used by AS7 codebase<br>
* org.jboss.netty Netty 3.2.x => used by AS7 test suite<br>
<br>
This is ugly but this works...<br>
However, I'd like to reconcile these 2 versions and upgrade everything to 3.4.5.Final<br>
<br>
I have submitted patches for Stilts[3] and Aether connector[4] to upgrade their dependencies to Netty 3.4.x (groupId=io.netty).<br>
Until they release new versions of their components, we are stuck with Netty 3.2.x.<br>
<br>
Another question is about the recent upgrade to Infinispan 5.2.0.BETA1[5]. When I look at this version's POM[6], it depends on<br>
Netty 3.4.6.Final. Shouldn't have Netty been updated at the same time than Infinispan?<br>
If that's not required to upgrade a component dependencies when the component is upgraded, I could postpone Netty 3.4.x upgrade.<br>
However some HornetQ bugs requires this version (e.g. for WebSockets support[7]). I really want to keep the AS7 dependencies in<br>
sync with the deps of HornetQ that is integrated.<br>
<br>
wdyt?<br>
<br>
jeff<br>
<br>
<br>
[1] <a href="https://issues.jboss.org/browse/AS7-5683" target="_blank">https://issues.jboss.org/browse/AS7-5683</a><br>
[2] <a href="https://issues.jboss.org/browse/AS7-5402" target="_blank">https://issues.jboss.org/browse/AS7-5402</a><br>
[3] <a href="https://github.com/projectodd/stilts/pull/8" target="_blank">https://github.com/projectodd/stilts/pull/8</a><br>
[4] <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=391233" target="_blank">https://bugs.eclipse.org/bugs/show_bug.cgi?id=391233</a><br>
[5] <a href="https://github.com/jbossas/jboss-as/commit/7107c3abcd6220f71380b3602398edaa2978a472#diff-19" target="_blank">https://github.com/jbossas/jboss-as/commit/7107c3abcd6220f71380b3602398edaa2978a472#diff-19</a><br>
[6] <a href="https://github.com/infinispan/infinispan/blob/5.2.0.Beta1/parent/pom.xml#L141" target="_blank">https://github.com/infinispan/infinispan/blob/5.2.0.Beta1/parent/pom.xml#L141</a><br>
[7] <a href="https://issues.jboss.org/browse/HORNETQ-819" target="_blank">https://issues.jboss.org/browse/HORNETQ-819</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Jeff Mesnil<br>
JBoss, a division of Red Hat<br>
<a href="http://jmesnil.net/" target="_blank">http://jmesnil.net/</a><br>
_______________________________________________<br>
jboss-as7-dev mailing list<br>
<a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
</font></span></blockquote></div><br>