Skip to content

Instantly share code, notes, and snippets.

@jeffscottbrown
Created September 16, 2021 13:57
Show Gist options
  • Save jeffscottbrown/d3902ae94ec696a4530eed751723aaa5 to your computer and use it in GitHub Desktop.
Save jeffscottbrown/d3902ae94ec696a4530eed751723aaa5 to your computer and use it in GitHub Desktop.
projects $ git clone [email protected]:PacktPublishing/Building-Microservices-with-Micronaut.git
Cloning into 'Building-Microservices-with-Micronaut'...
remote: Enumerating objects: 1423, done.
remote: Counting objects: 100% (904/904), done.
remote: Compressing objects: 100% (490/490), done.
remote: Total 1423 (delta 359), reused 762 (delta 226), pack-reused 519
Receiving objects: 100% (1423/1423), 581.57 KiB | 1.88 MiB/s, done.
Resolving deltas: 100% (510/510), done.
projects $
projects $ cd Building-Microservices-with-Micronaut/Chapter11/micronaut-petclinic
micronaut-petclinic (master)$
micronaut-petclinic (master)$ head -n 4 notes.txt
ALWAYS CHECK THE TERMINAL -- SOMETIMES IT POINTS TO PREVIOUSLY OPENED PROJECT E.G. I WAS WORKIGN ON CHAPTER-9 PET-OWNER PROEJCT BUT IN TERMINAL IT PICKET CHAPTER-8 PET-OWNER
mvn clean compile jib:dockerBuild
micronaut-petclinic (master)$
micronaut-petclinic (master)$ mvn clean compile jib:dockerBuild
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.062 s
[INFO] Finished at: 2021-09-16T08:56:30-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/Users/jeffscottbrown/projects/Building-Microservices-with-Micronaut/Chapter11/micronaut-petclinic). Please verify you invoked Maven from the correct directory. -> [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/MissingProjectException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment