How to use a properties file with Hudson in compilation time?

Posted by Neuquino on Stack Overflow See other posts from Stack Overflow or by Neuquino
Published on 2010-12-26T14:52:39Z Indexed on 2010/12/27 14:54 UTC
Read the original article Hit count: 237

Filed under:
|
|
|

Hi,

I have a pom.xml that uses cxf-codegen-plugin to generate a couple of WS clients.

Inside the configuration of cxf-codegen-plugin, there are the WSDL locations.

I would like to externalize those strings to a env.properties file.

I used org.codehaus.mojo's properties-maven-plugin to look inside src/main/resources/conf/app/env.properties.

How can I make Hudson to replace those properties with the apropiate host?

Thanks in advance

© Stack Overflow or respective owner

Related posts about maven-2

Related posts about properties