Maven and Java home in build definition
![]()
Jesse Timbang (32●1●16●19)
| asked Aug 14 '12, 7:04 a.m.
edited Aug 14 '12, 8:16 a.m. by Spencer Murata (2.3k●11●59●71)
When creating a maven build definition, can we specify the following?
Maven home = %MAVEN_HOME%
Java home = %JAVA_HOME%
|
Accepted answer
![]()
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
|
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.
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?