Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
camel-undertow isn't compatible with the new ahc-version (2.3.0) configured hereĀ
https://github.com/apache/camel/commit/684ef5786838e051cece2f510d9dafabdc310d02
Getting a lot of compile errors trying to build it - multiple classes WebSocketByteListener, WebSocketTextListener have been removed, the WebSocketListener interface has different methods, etc
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:testCompile (default-testCompile) on project camel-undertow: Compilation failure: Compilation failure:
[ERROR] /home/jenkins/camel/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/TestClient.java:[31,29] error: cannot find symbol
[ERROR] symbol: class WebSocketByteListener
[ERROR] location: package org.asynchttpclient.ws
[ERROR] /home/jenkins/camel/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/TestClient.java:[32,29] error: cannot find symbol
[ERROR] symbol: class WebSocketTextListener
[ERROR] location: package org.asynchttpclient.ws
[ERROR] /home/jenkins/camel/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/TestClient.java:[123,51] error: cannot find symbol
[ERROR] symbol: class WebSocketTextListener
[ERROR] location: class TestClient
[ERROR] /home/jenkins/camel/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/TestClient.java:[123,74] error: cannot find symbol
[ERROR] symbol: class WebSocketByteListener
[ERROR] location: class TestClient
[ERROR] /home/jenkins/camel/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsTwoRoutesToSameEndpointSendToAllHeaderTest.java:[29,29] error: cannot find symbol
[ERROR] symbol: class WebSocketTextListener
[ERROR] location: package org.asynchttpclient.ws
[ERROR] /home/jenkins/camel/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsConsumerRouteTest.java:[43,29] error: cannot find symbol
[ERROR] symbol: class DefaultWebSocketListener
[ERROR] location: package org.asynchttpclient.ws
[ERROR] /home/jenkins/camel/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsProducerRouteRestartTest.java:[32,29] error: cannot find symbol
[ERROR] symbol: class WebSocketTextListener
[ERROR] location: package org.asynchttpclient.ws
[ERROR] /home/jenkins/camel/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWssRouteTest.java:[47,29] error: cannot find symbol
[ERROR] symbol: class WebSocketTextListener
[ERROR] location: package org.asynchttpclient.ws
[ERROR] /home/jenkins/camel/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsTwoRoutesTest.java:[29,29] error: cannot find symbol
[ERROR] symbol: class WebSocketTextListener
[ERROR] location: package org.asynchttpclient.ws
[ERROR] /home/jenkins/camel/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsTwoRoutesToSameEndpointTest.java:[28,29] error: cannot find symbol
[ERROR] symbol: class WebSocketTextListener
[ERROR] location: package org.asynchttpclient.ws
[ERROR] /home/jenkins/camel/components/camel-undertow/src/test/java/org/apache/camel/component/undertow/ws/UndertowWsProducerRouteTest.java:[33,29] error: cannot find symbol
[ERROR] symbol: class WebSocketTextListener
[ERROR] location: package org.asynchttpclient.ws
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:testCompile (default-testCompile) on project camel-undertow: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1029)
at org.apache.maven.plugin.compiler.TestCompilerMojo.execute(TestCompilerMojo.java:170)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
[ERROR]
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :camel-undertow