crawley
13 years agoOccasional Contributor
Maven and properties
I try to use some properties with soapui and try to override in maven
I use it like that in soapui :
<wsse:Username>${#TestSuite#ws.username}</wsse:Username>
<wsse:Password>${#TestSuite#ws.password}</wsse:Password>
and its work fine.
but when I try to override the value with maven it still the old value, I try many solution :
<configuration>
....
<projectProperties>
<value>ws.username=Hello World!</value>
<value>password=Hello World!</value>
<value>#TestSuite#ws.username=Hello World!</value>
<value>password=Hello World!</value>
<projectProperty>ws.password=value1</projectProperty>
<projectProperty>#TestSuite#ws.password=value1</projectProperty>
</projectProperties>
</configuration>
I try with the tag <value> or <projectProperty> but same, nothing...
Any suggestions?
I use it like that in soapui :
<wsse:Username>${#TestSuite#ws.username}</wsse:Username>
<wsse:Password>${#TestSuite#ws.password}</wsse:Password>
and its work fine.
but when I try to override the value with maven it still the old value, I try many solution :
<configuration>
....
<projectProperties>
<value>ws.username=Hello World!</value>
<value>password=Hello World!</value>
<value>#TestSuite#ws.username=Hello World!</value>
<value>password=Hello World!</value>
<projectProperty>ws.password=value1</projectProperty>
<projectProperty>#TestSuite#ws.password=value1</projectProperty>
</projectProperties>
</configuration>
I try with the tag <value> or <projectProperty> but same, nothing...
Any suggestions?
