I tried mvn clean install and got the following when building gwtquery core:
Running com.google.gwt.query.client.GQueryGwtSuiteTest
GQAjaxTestServlet returns: {"a":"abc","d":"def"}
GQAjaxTestServlet returns: {"a":"abc","d":"def"}
GQAjaxTestServlet returns: {"a":"abc","d":"def"}
GQAjaxTestServlet returns: {"a":"abc","d":"def"}
GQAjaxTestServlet returns: {"a":"abc","d":"def"}
GQAjaxTestServlet returns: {"a":"abc","d":"def"}
GQAjaxTestServlet returns: jre_callback({"a":"abc","d":"def"});
GQAjaxTestServlet sleeping: 2000
GQAjaxTestServlet returns: {"a":"abc","d":"def"}
GQAjaxTestServlet returns: {"a":"abc","d":"def"}
GQAjaxTestServlet returns: __gwt_jsonp__.P0.onSuccess({"a":"abc","d":"def"});
logging for HtmlUnit thread
[WARN] Expected content type of 'application/javascript' or 'application/ecmascript' for remotely loaded JavaScript element at 'http://localhost:63854/com.google.gwt.query.QueryTest.JUnit/test.json?cors=true&data={"a":"abc","d":"def"}&callback=__gwt_jsonp__.P0.onSuccess', but got ''.
GQAjaxTestServlet sleeping: 2000
[WARN] Expected content type of 'application/javascript' or 'application/ecmascript' for remotely loaded JavaScript element at 'http://192.168.178.26:63854/com.google.gwt.query.QueryTest.JUnit/test.json?timeout=2000&&callback=__gwt_jsonp__.P3.onSuccess', but got ''.
[ERROR] Load Script Error: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:522)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:401)
at com.gargoylesoftware.htmlunit.HtmlUnitSSLSocketFactory.connectSocket(HtmlUnitSSLSocketFactory.java:153)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:178)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:167)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1281)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1198)
at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl(HtmlPage.java:1098)
at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1039)
at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:409)
at com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:272)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:729)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.access$500(JavaScriptEngine.java:92)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:679)
at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602)
at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:616)
at com.google.gwt.dev.shell.HtmlUnitSessionHandler.invoke(HtmlUnitSessionHandler.java:228)
at com.google.gwt.dev.shell.BrowserChannelClient.reactToMessages(BrowserChannelClient.java:218)
at com.google.gwt.dev.shell.BrowserChannelClient.reactToMessagesWhileWaitingForReturn(BrowserChannelClient.java:165)
at com.google.gwt.dev.shell.JavaObject.getReturnFromJavaMethod(JavaObject.java:61)
at com.google.gwt.dev.shell.JavaObject.call(JavaObject.java:122)
at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1531)
at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:609)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:669)
at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602)
at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:616)
at com.google.gwt.dev.shell.HtmlUnitSessionHandler.invoke(HtmlUnitSessionHandler.java:228)
at com.google.gwt.dev.shell.BrowserChannelClient.reactToMessages(BrowserChannelClient.java:218)
at com.google.gwt.dev.shell.BrowserChannelClient.reactToMessagesWhileWaitingForReturn(BrowserChannelClient.java:165)
at com.google.gwt.dev.shell.JavaObject.getReturnFromJavaMethod(JavaObject.java:61)
at com.google.gwt.dev.shell.JavaObject.call(JavaObject.java:122)
at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1531)
at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:609)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:669)
at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602)
at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:616)
at com.google.gwt.dev.shell.HtmlUnitSessionHandler.invoke(HtmlUnitSessionHandler.java:228)
at com.google.gwt.dev.shell.BrowserChannelClient.reactToMessages(BrowserChannelClient.java:218)
at com.google.gwt.dev.shell.BrowserChannelClient.reactToMessagesWhileWaitingForReturn(BrowserChannelClient.java:165)
at com.google.gwt.dev.shell.JavaObject.getReturnFromJavaMethod(JavaObject.java:61)
at com.google.gwt.dev.shell.JavaObject.call(JavaObject.java:122)
at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1531)
at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:405)
at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:309)
at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3031)
at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:103)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:609)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:669)
at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602)
at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:616)
at com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.setState(XMLHttpRequest.java:230)
at com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.doSend(XMLHttpRequest.java:710)
at com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.access$000(XMLHttpRequest.java:94)
at com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest$1.run(XMLHttpRequest.java:603)
at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:602)
at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507)
at com.gargoylesoftware.htmlunit.javascript.background.JavascriptXMLHttpRequestJob.run(JavascriptXMLHttpRequestJob.java:36)
at com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJobManagerImpl.runSingleJob(JavaScriptJobManagerImpl.java:328)
at com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor.run(DefaultJavaScriptExecutor.java:162)
at java.lang.Thread.run(Thread.java:745)
[WARN] 404 - GET /com.google.gwt.query.QueryTest.JUnit/whatever (192.168.178.26) 1410 bytes
[WARN] 404 - GET /com.google.gwt.query.QueryTest.JUnit/whatever (192.168.178.26) 1410 bytes
[WARN] 404 - GET /com.google.gwt.query.QueryTest.JUnit/whatever (192.168.178.26) 1410 bytes
[WARN] 404 - GET /com.google.gwt.query.QueryTest.JUnit/whatever (192.168.178.26) 1410 bytes
Tests run: 257, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 70.32 sec <<< FAILURE!
test_return_empty_list_when_array_isEmpty(com.google.gwt.query.client.dbinding.DataBindingTestGwt) Time elapsed: 0.095 sec <<< ERROR!
java.lang.NoSuchMethodError: com.google.gwt.query.client.dbinding.DataBindingTestJre$GUser.set(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/gwt/query/client/IsProperties;
at com.google.gwt.query.client.dbinding.DataBindingTestJre.test_return_empty_list_when_array_isEmpty(DataBindingTestJre.java:229)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.junit.client.impl.GWTTestAccessor.invoke(GWTTestAccessor.java:39)
at com.google.gwt.junit.client.impl.GWTRunner.executeTestMethod(GWTRunner.java:226)
at com.google.gwt.junit.client.GWTTestCase.doRunTest(GWTTestCase.java:157)
at junit.framework.TestCase.runTest(TestCase.java:59)
at com.google.gwt.junit.client.GWTTestCase.runBare(GWTTestCase.java:151)
at com.google.gwt.junit.client.GWTTestCase.__doRunTest(GWTTestCase.java:115)
at com.google.gwt.junit.client.impl.GWTRunner.runTest(GWTRunner.java:302)
at com.google.gwt.junit.client.impl.GWTRunner.doRunTest(GWTRunner.java:235)
at com.google.gwt.junit.client.impl.GWTRunner.access$9(GWTRunner.java:229)
at com.google.gwt.junit.client.impl.GWTRunner$TestBlockListener.onSuccess(GWTRunner.java:106)
at com.google.gwt.junit.client.impl.GWTRunner$TestBlockListener.onSuccess(GWTRunner.java:1)
at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:232)
at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:250)
at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:412)
at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:72)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:341)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:222)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:121)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:573)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:293)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:298)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:72)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:296)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:551)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:368)
at java.lang.Thread.run(Thread.java:745)
test_return_null_when_list_is_not_specified(com.google.gwt.query.client.dbinding.DataBindingTestGwt) Time elapsed: 0.078 sec <<< ERROR!
java.lang.NoSuchMethodError: com.google.gwt.query.client.dbinding.DataBindingTestJre$GUser.set(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/gwt/query/client/IsProperties;
at com.google.gwt.query.client.dbinding.DataBindingTestJre.test_return_null_when_list_is_not_specified(DataBindingTestJre.java:245)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.junit.client.impl.GWTTestAccessor.invoke(GWTTestAccessor.java:39)
at com.google.gwt.junit.client.impl.GWTRunner.executeTestMethod(GWTRunner.java:226)
at com.google.gwt.junit.client.GWTTestCase.doRunTest(GWTTestCase.java:157)
at junit.framework.TestCase.runTest(TestCase.java:59)
at com.google.gwt.junit.client.GWTTestCase.runBare(GWTTestCase.java:151)
at com.google.gwt.junit.client.GWTTestCase.__doRunTest(GWTTestCase.java:115)
at com.google.gwt.junit.client.impl.GWTRunner.runTest(GWTRunner.java:302)
at com.google.gwt.junit.client.impl.GWTRunner.doRunTest(GWTRunner.java:235)
at com.google.gwt.junit.client.impl.GWTRunner.access$9(GWTRunner.java:229)
at com.google.gwt.junit.client.impl.GWTRunner$TestBlockListener.onSuccess(GWTRunner.java:106)
at com.google.gwt.junit.client.impl.GWTRunner$TestBlockListener.onSuccess(GWTRunner.java:1)
at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:232)
at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:250)
at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:412)
at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:72)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:341)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:222)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:121)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:573)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:293)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:298)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:72)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:296)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:551)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:368)
at java.lang.Thread.run(Thread.java:745)
Results :
Tests in error:
test_return_empty_list_when_array_isEmpty(com.google.gwt.query.client.dbinding.DataBindingTestGwt): com.google.gwt.query.client.dbinding.DataBindingTestJre$GUser.set(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/gwt/query/client/IsProperties;
test_return_null_when_list_is_not_specified(com.google.gwt.query.client.dbinding.DataBindingTestGwt): com.google.gwt.query.client.dbinding.DataBindingTestJre$GUser.set(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/gwt/query/client/IsProperties;
Tests run: 257, Failures: 0, Errors: 2, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:21.083s
[INFO] Finished at: Sat Jan 02 15:55:01 CET 2016
[INFO] Final Memory: 34M/595M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project gwtquery: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/mg/Downloads/gwtquery/gwtquery-core/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
I tried
mvn clean install
and got the following when building gwtquery core: