开发者

Where to put property file that is used across different modules in a multi-module maven project?

i have created a nice multi-module project using maven, but now i am wondering what the best place would be to store property files that shared accross modules. To give an example i have 4 modules all needing a log4j.properties file, do i need to put it in every mo开发者_高级运维dule or is there a central place in which to put this?


If you have a parent project, this would be the best place.

Otherwise a module that is included by each other module.

Put the log4j.properties into /src/main/resources

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