Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Maven and Java home in build definition

When creating a maven build definition, can we specify the following?

Maven home = %MAVEN_HOME%
Java home = %JAVA_HOME%


0 votes

Comments

Okay, I've tried it and it doesn't work. Is there any way of parameterizing these two fields so that when the build engine changes, one does not have to memorize the exact path of the home directories?


Accepted answer

Permanent link
 You can associate build properties to the specific engine, so you can define MAVEN_HOME at the engine level, so whenever a build definition uses that specific engine the property is already defined for the engine.  The engine properties are at the bottom of the Overview contributor of the engine.

~Spencer
Ralph Schoon selected this answer as the correct answer

1 vote

Comments

Yup that works thank you

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 562

Question asked: Aug 14 '12, 7:04 a.m.

Question was seen: 4,378 times

Last updated: Aug 15 '12, 6:25 a.m.

Confirmation Cancel Confirm