Joel Thanks for Reply!
My appologies for not asking the question correctly.
I would like to access the configurations that are set in pom file for soapui project for integrating soapui with maven. The place i would like to access them is in ProjectRunListener.beforeRun.
I am here pasting the pom file where I highlighted the items in bold.
<build>
<plugins>
<plugin>
<groupId>eviware</groupId>
<artifactId>maven-soapui-pro-plugin</artifactId>
<version>4.5.1</version>
<!-- <dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.6</version>
</dependency>
</dependencies> -->
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<projectFile>b2b/src/test/soap-ui/IHG-B2B-soapui-project.xml</projectFile>
<!--<endpoint>
http://qa.b2b.ihg.com</endpoint>--> <host>utc.b2b.ihg.com</host> <!--<environment>qa</environment>-->
<!--<testSuite>ResDirect</testSuite>
<testCase>HeartBeatTestWithToken</testCase>-->
<outputFolder>target/soap-ui/</outputFolder> <junitReport>true</junitReport>
<printReport>true</printReport>
<exportAll>true</exportAll>
<reportName>Project Report</reportName>
<reportFormat>PDF,HTML</reportFormat>
<globalProperties>
<value>environment=utc</value>
<value>resultsPath=target/soap-ui/Results/</value>
<value>resultsComparePath=target/soap-ui/ResultsComparePath/</value>
<value>testcase_src=${project.basedir}/b2b/src/test/soap-ui/</value>
</globalProperties>
<soapuiProperties>
<property>
<name>soapui.home</name>
<value>${env.SOAPUI_HOME}/bin</value>
</property>
</soapuiProperties>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Thanks and appreciate for the response.