I just wanted to test the Matterhorn execute service with our Matterhorn 1.3.1 install. I adhered to the instructions on http://opencast.jira.com/wiki/display/MHDOC/Execute+Service and all modules compiled fine except matterhorn-exec-impl.
Here's the result of the compilation command - could you please tell me if this is a bug or if I did something wrong?
Thanks in advance
Alex
[root@mh-test5 matterhorn-execute-impl]# pwd
/opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl
[root@mh-test5 matterhorn-execute-impl]# mvn clean install -DdeployTo=/opt/matterhorn/felix/matterhorn -e
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building matterhorn-execute-impl 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ matterhorn-execute-impl ---
[INFO] Deleting /opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ matterhorn-execute-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ matterhorn-execute-impl ---
[INFO] Compiling 2 source files to /opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/src/main/java/org/opencastproject/execute/impl/endpoint/ExecuteRestEndpoint.java:[189,2] error: method does not override or implement a method from a supertype
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.327s
[INFO] Finished at: Wed Mar 20 22:48:57 CET 2013
[INFO] Final Memory: 22M/143M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project matterhorn-execute-impl: Compilation failure
[ERROR] /opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/src/main/java/org/opencastproject/execute/impl/endpoint/ExecuteRestEndpoint.java:[189,2] error: method does not override or implement a method from a supertype
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project matterhorn-execute-impl: Compilation failure
/opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/src/main/java/org/opencastproject/execute/impl/endpoint/ExecuteRestEndpoint.java:[189,2] error: method does not override or implement a method from a supertype
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
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:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
/opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/src/main/java/org/opencastproject/execute/impl/endpoint/ExecuteRestEndpoint.java:[189,2] error: method does not override or implement a method from a supertype
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:729)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 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
Hi,
I just wanted to test the Matterhorn execute service with our Matterhorn 1.3.1 install. I adhered to the instructions on http://opencast.jira.com/wiki/display/MHDOC/Execute+Service and all modules compiled fine except matterhorn-exec-impl.
Here's the result of the compilation command - could you please tell me if this is a bug or if I did something wrong?
Thanks in advance Alex
[root@mh-test5 matterhorn-execute-impl]# pwd /opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl [root@mh-test5 matterhorn-execute-impl]# mvn clean install -DdeployTo=/opt/matterhorn/felix/matterhorn -e [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building matterhorn-execute-impl 1.0.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ matterhorn-execute-impl --- [INFO] Deleting /opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ matterhorn-execute-impl --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ matterhorn-execute-impl --- [INFO] Compiling 2 source files to /opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/src/main/java/org/opencastproject/execute/impl/endpoint/ExecuteRestEndpoint.java:[189,2] error: method does not override or implement a method from a supertype [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.327s [INFO] Finished at: Wed Mar 20 22:48:57 CET 2013 [INFO] Final Memory: 22M/143M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project matterhorn-execute-impl: Compilation failure [ERROR] /opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/src/main/java/org/opencastproject/execute/impl/endpoint/ExecuteRestEndpoint.java:[189,2] error: method does not override or implement a method from a supertype [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project matterhorn-execute-impl: Compilation failure /opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/src/main/java/org/opencastproject/execute/impl/endpoint/ExecuteRestEndpoint.java:[189,2] error: method does not override or implement a method from a supertype
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure /opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/src/main/java/org/opencastproject/execute/impl/endpoint/ExecuteRestEndpoint.java:[189,2] error: method does not override or implement a method from a supertype
[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