Skip to content

Instantly share code, notes, and snippets.

@collinsnji
Created January 1, 2017 17:14
Show Gist options
  • Save collinsnji/b8f1201c14c8e5a67d44464efd4c9f4c to your computer and use it in GitHub Desktop.
Save collinsnji/b8f1201c14c8e5a67d44464efd4c9f4c to your computer and use it in GitHub Desktop.
hacker110@zoraya:/media/hacker110/backup/gci/omrs-master/openmrs-module-radiology$ mvn clean package docker:build
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Radiology
[INFO] Radiology API
[INFO] Radiology OMOD
[INFO] Updating license headers...
[INFO]
[INFO] >>> docker-maven-plugin:0.16.7:build (default-cli) > initialize @ radiology >>>
[INFO]
[INFO] <<< docker-maven-plugin:0.16.7:build (default-cli) < initialize @ radiology <<<
[INFO]
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ radiology-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 33 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ radiology-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 32 source files to /media/hacker110/backup/gci/omrs-master/openmrs-module-radiology/api/target/test-classes
[INFO]
[INFO] Node v4.6.0 is already installed.
[INFO] NPM 3.10.8 is already installed.
[INFO]
[INFO] --- frontend-maven-plugin:1.0:npm (npm install) @ radiology-omod ---
[INFO] Running 'npm install' in /media/hacker110/backup/gci/omrs-master/openmrs-module-radiology/omod
[INFO]
[INFO] --- frontend-maven-plugin:1.0:bower (bower install) @ radiology-omod ---
[INFO] Running 'bower install' in /media/hacker110/backup/gci/omrs-master/openmrs-module-radiology/omod
[ERROR] bower ESUDO Cannot be run with sudo
[ERROR]
[ERROR] Additional error details:
[ERROR] Since bower is a user command, there is no need to execute it with superuser permissions.
[ERROR] If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs.
[ERROR]
[ERROR] http://www.joyent.com/blog/installing-node-and-npm
[ERROR] https://gist.github.com/isaacs/579814
[ERROR]
[ERROR] You can however run a command with sudo using --allow-root option
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Radiology .......................................... SUCCESS [07:24 min]
[INFO] Radiology API ...................................... SUCCESS [24:01 min]
[INFO] Radiology OMOD ..................................... FAILURE [06:14 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 41:16 min
[INFO] Finished at: 2017-01-01T17:58:00+01:00
[INFO] Final Memory: 50M/220M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:bower (bower install) on project radiology-omod: 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 :radiology-omod
hacker110@zoraya:/media/hacker110/backup/gci/omrs-master/openmrs-module-radiology$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment