Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: The goal you specified requires a project to execute but there is no pom in this dir

  1. #1

    Default The goal you specified requires a project to execute but there is no pom in this dir

    "The goal you specified requires a project to execute but there is no pom in this directory"

    This directory is "blah blah blah\SpringRoo"

    I have pizza directory under "blah blah blah\SpringRoo", so the whole application is actually in this directory "blah blah blah\SpringRoo\pizza"

    But when I run perform tests, I got the "no pom in 'blah blah blah\SpringRoo' directory", but pom.xml is actuall under "blah blah blah\SpringRoo\pizza", and I ran 'roo' under "blah blah blah\SpringRoo\pizza".

    I think roo is not looking at the right directory, that is why it doesn't see pom.xml

    How can I tell roo to look into the right directory?

  2. #2

    Default

    One more thing I would like to point out, I did completely went through once with the pizza example at http://static.springsource.org/sprin...beginning.html

    It was successful, and I deleted the pizza directory, and created a new pizza, and went through the tutorial for the second time, on which the errors showed
    Last edited by SpringFollower; Apr 16th, 2012 at 02:22 AM.

  3. #3

    Default

    Capture.jpg

    here is a screenshot

  4. #4
    Join Date
    Mar 2008
    Posts
    255

    Default

    The blah blah blah doesn't make it very readable. And the screenshot is really hard to read.
    Stephane

  5. #5

    Default

    To simplified, when I ran "perform eclipse" command, i got the following error
    "Failed to execute goal org.apache.maven.plugins:maven-eclipse-plugin:2.9:clean(default-cli): Goal requires a project to execute but there is no POM in this directory (C:\SpringRoo)......"

    I don't know why it's checking C:\SpringRoo, when my application is actually in C:\SpringRoo\pizza, and POM is under C:\SpringRoo\pizza.
    Last edited by SpringFollower; Apr 18th, 2012 at 04:46 AM.

  6. #6
    Join Date
    Mar 2008
    Posts
    255

    Default

    In which directory do you run the command ?
    Stephane

  7. #7

    Default

    C:\SpringRoo\pizza
    I ran "roo" first
    Then perform eclipse

  8. #8
    Join Date
    Mar 2008
    Posts
    255

    Default

    Check in your pom.xml file if you have not a parent directive pointing to a parent pom file.
    Stephane

  9. #9

    Default

    Hello, could you show a sample section of pom.xml to where I can change what you were talking about?

  10. #10
    Join Date
    Mar 2008
    Posts
    255

    Default

    Show me the content of your pom.xml file please.

    If you have several pom.xml files then show me their directory location and their content.
    Stephane

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •