You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "sean.chen(陈思淼)" <ch...@gmail.com> on 2008/10/20 10:49:18 UTC

Can maven import some properties files outside the project?

Maven can define some resource properties in the head section using the
properties Tag just like this:
>
> <properties>
>
<tc-refund-all.version>1.0.2</tc-refund-all.version>
>
<tc-refund-domain.aid>tc-refund-domain</tc-refund-domain.aid>
>
       <properties>

I have define the configs in a my.properties file, how can I import this
config file and use it in the build process?