HELP | KURENTO | TUTORIALS NOT WORKING

223 views
Skip to first unread message

harpreet...@gmail.com

unread,
Nov 17, 2015, 12:23:43 PM11/17/15
to kurento
Dear group members, can anyone help me with kruento?

From hours i am trying to run one of the examples of the enabler, i got various types of errors that i solved using existing answers...but now i am stuck with this error:

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (default) on project kurento-hello-world: Command execution failed. Process exited with an error: 127 (Exit value: 127) -> [Help 1]

Can anyone please help me? I have tried some solutions such as running mvn as sudo, giving full permissions to the user etc.

Thanks in advance!

Ivan Gracia

unread,
Nov 17, 2015, 12:29:41 PM11/17/15
to Kurento Public
Hi,

You need to have bower installed in your system. You can use mvn -X to see why it is failing.

Cheers,

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.

harpreet...@gmail.com

unread,
Nov 17, 2015, 12:56:46 PM11/17/15
to kurento
Hello Ivan, thanks for the fast reply.

I have already installed bower but it is still not working.

I am unable to understand the output of mvn -X, can you help me getting understand it?

Here is the output:

[DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.0.9:compile
[DEBUG]       commons-cli:commons-cli:jar:1.0:compile
[DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.0.9:compile
[DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG]       org.apache.maven:maven-monitor:jar:2.0.9:compile
[DEBUG]       classworlds:classworlds:jar:1.1:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:1.5.8:compile
[DEBUG]    commons-lang:commons-lang:jar:2.3:compile
[DEBUG]    org.apache.maven.enforcer:enforcer-api:jar:1.3.1:compile
[DEBUG]    org.apache.maven.enforcer:enforcer-rules:jar:1.3.1:compile
[DEBUG]       org.apache.maven.shared:maven-common-artifact-filters:jar:1.4:compile
[DEBUG]       org.beanshell:bsh:jar:2.0b4:compile
[DEBUG]       org.apache.maven.shared:maven-dependency-tree:jar:2.1:compile
[DEBUG]          org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG]          org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
[DEBUG]       org.codehaus.plexus:plexus-i18n:jar:1.0-beta-6:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-enforcer-plugin:1.3.1
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-enforcer-plugin:1.3.1
[DEBUG]   Imported:  < project>org.kurento.tutorial:kurento-hello-world:6.0.0
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-enforcer-plugin:1.3.1
[DEBUG]   Included: org.apache.maven.plugins:maven-enforcer-plugin:jar:1.3.1
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.9
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-10
[DEBUG]   Included: commons-cli:commons-cli:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.8
[DEBUG]   Included: commons-lang:commons-lang:jar:2.3
[DEBUG]   Included: org.apache.maven.enforcer:enforcer-api:jar:1.3.1
[DEBUG]   Included: org.apache.maven.enforcer:enforcer-rules:jar:1.3.1
[DEBUG]   Included: org.apache.maven.shared:maven-common-artifact-filters:jar:1.4
[DEBUG]   Included: org.beanshell:bsh:jar:2.0b4
[DEBUG]   Included: org.apache.maven.shared:maven-dependency-tree:jar:2.1
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG]   Included: org.eclipse.aether:aether-util:jar:0.9.0.M2
[DEBUG]   Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-6
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.9
[DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   Excluded: junit:junit:jar:4.11
[DEBUG]   Excluded: org.hamcrest:hamcrest-core:jar:1.3
[DEBUG]   Excluded: org.apache.maven:maven-core:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-error-diagnostics:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.0.9
[DEBUG]   Excluded: org.apache.maven:maven-monitor:jar:2.0.9
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-enforcer-plugin:1.3.1, parent: sun.misc.Launcher$AppClassLoader@70dea4e]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce' with basic configurator -->
[DEBUG]   (s) fail = true
[DEBUG]   (s) failFast = false
[DEBUG]   (f) ignoreCache = false
[DEBUG]   (s) message = To build this project JDK 1.7 (or
                                        greater) is required. Please install it.
