Recursive Build Question

Hi all!

I am very new in bamboo so here my stupid question.

I have a Project with maven dependencies. The Project has two childs defined in the maven pom. Now I want that the build first builds the childs an then the original Project.

I don't want to define three build plans for this.

Is this possible?

thanks Peter


3 answers

This widget could not be displayed.
Marcin Oles Atlassian Team Aug 03, 2015

Hi @Peter Kendlbacher,

using Maven you should be able to achieve that if you just build the parent project, e.g. using 'mvn clean install'.  It should build the child projects within it. You can try running this command in a console and see if all projects get build to verify if it works.

So you only need one build plan in Bamboo.


This widget could not be displayed.

I have now set up a multi modul project, but it is not working as expected.

The structure I have chosen is not a tree, because we have many teams in the company and every team is building independently artifacts, which should be able to be combined freely.

The structure looks like this:

comp1-app/trunk/app1 - is the multi modul parent which references the artifacts (../../../comp1/trunk/artifact1, ../../../comp2/trunk/artifact3)





In the build plan I have added a maven 3 task with the comp1-app/trunk/app1 folder as Working sub directory.

As I run the plan now I get the error, that the submodules are not found:

[ERROR]     Child module /opt/bamboo-home/xml-data/build-dir/TESTPLAN-JOB1/comp1-app/trunk/app1/../../../comp1/trunk/artifact1 of /opt/bamboo-home/xml-data/build-dir/TESTPLAN-JOB1/comp1-app/trunk/app1/pom.xml does not exist

This message appears for every modul. In my opinion somehow Maven is unsing abolute paths and not relative ones are uses.

Does anyone know how to configure Maven tu use relative Paths or do I have to change something in the Maven Plan Task?

Thanks , Regards Peter

This widget could not be displayed.

be certain you are including in each of the modules:


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

204 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you