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

Specify maven executable to path in checked out repository

Doug Donohoe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 11, 2018

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
Marcin Gardias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 11, 2018

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.

Doug Donohoe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 11, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events