I have already configured job with maven command as "clean install -Psample" (sample is my profile name in pom.xml as shown below) . But I started running the build it is giving issue as " Non-readable POM /appl/bamboo-agent/xml-data/build-dir/project/pom.xml (No such file or directory) The build could not read the project [Help 1]"

1) How to configure bamboo job to generate maven build ?
2) How to run build with "sample" profile as shown below ? Can you suggest step by step configuration ?
3) Can we run "clean install" only to generate bamboo build ?
4) How to integrate third party dependencies in build plan if we require ?
My pom.xml with "sample " profile name ::
<profile>
<id>sample</id>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<goals>
<goal>exec</goal>
</goals>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>