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
Atlassian DevOps essentials
Learn how to build, automate, and improve DevOps processes used for the development and delivery of software and other digital products.
Tracking and improving DevOps metrics
Make informed decisions about current and future projects and deadlines to maximize your team's productivity and keep morale high.
Exploring 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.