Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to create maven build on bamboo ? Unable to create build by using profile as in pom.xml

pp June 11, 2024

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]" 

sample.JPG

 

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>

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events