saurabhsharma09
11 years agoContributor
Set Project level properties in pom.xml using external file
Hello,
I searched in the forum but couldn't figure out how to set project level properties through external .properties file in pom.xml
though I am able to set project level properties by directly specifying values in pom.xml as below and able to run the project successfully using Maven soap UI pro Plugin:-
<configuration>
......
<projectProperties>
<value>UserName=a</value>
<value>Password=b</value>
</projectProperties>
......
<configuration>
My .properties file have values like below:-
UserName=a
Password=b
Could you please help?
Regards,
Saurabh
I searched in the forum but couldn't figure out how to set project level properties through external .properties file in pom.xml
though I am able to set project level properties by directly specifying values in pom.xml as below and able to run the project successfully using Maven soap UI pro Plugin:-
<configuration>
......
<projectProperties>
<value>UserName=a</value>
<value>Password=b</value>
</projectProperties>
......
<configuration>
My .properties file have values like below:-
UserName=a
Password=b
Could you please help?
Regards,
Saurabh