Must the variables to be shared across a maven:maven invokation be placed in a special context?
The following scenario behaves unexpectedly: In one of the .properties files: ext_jar_stage=[path A] In my top-level maven.xml file within a goal: <j:set var="ext_jar_stage" value="[path B]"/> <echo>Will use ${ext_jar_stage}</echo> <maven:maven description="sub_component/project.xml" goals="sub_goal"/> In the "sub_component/project.xml" file: <goal name="sub_goal"> <echo>Using ${ext_jar_stage}</echo> ... </goal> Output: Will use [path B] sub_goal: Using [path A]