Kurento tutorial 6.1.0: problem while compiling in Eclipse Mars

172 views
Skip to first unread message

alessand...@gmail.com

unread,
Jan 8, 2016, 4:12:09 AM1/8/16
to kurento
Hi,

I have imported the kurento tutorial (version 6.1.0, the only one that run on my virtual Ubuntu) in Eclipse Mars, and I'm trying to compile it using Maven m2e.

I have imported all the projects, but Eclipse shows an error like this one:

Description Resource Path Location Type
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (execution: default, phase: generate-sources) pom.xml /kurento-hello-world line 95 Maven Project Build Lifecycle Mapping Problem

When I try to do:
"Run As... -> Maven build..."
I set in the "Goal" field the task:

compile

The result of the compilation is this one:

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Kurento Java Tutorial 1 - Hello World 6.1.0
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ kurento-hello-world ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ kurento-hello-world ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.3:create-timestamp (get-build-timestamp) @ kurento-hello-world ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.3:create (get-scm-revision) @ kurento-hello-world ---
[INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD"
[INFO] Working directory: C:\Users\ale\VirtualBox VMs\Ubuntu 14.04 LTS\UbuntuShare\kurento-tutorial-java\kurento-hello-world
[INFO] Storing buildNumber: UNKNOWN at timestamp: 1452242767914
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: "git" non Š riconosciuto come comando interno o esterno,
 un programma eseguibile o un file batch.

[INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD"
[INFO] Working directory: C:\Users\ale\VirtualBox VMs\Ubuntu 14.04 LTS\UbuntuShare\kurento-tutorial-java\kurento-hello-world
[INFO] Storing buildScmBranch: UNKNOWN_BRANCH
[INFO] 
[INFO] --- exec-maven-plugin:1.3.2:exec (default) @ kurento-hello-world ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.577 s
[INFO] Finished at: 2016-01-08T09:46:08+01:00
[INFO] Final Memory: 18M/225M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (default) on project kurento-hello-world: Command execution failed. Cannot run program "bower" (in directory "C:\Users\ale\VirtualBox VMs\Ubuntu 14.04 LTS\UbuntuShare\kurento-tutorial-java\kurento-hello-world"): CreateProcess error=2, Impossibile trovare il file specificato -> [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:

I tried to install the NodeJS plugin for Eclipse but didn't solve the issue.
Any idea to how compile the tutorial in Eclipse?

Any help will be appreciated.

Thanks

alessand...@gmail.com

unread,
Jan 8, 2016, 4:21:48 AM1/8/16
to kurento, alessand...@gmail.com
Another information.

The pom.xml file of the "kurento-helloworld" show an error in this segment:

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>bower</executable>
<arguments>
<argument>install</argument>
</arguments>
<mainClass>${start-class}</mainClass>
</configuration>
</plugin>

The error reported is:

Ivan Gracia

unread,
Jan 11, 2016, 5:12:23 AM1/11/16
to Kurento Public, alessand...@gmail.com
You need to install bower in your system for being able to compile the tutorials.

Ivan Gracia



--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages