[build] mvn install in che-dev fails
See original GitHub issueDescription
I am trying to build Che locally, following the description here : https://github.com/eclipse/che/wiki/Development-Workflow#build-che-using-docker
It fails with:
...
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:43 min (Wall Clock)
[INFO] Finished at: 2017-10-11T08:12:29+00:00
[INFO] Final Memory: 307M/1717M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (build-image) on project che-dashboard-war: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "docker" (in directory "/home/user/che-build/dashboard"): error=2, No such file or directory
[ERROR] around Ant part ...<exec failonerror="true" dir="/home/user/che-build/dashboard" executable="docker">... @ 4:85 in /home/user/che-build/dashboard/target/antrun/build-main.xml
...
Reproduction Steps
- Clone Che
- checkout 5.18.0
- run
docker run -it --rm --name build-che \
-v "$HOME/.m2:/home/user/.m2" \
-v "$PWD":/home/user/che-build \
-w /home/user/che-build \
eclipse/che-dev \
mvn -DskipTests=true \
-Dfindbugs.skip=true \
-Dgwt.compiler.localWorkers=2 -T 1C \
-Dmdep.analyze.skip=true \
-Dlicense.skip=true \
clean install
OS and version:
OS X
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Failed to run maven install? - java - Stack Overflow
As per the Maven installation instructions: Maven is a Java tool, so you must have Java installed in order to proceed.
Read more >[che-dev] How to run maven build on the project eclipse/che ?
When I try to rum maven build (mvn clean install) on the project "eclipse/che" on branch: "master" I get this error : Failed...
Read more >Mvn install, tests fail - Dremio Community
When I clone dremio repository and simply try to build it: mvn install it fails. I run the tests on a Mac OX...
Read more >mvn clean install - a short guide to Maven - Marco Behler
Your build will start from a clean slate. Install will then compile, test & package your Java project and even install/copy your built...
Read more >How to Setup Maven (what is mvn clean install) - YouTube
This video explains how to set up Maven on Windows and use mvn clean install command on spring bootMicroservices Tutorials here: ...
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
FYI I’ve updated the help page on the wiki for “docker build”
ok, that seems to be it. Thanks.