[DEBUG]   (s) version = 1.7
[DEBUG]   (s) rules = [org.apache.maven.plugins.enforcer.RequireJavaVersion@c5ee75e]
[DEBUG]   (s) skip = false
[DEBUG]   (s) project = MavenProject: org.kurento.tutorial:kurento-hello-world:6.0.0 @ /home/dnaphone/kurento-tutorial-java/kurento-hello-world/pom.xml
[DEBUG]   (s) session = org.apache.maven.execution.MavenSession@bf1ec20
[DEBUG] -- end configuration --
[DEBUG] Executing rule: org.apache.maven.plugins.enforcer.RequireJavaVersion
[DEBUG] Rule org.apache.maven.plugins.enforcer.RequireJavaVersion is cacheable.
[DEBUG] Detected Java String: 1.8.0_65
[DEBUG] Normalized Java String: 1.8.0-65
[DEBUG] Parsed Version: Major: 1 Minor: 8 Incremental: 0 Build: 65 Qualifier: null
[DEBUG] Detected JDK Version: 1.8.0-65 is allowed in the range 1.7.
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ kurento-hello-world ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-enforcer-plugin:1.3.1, parent: sun.misc.Launcher$AppClassLoader@70dea4e]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce' with basic configurator -->
[DEBUG]   (s) fail = true
[DEBUG]   (s) failFast = false
[DEBUG]   (f) ignoreCache = false
[DEBUG]   (s) message = To build this project Maven 3.0.3 (or
                                        greater) is required. Please install it.
