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>
Recommended Learning For You
Level up your skills with Atlassian learning
Reporting for DevOps
Identify four key DevOps metrics and learn how to use Jira reports to track your team's progress and performance.
Explore Atlassian Cloud products for agile and DevOps
Coordinate a suite of Atlassian Cloud products for greater collaboration and trust, higher-quality solutions, faster releases, and more.
Monitor component health with scorecards in Compass
Learn what scorecards are and their purpose in measuring the health of software components and improving DevOps practices.