HI:
I have two module Server(type of jar) and Web(type of war).
The Web module need Server, however in the Server module I need to read
something from a config file(config.properties), this file is put under the
Server module, and I do not want to this file packaged to the server.jar
file, I want to it under the Web/WEB-INFO/classes .
So I use the maven-jar-plugin to exclude the config.properties, however
after I run "mvn clean install" , I found that the server.jar do not contain
the config.properties( this is just I expected), however the file do not
exist under the Web/WEB-INFO/classes.
So I want to know if there are any ways to implement my requirement?

Reply via email to