[DEBUG]   (s) version = 3.0.3
[DEBUG]   (s) rules = [org.apache.maven.plugins.enforcer.RequireMavenVersion@32811494]
[DEBUG]   (s) skip = false
[DEBUG]   (s) project = MavenProject: org.kurento.tutorial:kurento-hello-world:6.0.0 @ /home/dnaphone/kurento-tutorial-java/kurento-hello-world/pom.xml
[DEBUG]   (s) session = org.apache.maven.execution.MavenSession@bf1ec20
[DEBUG] -- end configuration --
[DEBUG] Executing rule: org.apache.maven.plugins.enforcer.RequireMavenVersion
[DEBUG] Rule org.apache.maven.plugins.enforcer.RequireMavenVersion is cacheable.
[DEBUG] Detected Maven Version: 3.0.5
[DEBUG] Detected Maven Version: 3.0.5 is allowed in the range 3.0.3.
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create-timestamp (get-build-timestamp) @ kurento-hello-world ---
[DEBUG] org.codehaus.mojo:buildnumber-maven-plugin:jar:1.3:
[DEBUG]    org.apache.maven:maven-project:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-model:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:2.0.6:compile
[DEBUG]    org.apache.maven:maven-settings:jar:2.0.6:compile
[DEBUG]    org.apache.maven:maven-core:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6:compile
[DEBUG]       org.apache.maven.reporting:maven-reporting-api:jar:2.0.6:compile
[DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0.6:compile
[DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.0.6:compile
[DEBUG]       commons-cli:commons-cli:jar:1.0:compile
[DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.0.6:compile
[DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG]       org.apache.maven:maven-monitor:jar:2.0.6:compile
[DEBUG]       classworlds:classworlds:jar:1.1:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.6:compile
[DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]       junit:junit:jar:4.11:test (scope managed from compile) (version managed from 3.8.1)
[DEBUG]          org.hamcrest:hamcrest-core:jar:1.3:test
[DEBUG]    org.apache.maven.scm:maven-scm-api:jar:1.9:compile
[DEBUG]    org.apache.maven.scm:maven-scm-manager-plexus:jar:1.9:compile
[DEBUG]    org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.9:compile
[DEBUG]       regexp:regexp:jar:1.3:compile
[DEBUG]    org.apache.maven.scm:maven-scm-provider-svnexe:jar:1.9:compile
[DEBUG]       commons-lang:commons-lang:jar:2.6:compile
[DEBUG]    org.apache.maven.scm:maven-scm-provider-gitexe:jar:1.9:compile
[DEBUG]       commons-io:commons-io:jar:2.2:compile
[DEBUG]       org.apache.maven.scm:maven-scm-provider-git-commons:jar:1.9:compile
[DEBUG]    org.apache.maven.scm:maven-scm-provider-svn-commons:jar:1.9:compile
[DEBUG]    org.apache.maven.scm:maven-scm-provider-cvsexe:jar:1.9:compile
[DEBUG]       org.apache.maven.scm:maven-scm-provider-cvs-commons:jar:1.9:compile
[DEBUG]    org.apache.maven.scm:maven-scm-provider-starteam:jar:1.9:compile
[DEBUG]    org.apache.maven.scm:maven-scm-provider-clearcase:jar:1.9:compile
[DEBUG]    org.apache.maven.scm:maven-scm-provider-perforce:jar:1.9:compile
[DEBUG]    org.apache.maven.scm:maven-scm-provider-hg:jar:1.9:compile
[DEBUG]    com.google.code.maven-scm-provider-svnjava:maven-scm-provider-svnjava:jar:1.13:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:2.0.5:compile
[DEBUG]    org.tmatesoft.svnkit:svnkit:jar:1.3.5:compile
[DEBUG]       org.tmatesoft.svnkit:trilead-ssh2:jar:build213-svnkit-1.3-patch:compile
[DEBUG]       org.tmatesoft.sqljet:sqljet:jar:1.0.4:compile
[DEBUG]          org.antlr:antlr-runtime:jar:3.1.3:compile
[DEBUG]             org.antlr:stringtemplate:jar:3.2:compile
[DEBUG]                antlr:antlr:jar:2.7.7:compile
[DEBUG]    net.java.dev.jna:jna:jar:3.2.2:compile
[DEBUG] Created new class realm plugin>org.codehaus.mojo:buildnumber-maven-plugin:1.3
[DEBUG] Importing foreign packages into class realm plugin>org.codehaus.mojo:buildnumber-maven-plugin:1.3
[DEBUG]   Imported:  < project>org.kurento.tutorial:kurento-hello-world:6.0.0
[DEBUG] Populating class realm plugin>org.codehaus.mojo:buildnumber-maven-plugin:1.3
[DEBUG]   Included: org.codehaus.mojo:buildnumber-maven-plugin:jar:1.3
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7
[DEBUG]   Included: commons-cli:commons-cli:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   Included: org.apache.maven.scm:maven-scm-api:jar:1.9
[DEBUG]   Included: org.apache.maven.scm:maven-scm-manager-plexus:jar:1.9
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.9
[DEBUG]   Included: regexp:regexp:jar:1.3
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-svnexe:jar:1.9
[DEBUG]   Included: commons-lang:commons-lang:jar:2.6
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-gitexe:jar:1.9
[DEBUG]   Included: commons-io:commons-io:jar:2.2
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-git-commons:jar:1.9
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-svn-commons:jar:1.9
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-cvsexe:jar:1.9
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-cvs-commons:jar:1.9
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-starteam:jar:1.9
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-clearcase:jar:1.9
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-perforce:jar:1.9
[DEBUG]   Included: org.apache.maven.scm:maven-scm-provider-hg:jar:1.9
[DEBUG]   Included: com.google.code.maven-scm-provider-svnjava:maven-scm-provider-svnjava:jar:1.13
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.0.5
[DEBUG]   Included: org.tmatesoft.svnkit:svnkit:jar:1.3.5
[DEBUG]   Included: org.tmatesoft.svnkit:trilead-ssh2:jar:build213-svnkit-1.3-patch
[DEBUG]   Included: org.tmatesoft.sqljet:sqljet:jar:1.0.4
[DEBUG]   Included: org.antlr:antlr-runtime:jar:3.1.3
[DEBUG]   Included: org.antlr:stringtemplate:jar:3.2
[DEBUG]   Included: antlr:antlr:jar:2.7.7
[DEBUG]   Included: net.java.dev.jna:jna:jar:3.2.2
[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-core:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-error-diagnostics:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.0.6
[DEBUG]   Excluded: org.apache.maven:maven-monitor:jar:2.0.6
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   Excluded: junit:junit:jar:4.11
[DEBUG]   Excluded: org.hamcrest:hamcrest-core:jar:1.3
[DEBUG] Configuring mojo org.codehaus.mojo:buildnumber-maven-plugin:1.3:create-timestamp from plugin realm ClassRealm[plugin>org.codehaus.mojo:buildnumber-maven-plugin:1.3, parent: sun.misc.Launcher$AppClassLoader@70dea4e]
[DEBUG] Configuring mojo 'org.codehaus.mojo:buildnumber-maven-plugin:1.3:create-timestamp' with basic configurator -->
[DEBUG]   (f) project = MavenProject: org.kurento.tutorial:kurento-hello-world:6.0.0 @ /home/dnaphone/kurento-tutorial-java/kurento-hello-world/pom.xml
[DEBUG]   (f) reactorProjects = [MavenProject: org.kurento.tutorial:kurento-hello-world:6.0.0 @ /home/dnaphone/kurento-tutorial-java/kurento-hello-world/pom.xml]
[DEBUG]   (f) skip = false
[DEBUG]   (f) timestampFormat = EEE, d MMM yyyy HH:mm:ss Z
[DEBUG]   (f) timestampPropertyName = build.datetime
[DEBUG] -- end configuration --
[DEBUG] Storing timestamp property: build.datetime Tue, 17 Nov 2015 18:54:30 +0100
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create (get-scm-revision) @ kurento-hello-world ---
[DEBUG] Configuring mojo org.codehaus.mojo:buildnumber-maven-plugin:1.3:create from plugin realm ClassRealm[plugin>org.codehaus.mojo:buildnumber-maven-plugin:1.3, parent: sun.misc.Launcher$AppClassLoader@70dea4e]
[DEBUG] Configuring mojo 'org.codehaus.mojo:buildnumber-maven-plugin:1.3:create' with basic configurator -->
[DEBUG]   (s) buildNumberPropertiesFileLocation = /home/dnaphone/kurento-tutorial-java/kurento-hello-world/buildNumber.properties
[DEBUG]   (f) buildNumberPropertyName = buildNumber
[DEBUG]   (s) doCheck = false
[DEBUG]   (s) doUpdate = false
[DEBUG]   (f) getRevisionOnlyOnce = true
[DEBUG]   (f) project = MavenProject: org.kurento.tutorial:kurento-hello-world:6.0.0 @ /home/dnaphone/kurento-tutorial-java/kurento-hello-world/pom.xml
[DEBUG]   (f) reactorProjects = [MavenProject: org.kurento.tutorial:kurento-hello-world:6.0.0 @ /home/dnaphone/kurento-tutorial-java/kurento-hello-world/pom.xml]
[DEBUG]   (f) readUrlScm = scm:git:https://github.com/Kurento/kurento-tutorial-java
[DEBUG]   (s) revisionOnScmFailure = UNKNOWN
[DEBUG]   (f) scmBranchPropertyName = scmBranch
[DEBUG]   (s) scmDirectory = /home/dnaphone/kurento-tutorial-java/kurento-hello-world
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@bf1ec20
[DEBUG]   (f) skip = false
[DEBUG]   (f) timestampPropertyName = timestamp
[DEBUG]   (s) urlScm = scm:git://g...@github.com:Kurento/kurento-tutorial-java
[DEBUG]   (f) useLastCommittedRevision = false
[DEBUG] -- end configuration --
[DEBUG] Checking for local modifications: skipped.
[DEBUG] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd /home/dnaphone/kurento-tutorial-java/kurento-hello-world && git rev-parse --verify HEAD
[INFO] Working directory: /home/dnaphone/kurento-tutorial-java/kurento-hello-world
[DEBUG] consume line 60135f60d69f0a9b206060729e7e9ad0a2499640
[INFO] Storing buildNumber: 60135f60d69f0a9b206060729e7e9ad0a2499640 at timestamp: 1447782870045
[WARNING] Cannot get the branch information from the git repository:
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd /home/dnaphone/kurento-tutorial-java/kurento-hello-world && git rev-parse --verify HEAD
[INFO] Working directory: /home/dnaphone/kurento-tutorial-java/kurento-hello-world
[DEBUG] consume line 60135f60d69f0a9b206060729e7e9ad0a2499640
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- exec-maven-plugin:1.3.2:exec (default) @ kurento-hello-world ---
[DEBUG] org.codehaus.mojo:exec-maven-plugin:jar:1.3.2:
[DEBUG]    org.apache.maven:maven-toolchain:jar:1.0:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]          junit:junit:jar:4.11:test (scope managed from compile) (version managed from 3.8.1)
[DEBUG]             org.hamcrest:hamcrest-core:jar:1.3:test
[DEBUG]    org.apache.maven:maven-model:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[DEBUG]       backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
[DEBUG]       org.slf4j:slf4j-jdk14:jar:1.5.6:runtime
[DEBUG]          org.slf4j:slf4j-api:jar:1.5.6:runtime
[DEBUG]       org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime
[DEBUG]       org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
[DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
[DEBUG]          org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
[DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
[DEBUG]       commons-cli:commons-cli:jar:1.2:compile
[DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
[DEBUG]       classworlds:classworlds:jar:1.1:compile
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.15:compile
[DEBUG]    org.apache.commons:commons-exec:jar:1.2:compile
[DEBUG] Created new class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.3.2
[DEBUG] Importing foreign packages into class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.3.2
[DEBUG]   Imported:  < project>org.kurento.tutorial:kurento-hello-world:6.0.0
[DEBUG] Populating class realm plugin>org.codehaus.mojo:exec-maven-plugin:1.3.2
[DEBUG]   Included: org.codehaus.mojo:exec-maven-plugin:jar:1.3.2
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.11
[DEBUG]   Included: backport-util-concurrent:backport-util-concurrent:jar:3.1
[DEBUG]   Included: org.slf4j:slf4j-jdk14:jar:1.5.6
[DEBUG]   Included: org.slf4j:slf4j-api:jar:1.5.6
[DEBUG]   Included: org.slf4j:jcl-over-slf4j:jar:1.5.6
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:2.2.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1
[DEBUG]   Included: commons-cli:commons-cli:jar:1.2
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.15
[DEBUG]   Included: org.apache.commons:commons-exec:jar:1.2
[DEBUG]   Excluded: org.apache.maven:maven-toolchain:jar:1.0
[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.2.1
[DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   Excluded: junit:junit:jar:4.11
[DEBUG]   Excluded: org.hamcrest:hamcrest-core:jar:1.3
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-core:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-error-diagnostics:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.2.1
[DEBUG]   Excluded: org.apache.maven:maven-monitor:jar:2.2.1
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.2.1
[DEBUG] Configuring mojo org.codehaus.mojo:exec-maven-plugin:1.3.2:exec from plugin realm ClassRealm[plugin>org.codehaus.mojo:exec-maven-plugin:1.3.2, parent: sun.misc.Launcher$AppClassLoader@70dea4e]
[DEBUG] Configuring mojo 'org.codehaus.mojo:exec-maven-plugin:1.3.2:exec' with basic configurator -->
[DEBUG]   (f) arguments = [install]
[DEBUG]   (f) basedir = /home/dnaphone/kurento-tutorial-java/kurento-hello-world
[DEBUG]   (f) classpathScope = runtime
[DEBUG]   (f) executable = bower
[DEBUG]   (f) failWithEmptyArgument = true
[DEBUG]   (f) failWithNullKeyOrValueInEnvironment = true
[DEBUG]   (f) longClasspath = false
[DEBUG]   (f) project = MavenProject: org.kurento.tutorial:kurento-hello-world:6.0.0 @ /home/dnaphone/kurento-tutorial-java/kurento-hello-world/pom.xml
[DEBUG]   (f) skip = false
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@bf1ec20
[DEBUG] -- end configuration --
[DEBUG] env: COLORTERM=gnome-terminal
[DEBUG] env: DISPLAY=:0
[DEBUG] env: HOME=/home/dnaphone
[DEBUG] env: JAVA_HOME=/usr/lib/jvm/jdk1.8.0_65
[DEBUG] env: LANG=en_US.UTF-8
[DEBUG] env: LANGUAGE=en_US
[DEBUG] env: LC_ADDRESS=it_IT.UTF-8
[DEBUG] env: LC_IDENTIFICATION=it_IT.UTF-8
[DEBUG] env: LC_MEASUREMENT=it_IT.UTF-8
[DEBUG] env: LC_MONETARY=it_IT.UTF-8
[DEBUG] env: LC_NAME=it_IT.UTF-8
[DEBUG] env: LC_NUMERIC=it_IT.UTF-8
[DEBUG] env: LC_PAPER=it_IT.UTF-8
[DEBUG] env: LC_TELEPHONE=it_IT.UTF-8
[DEBUG] env: LC_TIME=it_IT.UTF-8
[DEBUG] env: LOGNAME=root
[DEBUG] env: LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
[DEBUG] env: MAIL=/var/mail/root
[DEBUG] env: NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
[DEBUG] env: OLDPWD=/home/dnaphone/kurento-tutorial-java/kurento-hello-world
[DEBUG] env: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[DEBUG] env: PWD=/home/dnaphone/kurento-tutorial-java/kurento-hello-world
[DEBUG] env: SHELL=/bin/bash
[DEBUG] env: SUDO_COMMAND=/usr/bin/mvn -X compile exec:java
[DEBUG] env: SUDO_GID=1000
[DEBUG] env: SUDO_UID=1000
[DEBUG] env: SUDO_USER=dnaphone
[DEBUG] env: TERM=xterm
[DEBUG] env: USER=root
[DEBUG] env: USERNAME=root
[DEBUG] env: XAUTHORITY=/home/dnaphone/.Xauthority
[DEBUG] env: XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
[DEBUG] Executing command line: [bower, install]
/usr/bin/env: node: No such file or directory
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.571s
[INFO] Finished at: Tue Nov 17 18:54:30 CET 2015
[INFO] Final Memory: 14M/228M
[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. Process exited with an error: 127 (Exit value: 127) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (default) on project kurento-hello-world: Command execution failed.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
    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:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    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.MojoExecutionException: Command execution failed.
    at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:303)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    ... 19 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 127 (Exit value: 127)
    at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:402)
    at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:164)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:746)
    at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:292)
    ... 21 more
[ERROR]
[ERROR]

Thanks.

Ivan Gracia

unread,
Nov 17, 2015, 1:33:07 PM11/17/15
to Kurento Public
This should give you a clue

[DEBUG] Executing command line: [bower, install]
/usr/bin/env: node: No such file or directory
 

Ivan Gracia


harpreet...@gmail.com

unread,
Nov 17, 2015, 4:39:30 PM11/17/15
to kurento
Thank you very much! Yes, bower was not installed correctly. I solved it issuing a command that i don't remember now but i saved it on computer at office. I will post it on thursday so it could help someone in the future.

Thank you again,
regards.

HSB.

harpreet...@gmail.com

unread,
Nov 19, 2015, 8:31:30 AM11/19/15
to kurento, harpreet...@gmail.com
Hey guys, I resolved the bower installation problem running this command: sudo apt-get install nodejs-legacy. I am on Ubuntu 14.04.
Reply all
Reply to author
Forward
0 new messages