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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Specify maven executable to path in checked out repository Edited

I have a project where the maven version I'd like to use for the build is part of the project's git repository.  I'd like to define a Maven 3 executable to use the version in the checked-out repository (the one that is part of the build).

I tried to define an executable path as 

${bamboo_build_working_directory}/env/thirdparty/apache-maven-3.5.2

and

${bamboo.build.working.directory}/env/thirdparty/apache-maven-3.5.2

But it doesn't seem that the executable is being found. 

Is it possible to use Bamboo environment variables in defining an Executable?

1 answer

1 accepted

1 vote
Answer accepted

No, using variables as Executable paths is not supported.

Using relative path:

env/thirdparty/apache-maven-3.5.2

seems to work for me though, so you might want to give it a shot.

Great suggestion.  That works for me too.  Thanks for the help.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center Apps Program coming soon

G’day Bamboo customers, As we approach GA for Bamboo Data Center , we would like to inform you that the Data Center Apps Program for Bamboo starts this quarter. How long does it take? We are g...

77 views 0 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you