Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:2.0.0:run (default) on project frontend-maven-plugin: 1 build failed.
See original GitHub issue[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESS
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 9.733 s
[INFO] [INFO] Finished at: 2016-06-03T08:27:49+00:00
[INFO] [INFO] Final Memory: 11M/989M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] run script verify.groovy
[INFO] Running post-build script: /frontend-maven-plugin/frontend-maven-plugin/target/it/custom-working-directory/verify.groovy
[INFO] Finished post-build script: /frontend-maven-plugin/frontend-maven-plugin/target/it/custom-working-directory/verify.groovy
[INFO] ..SUCCESS (13.1 s)
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 2, Failed: 1, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] * example project/pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Frontend Plugins ................................... SUCCESS [ 4.226 s]
[INFO] frontend-plugin-core ............................... SUCCESS [ 6.069 s]
[INFO] Maven Frontend Plugin .............................. FAILURE [02:59 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:09 min
[INFO] Finished at: 2016-06-03T08:27:49+00:00
[INFO] Final Memory: 50M/989M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:2.0.0:run (default) on project frontend-maven-plugin: 1 build failed. See console output above for details. -> [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 :frontend-maven-plugin
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
[ERROR] Failed to execute goal com.github.eirslett:frontend ...
eirslett:frontend-maven-plugin:1.0:npm (npm install) on project ui: Failed to run task: 'npm install' failed. (error code 1) -> [Help 1] org.apache.maven.
Read more >frontend maven plugin fails to execute goal - Stack Overflow
Can you try running the npm install and npm run build command directly from your project root folder and see what error you...
Read more >Solved: [ERROR] Failed to execute goal com.github.eirslett...
Solved: Hello, I am trying to create a AEM Maven archetype project named aem-magazine. When I run the build using IntelliJ it shows...
Read more >Failed to execute goal com.github.eirslett:frontend-maven ...
Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:install-node-and-yarn (install node and yarn) on project jenkins-war: Could not ...
Read more >eirslett / frontend-maven-plugin Download - JitPack
eirslett/frontend-maven-plugin ... Step 1. Add the JitPack repository to your build file ... Environment variables; Ignoring Failure; Skipping Execution.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am getting the same issue. Is there any other solution? I am using window 7.
i tried in both way running with admin and normal user. There was no internet connectivity issue.
below are the log.
[INFO] Frontend Plugins … SUCCESS [ 0.374 s] [INFO] frontend-plugin-core … SUCCESS [ 1.354 s] [INFO] Maven Frontend Plugin … FAILURE [08:14 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 08:16 min [INFO] Finished at: 2017-12-20T14:51:42-05:00 [INFO] Final Memory: 34M/350M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:2.0 .0:run (default) on project frontend-maven-plugin: 1 build failed. See console o utput above for details. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [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 rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc eption [ERROR] [ERROR] After correcting the problems, you can resume the build with the command
Found the solution. You can not run the build process as root (ie. default docker user) due to the NodeJS package bower cowardly refusing to run with elevated privileges