Replying to myself, after looking in the history of cdi/extension/pom.xml, it seems it was upgraded to 5.14.6 back when the core was still on 5.11. Actually Kevin upgraded everything to 5.14.6 and then switched everything but cdi back to 5.11 for some unknown reason (<a href="https://issues.jboss.org/browse/ISPN-1250">https://issues.jboss.org/browse/ISPN-1250</a> doesn&#39;t provide any explanation).<br>
<br>I think the best approach here would be to remove the special case for cdi and use the parent testng version.<br><br><br><div class="gmail_quote">On Wed, Sep 5, 2012 at 3:27 PM, Dan Berindei <span dir="ltr">&lt;<a href="mailto:dan.berindei@gmail.com" target="_blank">dan.berindei@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Vladimir, is there any reason why the CDI test suite doesn&#39;t use the same TestNG version as the core test suite?<br>
<br>BTW, the latest TestNG version is 6.7, we might want to consider an upgrade for all the projects.<div class="HOEnZb"><div class="h5"><br>
<br><br><div class="gmail_quote">On Wed, Sep 5, 2012 at 2:29 PM, Vladimir Blagojevic <span dir="ltr">&lt;<a href="mailto:vblagoje@redhat.com" target="_blank">vblagoje@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Confirmed. We can fix this issue by using XmlTest#getXmlClasses instead<br>
of XmlTest#getClasses in UnitTestTestNGListener. I&#39;ll issue a pull for<br>
this simple fix.<br>
<div><div>On 12-09-05 12:24 PM, Vladimir Blagojevic wrote:<br>
&gt; Ok looks like someone updated UnitTestTestNGListener.java from core<br>
&gt; project to use 5.14.10 testng version where ITestContext testng class<br>
&gt; has method getClasses but in 5.14.6 that method does not exist and it<br>
&gt; seems like we need to use 5.14.6 in cdi project. Investigating....<br>
&gt;<br>
&gt;<br>
&gt; On 12-09-05 11:50 AM, Vladimir Blagojevic wrote:<br>
&gt;&gt; Guys,<br>
&gt;&gt;<br>
&gt;&gt; As I prepared pull request for ISPN-2181 and I rebased to current<br>
&gt;&gt; master, my cdi test suite started to fail with:<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------<br>
&gt;&gt;     T E S T S<br>
&gt;&gt; -------------------------------------------------------<br>
&gt;&gt; Running TestSuite<br>
&gt;&gt; Configuring TestNG with:<br>
&gt;&gt; org.apache.maven.surefire.testng.conf.TestNGMapConfigurator@324a4e31<br>
&gt;&gt; log4j:WARN No appenders could be found for logger (org.jboss.logging).<br>
&gt;&gt; log4j:WARN Please initialize the log4j system properly.<br>
&gt;&gt; log4j:WARN See <a href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="_blank">http://logging.apache.org/log4j/1.2/faq.html#noconfig</a> for<br>
&gt;&gt; more info.<br>
&gt;&gt; [INFO]<br>
&gt;&gt; ------------------------------------------------------------------------<br>
&gt;&gt; [INFO] BUILD FAILURE<br>
&gt;&gt; [INFO]<br>
&gt;&gt; ------------------------------------------------------------------------<br>
&gt;&gt; [INFO] Total time: 33.484s<br>
&gt;&gt; [INFO] Finished at: Wed Sep 05 11:47:54 CEST 2012<br>
&gt;&gt; [INFO] Final Memory: 18M/265M<br>
&gt;&gt; [INFO]<br>
&gt;&gt; ------------------------------------------------------------------------<br>
&gt;&gt; [ERROR] Failed to execute goal<br>
&gt;&gt; org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test<br>
&gt;&gt; (default-test) on project infinispan-cdi: Execution default-test of goal<br>
&gt;&gt; org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test failed:<br>
&gt;&gt; java.lang.reflect.InvocationTargetException; nested exception is<br>
&gt;&gt; java.lang.reflect.InvocationTargetException: null:<br>
&gt;&gt; org.testng.xml.XmlTest.getClasses()Ljava/util/List; -&gt; [Help 1]<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I thought it must have been something with my branch but then I tried<br>
&gt;&gt; master and it still fails. Any ideas how to fix this one?<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Vladimir<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; infinispan-dev mailing list<br>
&gt;&gt; <a href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
&gt; _______________________________________________<br>
&gt; infinispan-dev mailing list<br>
&gt; <a href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
<br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org" target="_blank">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>