title: CircleCi 2.0 working with project inside the subdirectory
body: <p>I am trying to integrate my <code>springboot</code> tutorial project with CircleCi.</p>
  
  <p>My project is inside a subdirectory inside a Github repository and I get the following error from CircleCi. </p>
  
  <blockquote>
    <p>Goal requires a project to execute but there is no POM in this
    directory (/home/circleci/recipe). Please verify you invoked Maven
    from the correct directory.</p>
  </blockquote>
  
  <p>I can't figure out how to tell circle-ci my project is inside a subdirectory. I have tried a couple of things, as well as trying to <code>cd</code> inside 'recipe' but it does not work or even feel right.</p>
  
  <p>Here is the structure of my project:</p>
  
  <pre><code>Spring-tutorials
   |
   +-- projectA
   |    
   +-- recipe
   |   | +--pom.xml
  </code></pre>
  
  <p>Here is my <code>config.yml</code></p>
  
  <pre class="lang-yaml prettyprint-override"><code># Java Maven CircleCI 2.0 configuration file
  #
  # Check https://circleci.com/docs/2.0/language-java/ for more details
  #
  version: 2
  jobs:
    build:
      docker:
        # specify the version you desire here
        - image: circleci/openjdk:8-jdk
  
        # Specify service dependencies here if necessary
        # CircleCI maintains a library of pre-built images
        # documented at https://circleci.com/docs/2.0/circleci-images/
        # - image: circleci/postgres:9.4
  
      working_directory: ~/recipe
  
      environment:
        # Customize the JVM maximum heap limit
        MAVEN_OPTS: -Xmx3200m
  
      steps:
        - checkout
        - run: cd recipe/; ls -la; pwd;
  
        # Download and cache dependencies
        - restore_cache:
            keys:
            - recipe-{{ checksum "pom.xml" }}
            # fallback to using the latest cache if no exact match is found
            - recipe-
  
        - run: cd recipe; mvn dependency:go-offline
  
        - save_cache:
            paths:
              - ~/recipe/.m2
            key: recipe-{{ checksum "pom.xml" }}
  
        # run tests!
        - run: mvn integration-test
  </code></pre>