Hi:
I have a project containing three modules, Server,Io,and Webapp, and the
webapp is a pakcage of war, the other two are jars.
Since the web module need to read some config files,so I want to put them
under the WEB-INF/conf. However I also want to file the config files under
the Io module by using the resources *filtering*
*
*
That's to say I want to config the the parameter in the pom.xml of the Io
module,(under the module there is a config file like the following:
------------
service=${service.name}
time=${service.time}
------------
))
Then I need to use this config file in the Webapp module and it should be
put under Webapp/WEB-INF/conf.

I have seen the resource plugin in the maven site,and I found that there is
a parameter named:targetPath,I wonder if I can set this parameter as the
following:
------------------------
<resource>
<directory>src/main/java</directory>
<filtering>true</filtering>
<targetPath>???????</targetPath>(Can I set the path to other module for
example the Webapp module? if yes, how to set? Note that , this xml
fragment is under the Io module)
</resource>
-----------------------
*
*

Reply via email to