I hope some one can give me some options, if the Maven dont support this
issues, just tell me, That dont works.
Thanks for help.
1 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?
2 How to copy the resource files into my packaged folder in the build time?
I define my own pakcaging type just like ear but have some customer file
type process.
but sometimes, the project have some resources outside the project.
I should copy that resources to that, in ant, i just use <copy> tag it
works.
but in maven, how can i copy the file to the folder? Is the antrun plugin
can do this kind of things?