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 to manage the product lifecycle by building, automating, and improving processes with Atlassian's approach to DevOps.
Jira Automation
Reduce project complexity and optimize your team's processes through the power of automation.
Bitbucket Pipelines Configuration
Build better software and release more often by learning how to implement a CI/CD solution with Bitbucket Pipelines.