I am using maven as my build tool. Below is a snippet from my POM.
<properties>
<geb.version>2.2</geb.version>
<selenium.version>3.14.0</selenium.version>
<groovy.version>2.4.14</groovy.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<spock.version>1.1-groovy-2.4</spock.version>
<surefire.plugin.version>2.20</surefire.plugin.version>
<surefire.plugin.parallel>methods</surefire.plugin.parallel>
<selenium.host>XXXXX</selenium.host>
</properties>
I am writing an linux executable and I want to access <selenium.host> property in my bash script. How do I do this?
DEFAULT_ADDRESS=$(get address from POM here)
Please note that my script and POM file are in the same directory.
Cheers!