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?
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.
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
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
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!
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