Have follwong chunk from pom.xml:
<systemProperty>
<name>axis2.config</name>
<value>file:${project.build.directory}/../../axis2.properties</value>
</systemProperty>
what does syntax for value tag mean?
/../ – is id cd .. and forwards to parent directory?
short:
../means parent direcorylong version:
file:specifies, that the followingcontent should be interpreted as a
file path.
${project.build.directory}is avariable which will be replaced by
the runtime with the actual project
build directory
/are folder separators..means parent folderaxis2.propertiesis the name of theproperties file
if you want to display the path for debugging purposes you might want to have a look at this:
http://www.avajava.com/tutorials/lessons/how-do-i-display-the-value-of-a-pom-xml-element.html
or
maven ant echoproperties task