Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pom.xml could not be located #6

Open
dchucks opened this issue Jun 17, 2019 · 0 comments
Open

pom.xml could not be located #6

dchucks opened this issue Jun 17, 2019 · 0 comments

Comments

@dchucks
Copy link

dchucks commented Jun 17, 2019

When I try to run the docker-compose up command, the pom.xml file could not be located and hence the maven command is not run.

C:\Dev\sandbox\hellokoding-courses\docker-examples\dockercompose-springboot-mysql-nginx>docker-compose up --build
Building app
Step 1/1 : FROM adoptopenjdk/maven-openjdk8
 ---> f167b3a06c25
Successfully built f167b3a06c25
Successfully tagged dockercompose-springboot-mysql-nginx_app:latest
Starting my-mysql ... done
Recreating my-app ... done
Recreating my-nginx ... done
Attaching to my-mysql, my-app, my-nginx
my-mysql | [Entrypoint] MySQL Docker Image 5.7.26-1.1.11
my-app   | [INFO] Scanning for projects...
my-app   | [INFO] ------------------------------------------------------------------------
my-app   | [INFO] BUILD FAILURE
my-app   | [INFO] ------------------------------------------------------------------------
my-app   | [INFO] Total time:  0.564 s
my-app   | [INFO] Finished at: 2019-06-17T08:23:53Z
my-app   | [INFO] ------------------------------------------------------------------------
my-app   | [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/app). Please verify you invoked Maven from the correct directory. -> [Help 1]

Do we need to copy the entire app folder first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant