I wanted to setup this for my POC and I keep endup getting this error:
[ERROR] execute error
org.apache.maven.plugin.MojoExecutionException: You need to run build with JDK or have tools.jar on the classpath.If this occures during eclipse build make sure you run eclipse under JDK as well
at com.mysema.maven.apt.AbstractProcessorMojo.execute(AbstractProcessorMojo.java:310)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] com.capitalone.dashboard:Hygieia ................... SUCCESS [ 1.119 s]
[INFO] com.capitalone.dashboard:core ...................... FAILURE [ 3.417 s]
[INFO] com.capitalone.dashboard:api ....................... SKIPPED
[INFO] com.capitalone.dashboard:jenkins-build-collector ... SKIPPED
[INFO] com.capitalone.dashboard:sonar-codequality-collector SKIPPED
[INFO] com.capitalone.dashboard:subversion-collector ...... SKIPPED
[INFO] com.capitalone.dashboard:github-scm-collector ...... SKIPPED
[INFO] com.capitalone.dashboard:versionone-feature-collector SKIPPED
[INFO] com.capitalone.dashboard:udeploy-deployment-collector SKIPPED
[INFO] com.capitalone.dashboard:jira-feature-collector .... SKIPPED
[INFO] com.capitalone.dashboard:jenkins-cucumber-test-collector SKIPPED
[INFO] com.capitalone.dashboard:chat-ops-collector ........ SKIPPED
[INFO] com.capitalone.dashboard:UI ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.846 s
[INFO] Finished at: 2015-12-21T13:32:07-08:00
[INFO] Final Memory: 25M/61M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.mysema.maven:apt-maven-plugin:1.1.3:process (default) on project core: You need to run build with JDK or have tools.jar on the classpath.If this occures during eclipse build make sure you run eclipse under JDK as well -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :core
The JAVA I am using
java -version
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
and Maven
mvn --version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
Maven home: /apps/apache-maven-3.3.9
Java version: 1.8.0_66, vendor: Oracle Corporation
Java home: /usr/java/jre1.8.0_66
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.14.27-25.47.amzn1.x86_64", arch: "amd64", family: "unix"
You need to use JDK. Your maven's Java home pointing to a JRE.
Thanks for the response @tabladrum I was able to fix that but now I am hitting another issue. My default is failing on UI:
[INFO] Running 'npm install --color=false' in /apps/capitalone/Hygieia/UI
[ERROR] npm WARN package.json [email protected] No bin file found at ./bin/jade.js
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/bower requires chalk@'^1.0.0' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/chalk,
[ERROR] npm WARN unmet dependency which is version 0.5.1
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/browser-sync/node_modules/dev-ip requires lodash@'~2.2.1' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/browser-sync/node_modules/lodash,
[ERROR] npm WARN unmet dependency which is version 2.4.2
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/browser-sync/node_modules/easy-extender requires lodash@'^3.10.1' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/browser-sync/node_modules/lodash,
[ERROR] npm WARN unmet dependency which is version 2.4.2
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/browser-sync/node_modules/eazy-logger requires lodash@'^3.0.1' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/browser-sync/node_modules/lodash,
[ERROR] npm WARN unmet dependency which is version 2.4.2
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/browser-sync/node_modules/localtunnel requires yargs@'3.29.0' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/yargs,
[ERROR] npm WARN unmet dependency which is version 1.3.3
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/browser-sync/node_modules/opt-merger requires lodash@'^3.10.1' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/browser-sync/node_modules/lodash,
[ERROR] npm WARN unmet dependency which is version 2.4.2
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/browser-sync/node_modules/tfunk requires object-path@'^0.9.0' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/browser-sync/node_modules/object-path,
[ERROR] npm WARN unmet dependency which is version 0.8.1
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp/node_modules/gulp-util/node_modules/dateformat/node_modules/meow requires object-assign@'^4.0.1' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp/node_modules/gulp-util/node_modules/object-assign,
[ERROR] npm WARN unmet dependency which is version 3.0.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp/node_modules/vinyl-fs/node_modules/mkdirp requires minimist@'0.0.8' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/minimist,
[ERROR] npm WARN unmet dependency which is version 1.2.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-csso/node_modules/gulp-util/node_modules/dateformat/node_modules/meow requires minimist@'^1.1.3' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-csso/node_modules/gulp-util/node_modules/minimist,
[ERROR] npm WARN unmet dependency which is version 0.2.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/vinyl-fs/node_modules/mkdirp requires minimist@'0.0.8' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/minimist,
[ERROR] npm WARN unmet dependency which is version 1.2.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/decompress requires vinyl-fs@'^2.2.0' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/vinyl-fs,
[ERROR] npm WARN unmet dependency which is version 1.0.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/download requires object-assign@'^4.0.1' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/object-assign,
[ERROR] npm WARN unmet dependency which is version 2.1.1
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/download requires vinyl-fs@'^2.2.0' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/vinyl-fs,
[ERROR] npm WARN unmet dependency which is version 1.0.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-wrapper/node_modules/download requires object-assign@'^4.0.1' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/object-assign,
[ERROR] npm WARN unmet dependency which is version 2.1.1
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-wrapper/node_modules/download requires vinyl-fs@'^2.2.0' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/vinyl-fs,
[ERROR] npm WARN unmet dependency which is version 1.0.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/logalot/node_modules/squeak requires chalk@'^1.0.0' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/chalk,
[ERROR] npm WARN unmet dependency which is version 0.5.1
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-build/node_modules/decompress requires vinyl-fs@'^2.2.0' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/vinyl-fs,
[ERROR] npm WARN unmet dependency which is version 1.0.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-build/node_modules/download requires object-assign@'^4.0.1' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/object-assign,
[ERROR] npm WARN unmet dependency which is version 2.1.1
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-build/node_modules/download requires vinyl-fs@'^2.2.0' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/vinyl-fs,
[ERROR] npm WARN unmet dependency which is version 1.0.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-wrapper/node_modules/download requires object-assign@'^4.0.1' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/object-assign,
[ERROR] npm WARN unmet dependency which is version 2.1.1
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-wrapper/node_modules/download requires vinyl-fs@'^2.2.0' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/vinyl-fs,
[ERROR] npm WARN unmet dependency which is version 1.0.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/logalot/node_modules/squeak requires chalk@'^1.0.0' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/chalk,
[ERROR] npm WARN unmet dependency which is version 0.5.1
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-build/node_modules/decompress requires vinyl-fs@'^2.2.0' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/vinyl-fs,
[ERROR] npm WARN unmet dependency which is version 1.0.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-build/node_modules/download requires object-assign@'^4.0.1' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/object-assign,
[ERROR] npm WARN unmet dependency which is version 2.1.1
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-build/node_modules/download requires vinyl-fs@'^2.2.0' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/vinyl-fs,
[ERROR] npm WARN unmet dependency which is version 1.0.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-wrapper/node_modules/download requires object-assign@'^4.0.1' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/object-assign,
[ERROR] npm WARN unmet dependency which is version 2.1.1
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-wrapper/node_modules/download requires vinyl-fs@'^2.2.0' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/vinyl-fs,
[ERROR] npm WARN unmet dependency which is version 1.0.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/logalot/node_modules/squeak requires chalk@'^1.0.0' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/chalk,
[ERROR] npm WARN unmet dependency which is version 0.5.1
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-karma/node_modules/gulp-util/node_modules/dateformat/node_modules/meow requires minimist@'^1.1.3' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-karma/node_modules/gulp-util/node_modules/minimist,
[ERROR] npm WARN unmet dependency which is version 0.2.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-minify-html/node_modules/gulp-util/node_modules/dateformat/node_modules/meow requires minimist@'^1.1.3' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-minify-html/node_modules/gulp-util/node_modules/minimist,
[ERROR] npm WARN unmet dependency which is version 0.2.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-ng-annotate/node_modules/gulp-util/node_modules/dateformat/node_modules/meow requires minimist@'^1.1.3' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-ng-annotate/node_modules/gulp-util/node_modules/minimist,
[ERROR] npm WARN unmet dependency which is version 0.2.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-protractor/node_modules/gulp-util/node_modules/dateformat/node_modules/meow requires object-assign@'^4.0.1' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-protractor/node_modules/gulp-util/node_modules/object-assign,
[ERROR] npm WARN unmet dependency which is version 3.0.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-rev-replace/node_modules/gulp-util/node_modules/dateformat/node_modules/meow requires minimist@'^1.1.3' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-rev-replace/node_modules/gulp-util/node_modules/minimist,
[ERROR] npm WARN unmet dependency which is version 0.2.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/dateformat/node_modules/meow requires object-assign@'^4.0.1' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/object-assign,
[ERROR] npm WARN unmet dependency which is version 3.0.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/main-bower-files/node_modules/glob requires minimatch@'^2.0.1' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/main-bower-files/node_modules/minimatch,
[ERROR] npm WARN unmet dependency which is version 1.0.0
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/wiredep/node_modules/bower-config/node_modules/optimist requires minimist@'~0.0.1' but will load
[ERROR] npm WARN unmet dependency /apps/capitalone/Hygieia/UI/node_modules/minimist,
[ERROR] npm WARN unmet dependency which is version 1.2.0
[INFO]
[INFO] --- frontend-maven-plugin:0.0.25:bower (bower install) @ UI ---
[INFO] Running 'bower install' in /apps/capitalone/Hygieia/UI
[ERROR] module.js:338
[ERROR] throw err;
[ERROR] ^
[ERROR] Error: Cannot find module 'q'
[ERROR] at Function.Module._resolveFilename (module.js:336:15)
[ERROR] at Function.Module._load (module.js:278:25)
[ERROR] at Module.require (module.js:365:17)
[ERROR] at require (module.js:384:17)
[ERROR] at Object.<anonymous> (/apps/capitalone/Hygieia/UI/node_modules/bower/bin/bower:6:9)
[ERROR] at Module._compile (module.js:460:26)
[ERROR] at Object.Module._extensions..js (module.js:478:10)
[ERROR] at Module.load (module.js:355:32)
[ERROR] at Function.Module._load (module.js:310:12)
[ERROR] at Function.Module.runMain (module.js:501:10)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] com.capitalone.dashboard:Hygieia ................... SUCCESS [ 3.098 s]
[INFO] com.capitalone.dashboard:core ...................... SUCCESS [ 25.247 s]
[INFO] com.capitalone.dashboard:api ....................... SUCCESS [ 18.000 s]
[INFO] com.capitalone.dashboard:jenkins-build-collector ... SUCCESS [ 3.711 s]
[INFO] com.capitalone.dashboard:sonar-codequality-collector SUCCESS [ 1.953 s]
[INFO] com.capitalone.dashboard:subversion-collector ...... SUCCESS [ 1.657 s]
[INFO] com.capitalone.dashboard:github-scm-collector ...... SUCCESS [ 2.065 s]
[INFO] com.capitalone.dashboard:versionone-feature-collector SUCCESS [ 5.431 s]
[INFO] com.capitalone.dashboard:udeploy-deployment-collector SUCCESS [ 3.495 s]
[INFO] com.capitalone.dashboard:jira-feature-collector .... SUCCESS [ 5.914 s]
[INFO] com.capitalone.dashboard:jenkins-cucumber-test-collector SUCCESS [ 3.707 s]
[INFO] com.capitalone.dashboard:chat-ops-collector ........ SUCCESS [ 4.538 s]
[INFO] com.capitalone.dashboard:UI ........................ FAILURE [ 3.501 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:24 min
[INFO] Finished at: 2015-12-29T01:31:41-08:00
[INFO] Final Memory: 100M/241M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.25:bower (bower install) on project UI: Failed to run task: 'bower install' failed. (error code 1) -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :UI
I do have bower install on the system.
bower --version
1.7.1
Please help..
make sure all bower packages are downloaded.. above error indicates package and dependencies are missing
I am getting below build failure. Please can someone help
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:03 min
[INFO] Finished at: 2016-02-03T06:50:30-05:00
[INFO] Final Memory: 101M/241M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.25:npm (npm install) on project UI: Failed to run task: 'npm install --color=fale' failed. (error code 137) -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn
Did u try a
Mvn clean install package?
Sent from my iPhone
On Feb 3, 2016, at 04:24, BibinCTS <[email protected]notifications@github.com> wrote:
I am getting below build failure. Please can someone help
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:03 min
[INFO] Finished at: 2016-02-03T06:50:30-05:00
[INFO] Final Memory: 101M/241M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.25:npm (npm install) on project UI: Failed to run task: 'npm install --color=fale' failed. (error code 137) -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :UI
Reply to this email directly or view it on GitHubhttps://github.com/capitalone/Hygieia/issues/249#issuecomment-179195219.
Thanks for your Reply Jim. Yes i tried. Now npm issue has gone. But i am facing issue reported below
With the reference to #192 closing this issue.
Most helpful comment
You need to use JDK. Your maven's Java home pointing to a JRE.