title: Aws codebuild failed
body: <p>I have created repository and pushed the code by using aws code commit. Whenever i made changes and push it to repository,it has updated. But when i used to do build by using aws code build, it is failing bec not able to find the buildspec.yml and pom.xml.</p>
  
  <p>Please find the attachment as My yaml file(buildspec.yml) and my pom.xml file in root..</p>
  
  <p>I have tried with 2 scenarios in awscodebuild.</p>
  
  <ol>
  <li><p>buildspec.yml in my code, but it is failed in downloaded-source and indicating the error below
  CODEBUILD_SRC_DIR=/codebuild/output/src408069893/src/awsgitrepo
  CODEBUILD_SRC_DIR=/codebuild/output/src408069893/src/awsgitrepo/buildspec.yml - No such file or directory.</p></li>
  <li><p>When i tried with insert build commands in awscodebuild, it is failed and stating that</p></li>
  </ol>
  
  <p>/codebuild/output/src408069893/src/awsgitrepo/ - The goal you specified requires a project, but there is no pom in this directory. </p>
  
  <p>Both error indicating the samepath and missing files. </p>
  
  <p>So could you please let me know how to avoid this failure. Is there a way to set the path for code build to pick up the source files.Want to know about the CODEBUILD_SRC_DIR which one how to set it and the need of CODEBUILD_SRC_DIR. <a href="https://i.stack.imgur.com/ULRrt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ULRrt.png" alt="enter image description here"></a></p>